This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
cmd:prompt [2011/03/07 20:34] mcb30 |
cmd:prompt [2012/03/24 20:30] mcb30 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Prompt the user to press a key ====== | + | ====== Prompt user to press key ====== |
===== Synopsis ===== | ===== Synopsis ===== | ||
Line 31: | Line 31: | ||
The displayed text will be cleared when the user presses a key, or if the timeout expires. | The displayed text will be cleared when the user presses a key, or if the timeout expires. | ||
- | The keycodes used for the ''--key'' option are extended ASCII character values. The values for special keys such as ''Ctrl-B'' and ''F12'' are defined in [[http://git.ipxe.org/ipxe.git/blob/HEAD:/src/include/ipxe/keys.h|include/ipxe/keys.h]] within the iPXE source code. Some useful values are: | + | The keycodes used for the ''%%--key%%'' option are extended ASCII character values. The values for special keys such as ''Ctrl-B'' and ''F12'' are defined in [[http://git.ipxe.org/ipxe.git/blob/HEAD:/src/include/ipxe/keys.h|include/ipxe/keys.h]] within the iPXE source code. Some useful values are: |
^ Key ^ Keycode | | ^ Key ^ Keycode | |