3 ms·
ed (especially Plan9's ed which is more GUI than your old ed). 'More GUI' because it added the b[rowse] command [1]? That's a bit of a stretch! [1] http://pla
by ez77 15y ago
ed (especially Plan9's ed which is more GUI than your old ed).
'More GUI' because it added the b[rowse] command [1]? That's a bit of a stretch!
[1] http://plan9.bell-labs.com/magic/man2html/1/ed http://plan9.bell-labs.com/magic/man2html/1/ed
- dramaticus3 15y agoPerhaps he means Sam, which is a kind of GUI ed
- 4ad 15y agoAh, no, sorry. It's more GUI because Plan9 terminals allow editing everything on screen. So I can type my text in ed and then use my mouse to position the cursor somewhere up, select text, and make a change. Perhaps I should have phrased it differently, if all I cared about was ed commands I could have used Plan9's ed in conjunction with a plan9 terminal, like 9term. In UNIX I use plan9port which has a port of ed, and 9term, a terminal that acts like a Plan9 terminal.
- dramaticus3 15y ago> So I can type my text in ed and then use my mouse to position the cursor somewhere up, select text, and make a change. No you can't, not in ed on Plan9.
- p9idf 15y agoSure you can. Turn on rio's hold mode.
- dramaticus3 15y agoYes you can type away all you like but ed only reads commands from the prompt, just like a line orientated terminal.
- 4ad 15y agoYou cannot unread what was already read but with hold mode you can have a two-dimensional view of what you type and edit it at any point that wasn't read yet, that means since you started hold mode. > Even when there are newlines in the output text, 9term will not honor reads if the window is in hold mode [...] Some programs automatically turn on hold mode to simplify the editing of multi-line text; type ESC when done to allow mail to read the text.