mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-15 18:45:16 +00:00
term/terminfo: Fix the terminfo command help and documentation
Additionally, fix the terminfo spelling mistake in the GRUB development documentation. Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
parent
3a1afa19ca
commit
88e856a5b3
@ -820,7 +820,7 @@ Of video is loongson (kern/mips/loongson/init.c). Note that terminfo has
|
|||||||
to be inited in 2 stages: one before (to get at least rudimentary console
|
to be inited in 2 stages: one before (to get at least rudimentary console
|
||||||
as early as possible) and another after the heap (to get full-featured console).
|
as early as possible) and another after the heap (to get full-featured console).
|
||||||
For the input there are string of keys, terminfo and direct hardware. For string
|
For the input there are string of keys, terminfo and direct hardware. For string
|
||||||
of keys look at i386-pc (same files), for termino ieee1275 (same files) and for
|
of keys look at i386-pc (same files), for terminfo ieee1275 (same files) and for
|
||||||
hardware loongson (kern/mips/loongson/init.c and term/at_keyboard.c).
|
hardware loongson (kern/mips/loongson/init.c and term/at_keyboard.c).
|
||||||
|
|
||||||
For the timer you'll need to call grub_install_get_time_ms (...) with as sole
|
For the timer you'll need to call grub_install_get_time_ms (...) with as sole
|
||||||
|
@ -3934,7 +3934,7 @@ names active.
|
|||||||
@node terminfo
|
@node terminfo
|
||||||
@subsection terminfo
|
@subsection terminfo
|
||||||
|
|
||||||
@deffn Command terminfo [-a|-u|-v] [term]
|
@deffn Command terminfo [@option{-a}|@option{-u}|@option{-v}] [@option{-g WxH}] [term] [type]
|
||||||
Define the capabilities of your terminal by giving the name of an entry in
|
Define the capabilities of your terminal by giving the name of an entry in
|
||||||
the terminfo database, which should correspond roughly to a @samp{TERM}
|
the terminfo database, which should correspond roughly to a @samp{TERM}
|
||||||
environment variable in Unix.
|
environment variable in Unix.
|
||||||
@ -3951,6 +3951,8 @@ specifies logically-ordered UTF-8; and @option{-v} specifies
|
|||||||
emulator without bidirectional text support will display right-to-left text
|
emulator without bidirectional text support will display right-to-left text
|
||||||
in the proper order; this is not really proper UTF-8, but a workaround).
|
in the proper order; this is not really proper UTF-8, but a workaround).
|
||||||
|
|
||||||
|
The @option{-g} (@option{--geometry}) can be used to specify terminal geometry.
|
||||||
|
|
||||||
If no option or terminal type is specified, the current terminal type is
|
If no option or terminal type is specified, the current terminal type is
|
||||||
printed.
|
printed.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
@ -785,7 +785,7 @@ static grub_extcmd_t cmd;
|
|||||||
GRUB_MOD_INIT(terminfo)
|
GRUB_MOD_INIT(terminfo)
|
||||||
{
|
{
|
||||||
cmd = grub_register_extcmd ("terminfo", grub_cmd_terminfo, 0,
|
cmd = grub_register_extcmd ("terminfo", grub_cmd_terminfo, 0,
|
||||||
N_("[[-a|-u|-v] [-g WxH] TERM [TYPE]]"),
|
N_("[[-a|-u|-v] [-g WxH] [TERM] [TYPE]]"),
|
||||||
N_("Set terminfo type of TERM to TYPE.\n"),
|
N_("Set terminfo type of TERM to TYPE.\n"),
|
||||||
options);
|
options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user