From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 23 Oct 2009 07:26:34 -0400 Subject: [U-Boot] blank line repeats last command In-Reply-To: References: Message-ID: <4AE192EA.2080004@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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