9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Roman Shaposhnik <rvs@sun.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)
Date: Mon, 26 Jan 2009 20:43:23 -0800	[thread overview]
Message-ID: <9014166E-65FD-4E63-BC2E-9DD5158DB8D0@sun.com> (raw)
In-Reply-To: <4324eec68ab4bcd52cf9e8d2eaf1bd90@quanstro.net>

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 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
>
> there, fixed that for ya! ☺

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




  reply	other threads:[~2009-01-27  4:43 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23 10:03 pavel.klinkovsky
2009-01-23 10:50 ` Francisco J Ballesteros
2009-01-23 11:27   ` Pietro Gagliardi
2009-01-23 11:35 ` Pietro Gagliardi
2009-01-23 12:56 ` roger peppe
2009-01-23 14:14   ` erik quanstrom
2009-01-26 12:41     ` cej
2009-01-26 10:31   ` pavel.klinkovsky
2009-01-27  3:29   ` Roman Shaposhnik
2009-01-27  3:42     ` erik quanstrom
2009-01-27  4:43       ` Roman Shaposhnik [this message]
2009-01-27  6:35         ` Akshat Kumar
2009-01-27  6:44           ` Akshat Kumar
2009-01-27 20:01           ` Roman V. Shaposhnik
2009-01-27 20:10             ` erik quanstrom
2009-01-27 22:01               ` Roman V. Shaposhnik
2009-01-27 22:26                 ` erik quanstrom
2009-01-27 22:58                   ` sqweek
2009-01-27 23:42                     ` erik quanstrom
2009-01-28  0:35                 ` Anthony Sorace
2009-01-28  5:59                   ` lucio
2009-01-28 19:00                     ` erik quanstrom
2009-01-28 22:19                     ` Joel C. Salomon
2009-01-28 22:51                       ` Francisco J Ballesteros
2009-01-29  0:26                         ` Akshat Kumar
2009-01-29  2:09                           ` erik quanstrom
2009-01-29  8:49                             ` cej
2009-01-29 11:50                               ` Anthony Sorace
2009-01-29 13:04                                 ` roger peppe
2009-01-29 13:53                                 ` cej
2009-01-29 16:14                                   ` jimmy brisson
2009-01-29 13:53                                 ` erik quanstrom
2009-01-29 15:20                                   ` Akshat Kumar
2009-01-29 16:40                                   ` Roman V. Shaposhnik
2009-01-29 16:52                                     ` erik quanstrom
2009-01-29 17:03                                       ` Akshat Kumar
2009-01-29 17:09                                         ` Brian L. Stuart
2009-01-27  7:09     ` Russ Cox
2009-01-27 22:12       ` Roman V. Shaposhnik
2009-01-27 22:25         ` Christopher Nielsen
2009-01-27 22:31           ` Roman V. Shaposhnik
2009-01-27 22:43             ` Christopher Nielsen
2009-01-27 22:50               ` Roman V. Shaposhnik
2009-01-27 23:11                 ` Christopher Nielsen
2009-01-27 23:40                   ` Roman V. Shaposhnik
2009-01-28  3:15                     ` Christopher Nielsen
2009-01-28  7:22                     ` Eris Discordia
2009-01-27 23:01         ` sqweek
2009-01-26 10:31 ` pavel.klinkovsky
2009-01-27  3:21 ` Roman Shaposhnik
2009-01-27  9:37 ` Pavel Klinkovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9014166E-65FD-4E63-BC2E-9DD5158DB8D0@sun.com \
    --to=rvs@sun.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).