Name
tset
Synopsis
tset [options
] [type
]
Set terminal modes. Without arguments, the terminal is
reinitialized according to the TERM environment variable. tset is typically used in startup
scripts (.profile or
.login).
type is the terminal type; if preceded by a
?
, tset prompts the user to enter a
different type, if needed. Press the ENTER key to use the default
value, type. On Solaris, this command is
found is /usr/ucb. See also
reset.
Common Options
-
-
Print terminal name on standard output; useful for passing this value to TERM.
-
-e
c
Set erase character to c; default is
^H
(backspace).-
-i
c
Set interrupt character to c (default is
^C
).-
-I
Do not output terminal initialization setting.
-
-k
c
Set line-kill character to c (default is
^U
).-m
[
port
[
baudrate
]:
type
]Declare terminal specifications. port is the port type (usually
dialup
orplugboard
). tty is the terminal type; it can be preceded by?
as above. baudrate checks the port speed and can be preceded by any of these characters:
|
Port must be greater than baudrate. |
|
Port must be less than baudrate. |
|
Port must transmit at baudrate. |
|
Negate a subsequent |
|
Prompt for the terminal type. With no response, use the given type. |
-
-Q
Do not print “Erase set to” and “Kill set to” messages.
-
-r
Report the terminal type.
-
-s
Return the values of TERM assignments to shell environment. This is a commonly done via
eval 'tset -s'
(in the C shell, you would surround this with the commandsset noglob
andunset ...
Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.