From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 26 Jan 2009 20:43:23 -0800 From: Roman Shaposhnik In-reply-to: <4324eec68ab4bcd52cf9e8d2eaf1bd90@quanstro.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-id: <9014166E-65FD-4E63-BC2E-9DD5158DB8D0@sun.com> MIME-version: 1.0 Content-type: text/plain; delsp=yes; format=flowed; charset=UTF-8 Content-transfer-encoding: QUOTED-PRINTABLE References: <4324eec68ab4bcd52cf9e8d2eaf1bd90@quanstro.net> Subject: Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey) Topicbox-Message-UUID: 897d4f18-ead4-11e9-9d60-3106f5b1d025 On Jan 26, 2009, at 7:42 PM, erik quanstrom wrote: >> On a serious note: do you guys ever edit text that >> is way after the output point? > > i do. in hold mode. that's generally how i compose > email when not using acme. Yeah, that's about the only thing that is useful to me as well. The rest requires too much mousing around and in general it is quicker for me to compose the command line anew rather than trying to edit the bygones. >>> i don't think there's a really good answer (yet?) >> >> In the in the /disgusting unix/ world, you can add readline even t= o =20 >> 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 > > there, fixed that for ya! =E2=98=BA Nice, but I feel your sarcasm is misplaced. > let's list some of the crunchy stuff this requires > 1. dynamic linking > 2. and ron's favorite, link editing Wrong! Mine is statically compiled ;-) > 2.5 magic goo. how does readline know what functions to steal? Wrong! Its just all a single buffer. > 3. ttys > 4. $PATH. What's that supposed to mean? Yeah, there's PATH on UNIX. How horrible! But anyway, looks like you've goofed up on 3.5 out of 4.5 ;-) > by the way, how does quoting work in that command line? > say i want the literal argument "$1" to the socatt'ed > executable. Quoting, obviously, depends on the shell you're using. You are welcome to use rc where the quoting patterns are much more regular. Thanks, Roman.