Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ reset(1) — SunOS 1.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stty(1)

tset(1)

RESET(1)  —  USER 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’s a good idea to follow reset with tset(1)

SEE ALSO

stty(1), tset(1)

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 Release 1.1  —  Last change: 1 November 1983

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026