📄 ttytab.5
字号:
.TH TTYTAB.SH NAMEttytab \- table of login terminals.SH SYNOPSIS.B /etc/ttytab.SH DESCRIPTION.de SP.if t .sp 0.4.if n .sp..The.B ttytabfile lists all the terminal devices that one can login on. It is a simpletext file that contains lines of the form:.PP.RS.ft Iname type "getty" "init".ft R.RE.PPThe.I nameand.I typefields are simple words,.I nameis the name of the terminal device with.B /devstripped off, and.I typetells the type of terminal to initialize the.B TERMenvironment variable..PPThe.I gettyand.I initfields may name commands that are run to allow one to login on the line, orto initialize the line. Both these fields may be more than one word ifthe whole field is enclosed in double quotes..I Gettyis usually simply the word.BR getty ,the command that prints a system identification banner and allows on to typea name to log in..I Initis usually an.B sttycommand to set the baud rate and parity of a serial line..PPThe.I initfield may be omitted to indicate that no initialization is necessary, and the.I gettyfield may be left out to not start a login process. Terminals should not beleft out, because their place in the.B ttytabfile determines their slot number as returned by.BR ttyslot (3)..PPComments (introduced by #) and empty lines are ignored..SH EXAMPLEA.B ttytabfor the console, two serial lines, and a pseudo tty entry:.PP.RS.nf.ta +12 +12 +12console minix gettytty00 vt100 getty "stty 9600"tty01 dialup getty "stty 38400"ttyp0 network.fi.RE.SH ENVIRONMENT.TP 15n.B TERMTerminal type.SH NOTESIt is customary to set the type to.B dialupfor a dialin line. One can check for that name in one's.BR .profile ..SH "SEE ALSO".BR gettyent (3),.BR ttyslot (3),.BR init (8)..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -