📄 getty.8
字号:
.th GETTY VIII 2/11/75.sh NAMEgetty \*- set typewriter mode.sh SYNOPSIS.bd /etc/getty[ char ].sh DESCRIPTION.it Gettyis invokedby.it init(VIII)immediately after a typewriter is openedfollowing a dial-up.It reads the user's name and invokes the.it logincommand(I)with the name as argument.While reading the name.it gettyattempts to adapt the system to the speed and type of terminalbeing used..s3.it Initcalls.it gettywith an argument specified by the.it ttysfile entry for the typewriter line.Arguments other than `0' can be used to make.it gettytreat the line specially.Normally, itsets the speed of the interface to 300 baud,specifies that raw mode is to be used (break on every character),that echo is to be suppressed, and either parityallowed.It types the ``login:'' message,which includes the characters which put the Terminet 300terminal into full-duplex andreturn the GSI terminal to non-graphic mode.Then the user's name is read, a character at a time.If a null character is received, it is assumed to be the resultof the user pushing the ``break'' (``interrupt'') key.The speed is thenchanged to 150 baud and the ``login:'' is typed again,this time including the charactersequence which puts a Teletype 37into full-duplex.If a subsequent null character is received,the speed is changed back to 300 baud..s3The user's name is terminated by a new-line orcarriage-return character.The latter results in the system being set totreat carriage returns appropriately (see.it stty(II))..s3The user's name is scanned to see ifit contains any lower-case alphabetic characters; if not,and if the name is nonempty, thesystem is told to map any future upper-case charactersinto the corresponding lower-case characters..s3Finally, login is called with the user's name as argument..sh "SEE ALSO"init (VIII), login (I), stty (II), ttys (V).sh BUGS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -