RFC: Bootscript Changes

Bryan Kadzban bryan at kadzban.is-a-geek.net
Sat Jan 31 10:28:09 PST 2004

DJ Lucas wrote:
> Does there need to be a specific key (or key combination) pressed?
> Why not just make it easy: "Press *any* key to continue..." and then
> use 'read -n 1'?

Hmm... it does look like bash's read builtin puts the terminal into
non-line-buffered mode when you give it -n 1, so that could work.  (I
was originally thinking it would still wait until it saw a line-end.)

I guess the question is, does ash do the same thing?  I would hope so,
because that'd make it easy...

More information about the lfs-dev mailing list