Re: [U-Boot] question about repetition of some u-boot commands

2011-08-10 Thread Detlev Zundel
Hi Scott,

> On 08/09/2011 02:03 PM, Belisko Marek wrote:
>> Hi,
>> 
>> just curious. Why some commands entered to u-boot are repeated after
>> processing by pressing Enter key? Like tftp, print 
>> 
>> Thanks for clarification,
>
> It's useful for some commands like "md" that auto-advance.  It's not
> useful (and often annoying) for most others.  There's a field in the
> command descriptor that indicates whether autorepeat should be enabled
> for that command, but a lot of commands set it that shouldn't.

... patches welcome.

Cheers
  Detlev

-- 
Q: What is a compact city?
A: It's a city that can be guarded by finitely many near-sighted
   policemen.
--
DENX Software Engineering GmbH,  MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] question about repetition of some u-boot commands

2011-08-09 Thread Scott Wood
On 08/09/2011 02:03 PM, Belisko Marek wrote:
> Hi,
> 
> just curious. Why some commands entered to u-boot are repeated after
> processing by pressing Enter key? Like tftp, print 
> 
> Thanks for clarification,

It's useful for some commands like "md" that auto-advance.  It's not
useful (and often annoying) for most others.  There's a field in the
command descriptor that indicates whether autorepeat should be enabled
for that command, but a lot of commands set it that shouldn't.

-Scott

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] question about repetition of some u-boot commands

2011-08-09 Thread Belisko Marek
Hi,

just curious. Why some commands entered to u-boot are repeated after
processing by pressing Enter key? Like tftp, print 

Thanks for clarification,

marek

-- 
as simple and primitive as possible
-
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot