9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Akshat Kumar <akumar@mail.nanosouffle.net>
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 22:35:11 -0800	[thread overview]
Message-ID: <4e6ca2050901262235p2fb22460i6fb4b5ce1d15999@mail.gmail.com> (raw)
In-Reply-To: <9014166E-65FD-4E63-BC2E-9DD5158DB8D0@sun.com>

2009/1/26 Roman Shaposhnik <rvs@sun.com>:
...
> 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.
>

There are normally two cases in a rio rc window
with excessive output and commands floating
about:
(1) you want to retrieve a prior command and know
quite exactly what it is, or unique keywords to
identify it, but simply don't have the patience,
will-power, eyes, hands, whatever, to type it again
or go looking for it;
(2) you know the general output a command produced
but no clue as to what got you there, and due to
arthiritis or bleeding eyes syndrome, you cannot
be bothered to scroll up and find it, wa-wa... --
you want to retrieve a prior command.

In either case, a possible way of conveniently
retrieving ~ would be to make a script that looks
for a given keyword, of either (1) or (2), in the window's
file (/mnt/.../... -- I'm not on Plan 9 right now) containing
that scroll back information, and outputting possible
command choices in the style of /bin/kill and friends.
Then, in the case of (1), you can pipe it (or just the first
line of output, if the same command was entered
multiple times) to rc directly, or in the case of (2),
go through your choices, edit the commands, or
whatever, and `send'. This may have other benefits,
and it flows naturally from the Plan 9 style/functionality.

If I'm recycling ideas here, feel free to bitch.

normally something good comes of it anyways,
ak



  reply	other threads:[~2009-01-27  6:35 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
2009-01-27  6:35         ` Akshat Kumar [this message]
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=4e6ca2050901262235p2fb22460i6fb4b5ce1d15999@mail.gmail.com \
    --to=akumar@mail.nanosouffle.net \
    --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).