reset [ -e C ] [ -k C ] [ -i C ] [ - ] [ -s ] [ -n ] [ -I ] [ -Q ] [ -m [ Identifier ] [ TestBaudRate ] :Type ] ... [ Type ]
The reset command is a link to the tset command. If the tset command is run as the reset command, it performs the following actions before any terminal-dependent processing is done:
Any special character that is found to be NULL or -1 is reset to its default value. All flags to the tset command can be used with the reset command.
The reset command is most useful when a program dies and leaves a terminal in an undesirable state. The sequence <LF>reset<LF> (where <LF> is Ctrl-J, the line feed) may be required to get the reset command to run successfully since carriage-return might not work in this state. The <LF>reset<LF> sequence frequently will not be echoed.
|-||The name of the terminal decided upon is output to standard output. This is intended to be captured by the shell and placed in the TERM environment variable.|
|-e C||Set the erase character to the character specified by the C variable on all terminals. The default is the backspace character on the terminal, usually ^ (cedilla). The character C can either be typed directly or entered using the ^ (cedilla).|
|-I||Suppresses transmission of terminal initialization strings.|
|-i C||Is similar to the -e flag, but uses the interrupt character rather than the erase character. The C variable defaults to ^C. The ^ character can also be used for this option.|
|-k C||Is similar to the -e flag, except uses the line-kill character rather than the erase character. The C variable defaults to ^X. The kill character is left alone if -k is not specified. The ^ character can also be used for this option.|
|-mIdentifierTestbaudRate:Type||Specifies which terminal type (in the Type parameter) is usually used on the port identified in the Identifier parameter. A missing identifier matches all identifiers. You can optionally specify the baud rate in the TestBaudRate parameter.|
|-n||On systems with the Berkeley 4.3 tty driver, specifies that the new tty driver modes should be initialized for this terminal. For a CRT, the CRTERASE and CRTKILL modes are set only if the baud rate is 1200 bps or greater. See the tty file for more information.|
|-Q||Suppresses printing of the Erase set to and Kill set to messages.|
|-s||Prints the sequence of csh commands that initialize the TERM environment variable, based on the name of the terminal decided upon.|
|/usr/share/lib/terminfo/?/*||Contains the terminal capability database.|
The csh command, sh command, stty command, tset command.
The environ file, terminfo file format.
TERM Values for Different Displays and Terminals section of tty Overview for System Managers in AIX 5L Version 5.1 System Management Guide: Operating System and Devices.