Name

tset

Synopsis

tset [options] [terminal]
reset [options] [terminal]

Initialize a terminal. The terminal to be initialized is whichever is found first from the value of terminal, the value of the TERM environment variable, or the default terminal type. See also the reset command.

Options

-c

Set control characters.

-echar

Set the erase character to char.

-ichar

Set the interrupt character to char.

-I

Do not send terminal or tab initialization strings to the terminal.

-kchar

Set line-kill character to char.

-m arg

Specify a mapping from a port type to a terminal, where arg looks like this:

[port_type][operator][baud_rate][:]terminal_type

operator can be any combination of < (less than), > (greater than), @ (equal), and ! (not). The terminal type is a string (e.g., vt100 or xterm).

-q

Print the terminal type on standard output but do not initialize the terminal.

-Q

Don’t display values for the erase, interrupt, and line kill characters.

-r

Print the terminal type to standard error.

-s

Print the shell commands that initialize the TERM environment variable on standard output.

-V

Print the version of ncurses used for this program and exit.

Get Linux in a Nutshell, 6th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.