public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Read line from console
Date: Wed, 12 Feb 2014 21:26:00 -0700	[thread overview]
Message-ID: <52FC4958.5090008@boundarydevices.com> (raw)
In-Reply-To: <20140211191940.3CDF238032B@gemini.denx.de>

Thanks Wolfgang,

On 02/11/2014 12:19 PM, Wolfgang Denk wrote:
> Dear Eric,
>
> In message <52FA7158.8030703@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?
>

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").
>

Perfect.

And now that I know what I'm looking for, well documented!

Regards,


Eric

      reply	other threads:[~2014-02-13  4:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-11 18:52 [U-Boot] Read line from console Eric Nelson
2014-02-11 19:19 ` Wolfgang Denk
2014-02-13  4:26   ` Eric Nelson [this message]

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=52FC4958.5090008@boundarydevices.com \
    --to=eric.nelson@boundarydevices.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