From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 26 Jan 2009 19:29:25 -0800 From: Roman Shaposhnik In-reply-to: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-id: MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=US-ASCII Content-transfer-encoding: 7BIT References: Subject: Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey) Topicbox-Message-UUID: 896b0358-ead4-11e9-9d60-3106f5b1d025 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.