![]() |
|
|
![]() |
![]() |
HP-UX Reference > G![]() gettydefs(4)HP-UX 11i Version 2: December 2007 Update |
|
NAMEgettydefs — speed and terminal settings used by getty DESCRIPTIONThe /etc/gettydefs file contains information used by getty to set up the speed and terminal settings for a line (see getty(1M)). It supplies information on what the login prompt should look like. It also supplies the speed to try next if the user indicates the current speed is not correct by typing a Break character. Each entry in /etc/gettydefs has the following format: label# initial-flags # final-flags # login-prompt #next-label Each entry is followed by a blank line. The various fields can contain quoted characters of the form \b, \n, \c, etc., as well as \nnn, where nnn is the octal value of the desired character. The various fields are:
If getty is called without a second argument, the first entry of /etc/gettydefs is used, thus making the first entry of /etc/gettydefs the default entry. It is also used if getty cannot find the specified label. If /etc/gettydefs itself is missing, there is one entry built into the command which brings up a terminal at 300 baud. It is strongly recommended that after making or modifying /etc/gettydefs, it be run through getty with the check option to ensure that there are no errors. EXAMPLESThe following two lines show an example of 300/1200 baud toggle, which is useful for dial-up ports: 1200# B1200 HUPCL # B1200 SANE IXANY IXANY TAB3 #login: #300 300# B300 HUPCL # B300 SANE IXANY IXANY TAB3 #login: #1200 The following line shows a typical 9600 baud entry for a hard-wired connection: 9600# B9600 # B9600 SANE IXANY IXANY ECHOE TAB3 #login: #9600 |
|