Next: , Previous: setkey, Up: General commands

13.2.14 terminal

— Command: terminal [--dumb] [--no-echo] [--no-edit] [--timeout=secs] [--lines=lines] [--silent] [console] [serial] [hercules]

Select a terminal for user interaction. The terminal is assumed to be VT100-compatible unless --dumb is specified. If both console and serial are specified, then GRUB will use the one where a key is entered first or the first when the timeout expires. If neither are specified, the current setting is reported. This command is only available if GRUB is compiled with serial support. See also Serial terminal.

This may not make sense for most users, but GRUB supports Hercules console as well. Hercules console is usable like the ordinary console, and the usage is quite similar to that for serial terminals: specify hercules as the argument.

The option --lines defines the number of lines in your terminal, and it is used for the internal pager function. If you don't specify this option, the number is assumed as 24.

The option --silent suppresses the message to prompt you to hit any key. This might be useful if your system has no terminal device.

The option --no-echo has GRUB not to echo back input characters. This implies the option --no-edit.

The option --no-edit disables the BASH-like editing feature.