NAME(名称)
ttytype - 终端设备映射的默认终端类型
DESCRIPTION(描述)
/etc/ttytype 文件把termcap/terminfo中的终端类型名与tty行关联起来.每行包括一种终端类型,后面跟着空格,然后是tty名(不带 /dev/ ) 前缀.
这种关联被 tset(1) 程序用来针对用户当前的tty设置环境变量TERM为默认终端名.
这项功能设计是为了Unix微机连接的字符类终端发挥传统分时作业的特色.这在现代的Unix工作站和个人Unix机上很少使用.
EXAMPLE(示例)
/etc/ttytype 为:
-
con80x25 tty1
vt320 ttys0
FILES(相关文件)
- /etc/ttytype
- tty定义文件.
SEE ALSO(另见)
getty(1), terminfo(5), termcap(5)
#p#
NAME
ttytype - terminal device to default terminal type mapping
DESCRIPTION
The /etc/ttytype file associates termcap/terminfo 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 Unixes.
EXAMPLE
A typical /etc/ttytype is:
-
con80x25 tty1
vt320 ttys0
FILES
- /etc/ttytype
- the tty definitions file.
SEE ALSO
getty(1), terminfo(5), termcap(5)