ttytype(5)

ttytype5

Terminal device to default terminal type mapping

Overview

The /etc/ttytype file associates termcap(5) and terminfo(5) terminal type names with tty lines. Each line consists of a terminal type, followed by whitespace, followed by a tty name (a device name without the /dev/ prefix).

This association is used by the program tset(1) to set the environment variable TERM to the default terminal name for the user's current tty.

This facility was designed for a traditional time-sharing environment featuring character-cell terminals hardwired to a UNIX minicomputer. It is little used on modern workstation and personal UNIX systems.

Files

/etc/ttytype

the tty definitions file.

Examples

A typical /etc/ttytype is:

con80x25 tty1
vt320 ttys0

Releases

8 releases since Debian 1.1 (Buzz); the text changed 6 times.

  1. 1.1–1.2
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.