Como Configurar Terminales Texto en Linux
Como Configurar Terminales Texto en Linux
Commands SETTERM(1)
NAME
setterm - set terminal attributes
SYNOPSIS
setterm [options]
DESCRIPTION
setterm writes to standard output a character string that will invoke the
specified terminal capabilities. Where possible terminfo is consulted to find the
string to use. Some options however (marked "virtual consoles only" below)
do not correspond to a terminfo(5) capability. In this case, if the terminal
type is "con" or "linux" the string that invokes the specified
capabilities on the PC Minix virtual console driver is output. Options that are
not imple‐
mented by the terminal are ignored.
OPTIONS
For boolean options (on or off), the default is on.
-append [1-NR_CONS]
Like -dump, but appends to the snapshot file instead of overwriting
it. Only works if no -dump options are given.
-blength [0-2000]
Sets the bell duration in milliseconds. Without an argument,
defaults to 0.
-blink [on|off]
Turns blink mode on or off. Except at a virtual console, -blink off
turns off all attributes (bold, half-brightness, blink, reverse).
-bold [on|off]
Turns bold (extra bright) mode on or off. Except at a virtual
console, -bold off turns off all attributes (bold, half-brightness, blink,
reverse).
-clear [all]
Clears the screen and "homes" the cursor, as clear(1).
-clear rest
Clears from the current cursor position to the end of the screen.
-cursor [on|off]
Turns the terminal's cursor on or off.
-default
Sets the terminal's rendering options to the default values.
-dump [1-NR_CONS]
Writes a snapshot of the given virtual console (with attributes) to
the file specified in the -file option, overwriting its contents; the default is
screen.dump. Without an argument, dumps the current virtual console.
Overrides -append.
-append [1-NR_CONS]
Like -dump, but appends to the snapshot file instead of overwriting
it. Only works if no -dump options are given.
-file dumpfilename
Sets the snapshot file name for any -dump or -append options on the
same command line. If this option is not present, the default is screen.dump in
the current directory. A path name that exceeds system maximum will
be truncated, see PATH_MAX from linux/limits.h for the value.
-underline [on|off]
Turns underline mode on or off (see -ulcolor).
-powersave [off]
Turns off monitor VESA powersaving features.
-powersave on|vsync
Puts the monitor into VESA vsync suspend mode.
-powersave powerdown
Puts the monitor into VESA powerdown mode.
-powersave hsync
Puts the monitor into VESA hsync suspend mode.
-reset Displays the terminal reset string, which typically resets the
terminal to its power on state.
-reverse [on|off]
Turns reverse video mode on or off. Except at a virtual console,
-reverse off turns off all attributes (bold, half-brightness, blink, reverse).
-term terminal_name
Overrides the TERM environment variable.
-version
Output version information and exit.
SEE ALSO
tput(1), stty(1), terminfo(5), tty(4)
BUGS
Differences between the Minix and Linux versions are not documented.
AVAILABILITY
The setterm command is part of the util-linux package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux January
2000 SETTERM(1)