agetty | Début | Suivant | Sommaire | Préc.page.lue | Accueil |
NAME | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
SYNOPSIS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
DESCRIPTION | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
agetty has several non-standard features that are useful for hard-wired and for dial-in lines:
This program does not use the /etc/gettydefs (System V) or /etc/gettytab (SunOS 4) files.
ARGUMENTS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Under System V, a "-" port argument should be preceded by a "--".
Baud rates should be specified in descending order, so that the null character (Ctrl-@) can also be used for baud rate switching.
OPTIONS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Since the -m feature may fail on heavily-loaded systems, you still should enable BREAK processing by enumerating all expected baud rates on the command line.
EXAMPLES | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
For a hard-wired line or a console tty:
/sbin/agetty 9600 ttyS1
For a directly connected terminal without proper carriage detect wiring:
(try this if your terminal just sleeps instead of giving you a password:
prompt.)
/sbin/agetty -L 9600 ttyS1 vt100
For a old style dial-in line with a 9600/2400/1200 baud modem:
/sbin/agetty -mt60 ttyS1 9600,2400,1200
For a Hayes modem with a fixed 115200 bps interface to the machine:
(the example init string turns off modem echo and result codes, makes
modem/computer DCD track modem/modem DCD, makes a DTR drop cause a
dis-connection and turn on auto-answer after 1 ring.)
/sbin/agetty -w -I 'ATE0Q1&D2&C1S0=1\015' 115200 ttyS1
ISSUE ESCAPES | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
This is \n.\o (\s \m \r) \t
FILES | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
/var/run/utmp, the system status file. /etc/issue, printed before the login prompt. /dev/console, problem reports (if syslog(3) is not used). /etc/inittab, init(8) configuration file.
BUGS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
The text in the /etc/issue file (or other) and the login prompt are always output with 7-bit characters and space parity.
The baud-rate detection feature (the -m option) requires that the modem emits its status message after raising the DCD line.
DIAGNOSTICS | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
AUTHOR(S) | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
W.Z. Venema <wietse@wzv.win.tue.nl> Eindhoven University of Technology Department of Mathematics and Computer Science Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands Peter Orbaek <poe@daimi.aau.dk> Linux port and more options. Still maintains the code. Eric Rasmussen <ear@usfirst.org> Added -f option to display custom login messages on different terminals.
AVAILABILITY | Début | Précédent | Suivant | Sommaire | Préc.page.lue | Accueil |
Sommaire | Début | Suivant | Sommaire | Préc.page.lue | Accueil |