public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] blank line repeats last command
Date: Fri, 23 Oct 2009 07:26:34 -0400	[thread overview]
Message-ID: <4AE192EA.2080004@ge.com> (raw)
In-Reply-To: <memo.20091023115619.2092P@postmaster+dexdyne.com.cix.co.uk>

David Collier wrote:
> Now I've turned on command history, if I hit "return" on a blank line it
> is the same as hitting up arrow and return - in other words it repeats
> the last command.

(for a subset of commands)

> That isn't helpful behaviour to my mind.
> 
> David Collier

That is intentional behavior and has been that way (nearly) forever.  It 
is configured via the command definition macro on a per-command basis. 
"Dangerous" commands do *not* repeat, commands that may be useful to 
repeat (e.g. displaying memory) do.

Hey, you were just complaining that you had to retype the IP address for 
repeated pings - now you are complaining that you don't have to type 
anything to repeat a command.  Make up you mind if you want shortcuts or 
not!  :-P

Best regards,
gvb

  reply	other threads:[~2009-10-23 11:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 10:56 [U-Boot] blank line repeats last command David Collier
2009-10-23 11:26 ` Jerry Van Baren [this message]
2009-10-23 11:49   ` David Collier
2009-10-23 11:55     ` Jerry Van Baren
2009-10-23 18:48       ` Frank Svendsbøe
2009-10-23 18:59         ` Scott Wood
2009-10-23 19:27           ` Peter Tyser
2009-10-23 13:46 ` Wolfgang Denk

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=4AE192EA.2080004@ge.com \
    --to=gerald.vanbaren@ge.com \
    --cc=u-boot@lists.denx.de \
    /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