RESET(1) — User’s Manual — Commands
NAME
reset − reset the teletype bits to a sensible state
SYNOPSIS
reset
DESCRIPTION
Reset sets the terminal to cooked mode, turns off cbreak and raw modes, turns on nl, and restores special characters that are undefined to their default values.
This is most useful after a program dies leaving a terminal in a funny state; you have to type “<LF>reset<LF>” to get it to work then to the shell, as <CR> often doesn’t work; often none of this will echo.
It isn’t a bad idea to follow reset with tset(1)
SEE ALSO
BUGS
Doesn’t set tabs properly; it can’t intuit personal choices for interrupt and line kill characters, so it leaves these the standard settings which are ^H (backspace) for erase character, ^U for line kill character, and ^C for interrupt character.
It could well be argued that the shell should be responsible for ensuring that the terminal remains in a sane state; this would eliminate the need for this program.
Sun System Release 0.3 — 29 April 1983