Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stty(1)

tset(1)

reset(1)

Name

reset − reset terminal mode

Syntax

reset

Description

The reset command 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. The reset command also clears the LLITOUT bit in the local mode word.

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 is a good idea to follow reset with tset()

Restrictions

Doesn’t set tabs properly.  It can’t interpret choices for interrupt and line kill characters, so it leaves these set to the local system standards. 

See Also

stty(1), tset(1)

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