[U-Boot] Read line from console

Wolfgang Denk wd at denx.de
Tue Feb 11 20:19:40 CET 2014


Dear Eric,

In message <52FA7158.8030703 at boundarydevices.com> you wrote:
> 
> Is there any facility for reading a line of text from the console,
> so we can prompt a user?

Do you mean in C code, or as CLI command?

> I feel certain there must be a way to read a string into a
> variable, but can't seem to find one...

The first would be readline(), the second "env ask" (or "askenv").

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hindsight is an exact science.


More information about the U-Boot mailing list