9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: blstuart@bellsouth.net
To: 9fans@9fans.net
Subject: Re: [9fans] Shall we fix the use of Up/Dn arrows?
Date: Sat, 23 Jan 2010 11:13:03 -0600	[thread overview]
Message-ID: <b581a310ecd9daedd9b4e9e6b4b23b43@bellsouth.net> (raw)
In-Reply-To: <a560a5d01001230452p35494b9fle8b10223b8045861@mail.gmail.com>

> What I'd appreciate, from the user's point of view, would be some kind
> of history mechanism tied to the up/down keys in rio/win (where I
> interact with a shell), up arrow bringing up the last command e.g.,
> and a normal movement behaviour when editing a 'text' file (no direct
> interaction with the shell, where 'enter' is just a newline).

Please no!  I am constantly having to figure out how to turn off
that misfeature in this week's version of bash.  Maybe it only
happens once in 1000 times, but in that 0.1% of the time, my
finger coming down on the return key accidentally hits the up
arrow and the timing just so happens that I rerun the previous
command instead of the one I just typed, sometimes with very
unpleasant consqeuences.  I should point out that this of course
is primarily an issue with laptops and other small keyboard
designs.  Of course, those are the only ones I like to use...

If one really wants to give the shell some kind of previous
command shortcut, then stick with the EMACS ^p or the old
C-shell !! (the former, of course, allowing you to scroll through
the history if that is what is desired).

As for up-arrow moving up a line, this comes up from time to
time.  It's primary usefulness is in editors.  But in a proportional
font, what exactly does moving up a line mean?  Move to the
position that is the same number of characters from the beginning
of the line?  Move to the same geometric position?  What if that
position is in the middle of a character?  No one ever seems to
float a proposal that hits everyone as having "the ring of truth."
I have thought there could be some usefulness in this, but I
haven't thought of a policy that is so beautiful it draws me to
the source to code it.

As with any proposal like this, if it's what you want, then implement
it.  Put it out there and if enough others like it too, it may find
its way into general use.  If not, you still have the functionality
that you want.

BLS




  parent reply	other threads:[~2010-01-23 17:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-23  9:15 Yi DAI
2010-01-23  9:35 ` Akshat Kumar
2010-01-23  9:59 ` Bela Valek
2010-01-23 10:21 ` John Stalker
2010-01-23 14:29   ` Patrick Kelly
2010-01-23 12:37 ` cinap_lenrek
2010-01-23 12:52 ` Rudolf Sykora
2010-01-23 13:07   ` Yi DAI
2010-01-23 17:13   ` blstuart [this message]
2010-01-23 19:01     ` Rudolf Sykora
2010-01-25 17:20       ` maht
2010-01-26 11:50         ` Rudolf Sykora
2010-01-26 12:26           ` yy
2010-01-26 12:34           ` Robert Raschke
2010-01-26 14:16             ` erik quanstrom
2010-01-23 19:10 ` Russ Cox
2010-01-23 19:25   ` Rudolf Sykora
2010-01-24  0:53     ` Russ Cox
2010-01-24  7:08 ` Frederik Caulier
2010-01-24  9:08   ` Yi DAI
2010-01-24 18:03 ` Tim Newsham
2010-01-24 22:28   ` Charles Forsyth
2010-01-24 18:41 ` John Floren
2010-01-25  9:46 ` 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=b581a310ecd9daedd9b4e9e6b4b23b43@bellsouth.net \
    --to=blstuart@bellsouth.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).