Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah, 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.



> 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.


Sure you can. Turn on rio's hold mode.


Yes you can type away all you like but ed only reads commands from the prompt, just like a line orientated terminal.


You 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: