On Jan 23, 2009, at 4:56 AM, roger peppe wrote:
one problem with this approach is that you won't be able
to use mouse editing as usual on the command line,
as the program grabs each keystroke as it's typed.
Do you enjoy mouse editing? May be I'm just an old
TTY junkie, but for me mouse is a device that lets me
switch between Xterms with screens(1) in them ;-)
On a serious note: do you guys ever edit text that
is way after the output point?
i don't think there's a really good answer (yet?)
In the TTY world, you can add readline even to the
things that don't use it:
% socat READLINE EXEC:'ftp ftp.sun.com',pty,setsid,ctty
More on this here:
http://www.dest-unreach.org/socat/doc/socat.html#EXAMPLES
Thanks,
Roman.