]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - term-utils/agetty.8
Manual pages: Standardize on EXAMPLE as section title
[thirdparty/util-linux.git] / term-utils / agetty.8
index ad0bfa02b2bdf0e46dc6e346e0c6c7ab84e71ce6..c8d9796c503b36418689edb19cc9327e794ac2d6 100644 (file)
@@ -1,13 +1,11 @@
-.TH AGETTY 8 "May 2011" "util-linux" "System Administration"
+.TH AGETTY 8 "February 2016" "util-linux" "System Administration"
 .SH NAME
 agetty \- alternative Linux getty
 
 .SH SYNOPSIS
 .B agetty
-.RB [ options ]
-.I port
-.RI [ baud_rate ...]
-.RI [ term ]
+[options]
+.IR port " [" baud_rate "...] [" term ]
 
 .SH DESCRIPTION
 .ad
@@ -21,10 +19,10 @@ for hardwired and for dial-in lines:
 Adapts the tty settings to parity bits and to erase, kill,
 end-of-line and uppercase characters when it reads a login name.
 The program can handle 7-bit characters with even, odd, none or space
-parity, and 8-bit characters with no parity. The following special
+parity, and 8-bit characters with no parity.  The following special
 characters are recognized: Control-U (kill); DEL and
 backspace (erase); carriage return and line feed (end of line).
-See also the \fB\-\-erase-chars\fP and \fB\-\-kill-chars\fP options.
+See also the \fB\-\-erase\-chars\fP and \fB\-\-kill\-chars\fP options.
 .IP \(bu
 Optionally deduces the baud rate from the CONNECT messages produced by
 Hayes(tm)-compatible modems.
@@ -34,14 +32,14 @@ Optionally does not hang up when it is given an already opened line
 .IP \(bu
 Optionally does not display the contents of the \fI/etc/issue\fP file.
 .IP \(bu
-Optionally displays an alternative issue file instead of \fI/etc/issue\fP.
+Optionally displays an alternative issue files or directories instead of \fI/etc/issue\fP or \fI/etc/issue.d\fP.
 .IP \(bu
 Optionally does not ask for a login name.
 .IP \(bu
 Optionally invokes a non-standard login program instead of
 \fI/bin/login\fP.
 .IP \(bu
-Optionally turns on hardware flow control
+Optionally turns on hardware flow control.
 .IP \(bu
 Optionally forces the line to be local with no need for carrier detect.
 .PP
@@ -53,8 +51,8 @@ This program does not use the \fI/etc/gettydefs\fP (System V) or
 .fi
 .ad
 .TP
-port
-A path name relative to the \fI/dev\fP directory. If a "\-" is
+.I port
+A path name relative to the \fI/dev\fP directory.  If a "\-" is
 specified, \fBagetty\fP assumes that its standard input is
 already connected to a tty port and that a connection to a
 remote user has already been established.
@@ -62,19 +60,21 @@ remote user has already been established.
 Under System V, a "\-" \fIport\fP argument should be preceded
 by a "\-\-".
 .TP
-baud_rate,...
-A comma-separated list of one or more baud rates. Each time
+.IR baud_rate ,...
+A comma-separated list of one or more baud rates.  Each time
 \fBagetty\fP receives a BREAK character it advances through
 the list, which is treated as if it were circular.
 .sp
 Baud rates should be specified in descending order, so that the
 null character (Ctrl\-@) can also be used for baud-rate switching.
 .sp
-This argument is optional and unnecessary for virtual terminals.
-The default for serial terminals is '9600'.
+This argument is optional and unnecessary for \fBvirtual terminals\fP.
+.sp
+The default for \fBserial terminals\fP is keep the current baud rate
+(see \fB\-\-keep\-baud\fP) and if unsuccessful then default to '9600'.
 .TP
-term
-The value to be used for the TERM environment variable. This overrides
+.I term
+The value to be used for the TERM environment variable.  This overrides
 whatever init(8) may have set, and is inherited by login and the shell.
 .sp
 The default is 'vt100', or 'linux' for Linux on a virtual terminal,
@@ -89,39 +89,62 @@ or 'hurd' for GNU Hurd on a virtual terminal.
 Assume that the tty is 8-bit clean, hence disable parity detection.
 .TP
 \-a, \-\-autologin \fIusername\fP
-Log the specified user automatically in without asking for a login name and
-password. The \-f \fIusername\fP option is added to the \fB/bin/login\fP
-command line by default. The \-\-login-options option changes this default
-behaviour and then only \\u is replaced by the \fIusername\fP and no other
-option is added to the login command line.
+Automatically log in the specified user without asking for a username or password.
+Using this option causes an \fB\-f \fIusername\fR option and argument to be
+added to the \fB/bin/login\fP command line.  See \fB\-\-login\-options\fR, which
+can be used to modify this option's behavior.
+
+Note that \fB\-\-autologin\fP may affect the way how agetty initializes the
+serial line, because on auto-login agetty does not read from the line and it
+has no opportunity optimize the line setting.
 .TP
 \-c, \-\-noreset
-Don't reset terminal cflags (control modes).  See \fBtermios\fP(3) for more
+Do not reset terminal cflags (control modes).  See \fBtermios\fP(3) for more
 details.
 .TP
 \-E, \-\-remote
-If an \fB\-H\fP \fIfakehost\fP option is given, then an \fB\-r\fP
-\fIfakehost\fP option is added to the \fB/bin/login\fP command line.
-.TP
-\-f, \-\-issue\-file \fIissue_file\fP
-Display the contents of \fIissue_file\fP instead of \fI/etc/issue\fP.
-This allows custom messages to be displayed on different terminals.
-The \-i option will override this option.
+Typically the \fBlogin\fP(1) command is given a remote hostname when
+called by something such as \fBtelnetd\fP(8).  This option allows \fBagetty\fP
+to pass what it is using for a hostname to \fBlogin\fP(1) for use
+in \fButmp\fP(5).  See \fB\-\-host\fP, \fBlogin\fP(1), and \fButmp\fP(5).
+.IP
+If the \fB\-\-host\fP \fIfakehost\fP option is given, then an \fB\-h\fP
+\fIfakehost\fP option and argument are added to the \fB/bin/login\fP
+command line.
+.IP
+If the \fB\-\-nohostname\fR option is given, then an \fB\-H\fP option
+is added to the \fB/bin/login\fP command line.
+.IP
+See \fB\-\-login\-options\fR.
+.TP
+\-f, \-\-issue\-file \fIpath\fP
+Specifies a ":" delimited list of files and directories to be displayed instead
+of \fI/etc/issue\fP (or other).  All specified files and directories are displayed,
+missing or empty files are silently ignored.   If the specified path is a
+directory then display all files with .issue file extension in version-sort
+order from the directory.  This allows custom messages to be displayed on
+different terminals.  The \fB\-\-noissue\fP option will override this option.
+.TP
+\-\-show\-issue
+Display the current issue file (or other) on the current terminal and exit.
+Use this option to review the current setting, it is not designed for any other
+purpose.  Note that output may use some default or incomplete information as
+proper output depends on terminal and agetty command line.
 .TP
 \-h, \-\-flow\-control
-Enable hardware (RTS/CTS) flow control. It is left up to the
+Enable hardware (RTS/CTS) flow control.  It is left up to the
 application to disable software (XON/XOFF) flow protocol where
 appropriate.
 .TP
-\-H, \-\-host \fIlogin_host\fP
-Write the specified \fIlogin_host\fP into the utmp file.  (Normally,
+\-H, \-\-host \fIfakehost\fP
+Write the specified \fIfakehost\fP into the utmp file.  Normally,
 no login host is given, since \fBagetty\fP is used for local hardwired
-connections and consoles. However, this option can be useful for
-identifying terminal concentrators and the like.)
+connections and consoles.  However, this option can be useful for
+identifying terminal concentrators and the like.
 .TP
 \-i, \-\-noissue
 Do not display the contents of \fI/etc/issue\fP (or other) before writing the
-login prompt. Terminals or communications hardware may become confused
+login prompt.  Terminals or communications hardware may become confused
 when receiving lots of text at the wrong baud rate; dial-up scripts
 may fail if the login prompt is preceded by too much text.
 .TP
@@ -131,57 +154,79 @@ anything else.  This may be used to initialize a modem.  Non-printable
 characters may be sent by writing their octal code preceded by a
 backslash (\\).  For example, to send a linefeed character (ASCII 10,
 octal 012), write \\012.
-.PP
+.TP
+\-J, \-\-noclear
+Do not clear the screen before prompting for the login name.
+By default the screen is cleared.
 .TP
 \-l, \-\-login\-program \fIlogin_program\fP
-Invoke the specified \fIlogin_program\fP instead of /bin/login.
-This allows the use of a non-standard login program (for example,
-one that asks for a dial-up password or that uses a different
-password file).
+Invoke the specified \fIlogin_program\fP instead of /bin/login.  This allows
+the use of a non-standard login program.  Such a program could, for example,
+ask for a dial-up password or use a different password file. See
+\fB\-\-login\-options\fP.
 .TP
 \-L, \-\-local\-line[=\fImode\fP]
 Control the CLOCAL line flag.  The optional \fImode\fP argument is 'auto', 'always' or 'never'.
 If the \fImode\fP argument is omitted, then the default is 'always'.  If the
 \-\-local\-line option is not given at all, then the default is 'auto'.
-
-The \fImode\fP 'always' forces the line to be a local line with no need for carrier detect.
-This can be useful when you have a locally attached terminal where the serial line
-does not set the carrier-detect signal.
-
-The \fImode\fP 'never' explicitly clears the CLOCAL flag from the line setting and
-the carrier-detect signal is expected on the line.
-
-The \fImode\fP 'auto' (agetty default) does not modify the CLOCAL setting
-and follows the setting enabled by the kernel.
+.PP
+.RS
+.PD 1
+.TP
+\fIalways\fR
+Forces the line to be a local line with no need for carrier detect.  This
+can be useful when you have a locally attached terminal where the serial
+line does not set the carrier-detect signal.
+.TP
+\fInever\fR
+Explicitly clears the CLOCAL flag from the line setting and the
+carrier-detect signal is expected on the line.
+.TP
+\fIauto\fR
+The \fBagetty\fR default.  Does not modify the CLOCAL setting and follows
+the setting enabled by the kernel.
+.PD
+.RE
 .TP
 \-m, \-\-extract\-baud
 Try to extract the baud rate from the CONNECT status message
-produced by Hayes(tm)\-compatible modems. These status
+produced by Hayes(tm)\-compatible modems.  These status
 messages are of the form: "<junk><speed><junk>".
 \fBagetty\fP assumes that the modem emits its status message at
 the same speed as specified with (the first) \fIbaud_rate\fP value
 on the command line.
 .sp
-Since the \fB\-m\fP feature may fail on heavily-loaded systems,
-you still should enable BREAK processing by enumerating all
+Since the \fB\-\-extract\-baud\fP feature may fail on heavily-loaded
+systems, you still should enable BREAK processing by enumerating all
 expected baud rates on the command line.
-.TP 
+.TP
+\-\-list\-speeds
+Display supported baud rates.  These are determined at compilation time.
+.TP
 \-n, \-\-skip\-login
-Do not prompt the user for a login name. This can be used in
-connection with the \fB\-l\fP option to invoke a non-standard login process such
-as a BBS system. Note that with the \-n option, \fBagetty\fR gets no input from
-the user who logs in and therefore won't be able to figure out parity,
-character size, and newline processing of the connection. It defaults to 
-space parity, 7 bit characters, and ASCII CR (13) end-of-line character.
-Beware that the program that \fBagetty\fR starts (usually /bin/login)
-is run as root.
+Do not prompt the user for a login name.  This can be used in connection
+with the \fB\-\-login\-program\fP option to invoke a non-standard login
+process such as a BBS system.  Note that with the \fB\-\-skip\-login\fR
+option, \fBagetty\fR gets no input from the user who logs in and therefore
+will not be able to figure out parity, character size, and newline
+processing of the connection.  It defaults to space parity, 7 bit
+characters, and ASCII CR (13) end-of-line character.  Beware that the
+program that \fBagetty\fR starts (usually /bin/login) is run as root.
+.TP
+\-N, \-\-nonewline
+Do not print a newline before writing out /etc/issue.
 .TP
 \-o, \-\-login\-options "\fIlogin_options\fP"
-Options  that  are passed to the login program.  \\u is replaced
-by the login name. The default \fB/bin/login\fP command line
-is "/bin/login -- <username>".
-
-Please read the SECURITY NOTICE below if you want to use this.
+Options  and arguments that  are passed to \fBlogin\fP(1). Where \\u is
+replaced by the login name. For example:
+.RS
+.IP "" 4
+.B "\-\-login\-options '-h darkstar -- \\\u'"
+.PP
+See \fB\-\-autologin\fR, \fB\-\-login\-program\fR and \fB\-\-remote\fR.
+.PP
+Please read the SECURITY NOTICE below before using this option.
+.RE
 .TP
 \-p, \-\-login\-pause
 Wait for any key before dropping to the login prompt.  Can be combined
@@ -194,13 +239,14 @@ Change root to the specified directory.
 Call vhangup() to do a virtual hangup of the specified terminal.
 .TP
 \-s, \-\-keep\-baud
-Try to keep the existing baud rate. The baud rates from
-the command line are used when agetty receives a BREAK character.
+Try to keep the existing baud rate.  The baud rates from the command line are
+used when agetty receives a BREAK character.  If another baud rates specified
+then the original baud rate is also saved to the end of the wanted baud rates
+list.  It allows to return to the original baud rate after unexpected BREAKs.
 .TP
 \-t, \-\-timeout \fItimeout\fP
-Terminate if no user name could be read within \fItimeout\fP
-seconds.  This option should probably not be used with hardwired
-lines.
+Terminate if no user name could be read within \fItimeout\fP seconds.
+Use of this option with hardwired terminal lines is not recommended.
 .TP
 \-U, \-\-detect\-case
 Turn on support for detecting an uppercase-only terminal.  This setting
@@ -210,27 +256,21 @@ Note that this has no support for any Unicode characters.
 .TP
 \-w, \-\-wait\-cr
 Wait for the user or the modem to send a carriage-return or a
-linefeed character before sending the \fI/etc/issue\fP (or other) file
-and the login prompt. Very useful in connection with the \-I option.
-.TP
-\-\-noclear
-Do not clear the screen before prompting for the login name
-(the screen is normally cleared).
+linefeed character before sending the \fI/etc/issue\fP file (or others)
+and the login prompt.  This is useful with the \fB\-\-init\-string\fP
+option.
 .TP
 \-\-nohints
 Do not print hints about Num, Caps and Scroll Locks.
 .TP
-\-\-nonewline
-Do not print a newline before writing out /etc/issue.
-.TP
 \-\-nohostname
 By default the hostname will be printed.  With this option enabled,
 no hostname at all will be shown.
 .TP
 \-\-long\-hostname
 By default the hostname is only printed until the first dot.  With
-this option enabled, the fully qualified hostname by gethostname()
-or (if not found) by getaddrinfo() is shown.
+this option enabled, the fully qualified hostname by \fBgethostname\fR(3P)
+or (if not found) by \fBgetaddrinfo\fR(3) is shown.
 .TP
 \-\-erase\-chars \fIstring\fP
 This option specifies additional characters that should be interpreted as a
@@ -244,13 +284,28 @@ kill ("ignore all previous characters") when the user types the login name.
 The default additional \'kill\' has been \'@\', but since util-linux 2.23
 no additional kill characters are enabled by default.
 .TP
+\-\-chdir \fIdirectory\fP
+Change directory before the login.
+.TP
+\-\-delay \fInumber\fP
+Sleep seconds before open tty.
+.TP
+\-\-nice \fInumber\fP
+Run login with this priority.
+.TP
+\-\-reload
+Ask all running agetty instances to reload and update their displayed prompts,
+if the user has not yet commenced logging in.  After doing so the command will
+exit.  This feature might be unsupported on systems without Linux
+.BR inotify (7).
+.TP
 \-\-version
 Display version information and exit.
 .TP
 \-\-help
 Display help text and exit.
 .PP
-.SH EXAMPLES
+.SH EXAMPLE
 This section shows examples for the process field of an entry in the
 \fI/etc/inittab\fP file.  You'll have to prepend appropriate values
 for the other fields.  See \fIinittab(5)\fP for more details.
@@ -258,7 +313,7 @@ for the other fields.  See \fIinittab(5)\fP for more details.
 For a hardwired line or a console tty:
 
 .RS
-/sbin/agetty 9600 ttyS1
+.B /sbin/agetty\ 9600\ ttyS1
 .RE
 
 For a directly connected terminal without proper carrier-detect wiring
@@ -266,51 +321,76 @@ For a directly connected terminal without proper carrier-detect wiring
 prompt):
 
 .RS
-/sbin/agetty \-L 9600 ttyS1 vt100
+.B /sbin/agetty\ \-\-local\-line\ 9600\ ttyS1\ vt100
 .RE
 
 For an old-style dial-in line with a 9600/2400/1200 baud modem:
 
 .RS
-/sbin/agetty \-mt60 ttyS1 9600,2400,1200
+.B /sbin/agetty\ \-\-extract\-baud\ \-\-timeout\ 60\ ttyS1\ 9600,2400,1200
 .RE
 
 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 
+modem/computer DCD track modem/modem DCD, makes a DTR drop cause a
 disconnection, and turns on auto-answer after 1 ring):
 
-.RS
-/sbin/agetty \-w \-I 'ATE0Q1&D2&C1S0=1\\015' 115200 ttyS1
+.ie n .RS 0
+.el .RS
+.B /sbin/agetty\ \-\-wait\-cr\ \-\-init\-string\ 'ATE0Q1&D2&C1S0=1\\015'\ 115200\ ttyS1
 .RE
 
 .SH SECURITY NOTICE
 If you use the \fB\-\-login\-program\fP and \fB\-\-login\-options\fP options,
 be aware that a malicious user may try to enter lognames with embedded options,
-which then get passed to the used login program. Agetty does check
+which then get passed to the used login program.  Agetty does check
 for a leading "\-" and makes sure the logname gets passed as one parameter
 (so embedded spaces will not create yet another parameter), but depending
 on how the login binary parses the command line that might not be sufficient.
-Check that the used login program can not be abused this way.
+Check that the used login program cannot be abused this way.
 .PP
-Some  programs use "\-\-" to indicate that the rest of the commandline should
-not be interpreted as options. Use this feature if available by passing "\-\-"
+Some  programs use "\-\-" to indicate that the rest of the command line should
+not be interpreted as options.  Use this feature if available by passing "\-\-"
 before the username gets passed by \\u.
 
-.SH ISSUE ESCAPES
-The issue-file (\fI/etc/issue\fP or the file set with the \fB\-f\fP option)
-may contain certain escape codes to display the system name, date, time
+.SH ISSUE FILES
+The default issue file is \fI/etc/issue\fP. If the file exists then agetty also
+checks for \fI/etc/issue.d\fP directory. The directory is optional extension to
+the default issue file and content of the directory is printed after
+\fI/etc/issue\fP content. If the \fI/etc/issue\fP does not exist than the
+directory is ignored. All files \fBwith .issue extension\fP from the directory are
+printed in version-sort order. The directory allow to maintain 3rd-party
+messages independently on the primary system \fI/etc/issue\fP file.
+
+Since version 2.35 additional locations for issue file and directory are
+supported. If the default \fI/etc/issue\fP does not exist than agetty checks
+for \fI/run/issue\fP and \fI/run/issue.d\fP, thereafter for
+\fI/usr/lib/issue\fP and \fI/usr/lib/issue.d\fP.  The directory /etc is
+expected for host specific configuration, /run is expected for generated stuff
+and /usr/lib for static distribution maintained configuration.
+
+The default path maybe overridden by \fB\-\-issue\-file\fP option. In this case
+specified path has to be file or directory and all the default issue file and
+directory locations are ignored.
+
+The issue file feature is possible to completely disable by \fB\-\-noissue\fP option.
+
+It is possible to review the current issue file by \fBagetty \-\-show\-issue\fP
+on the current terminal.
+
+The issue files may contain certain escape codes to display the system name, date, time
 etcetera.  All escape codes consist of a backslash (\\) immediately
-followed by one of the letters explained below.
+followed by one of the characters listed below.
 
 .TP
-4 or 4{interface}
-Insert the IPv4 address of the machine hostname or IPv4 address the configured
-network interface if the interface argument is specified (e.g. \\4{eth0}).
+4 or 4{\fIinterface\fR}
+Insert the IPv4 address of the specified network interface (for example: \\4{eth0}).
+If the \fIinterface\fR argument is not specified, then select the first fully
+configured (UP, non-LOCALBACK, RUNNING) interface.  If not any configured
+interface is found, fall back to the IP address of the machine's hostname.
 .TP
-6 or 6{interface}
-Insert the IPv6 address of the machine hostname or IPv6 address the configured
-network interface if the interface argument is specified (e.g. \\6{eth0}}
+6 or 6{\fIinterface\fR}
+The same as \\4 but for IPv6.
 .TP
 b
 Insert the baudrate of the current line.
@@ -318,13 +398,23 @@ Insert the baudrate of the current line.
 d
 Insert the current date.
 .TP
+e or e{\fIname\fR}
+Translate the human-readable \fIname\fP to an escape sequence and insert it
+(for example: \\e{red}Alert text.\\e{reset}).  If the \fIname\fR argument is
+not specified, then insert \\033.  The currently supported names are: black,
+blink, blue, bold, brown, cyan,
+darkgray, gray, green, halfbright, lightblue, lightcyan, lightgray, lightgreen,
+lightmagenta, lightred, magenta, red, reset, reverse, yellow and white.  All unknown
+names are silently ignored.
+.TP
 s
-Insert the system name, the name of the operating system. Same as `uname \-s'.
-See also \\S escape code.
+Insert the system name (the name of the operating system).  Same as 'uname \-s'.
+See also the \\S escape code.
 .TP
 S or S{VARIABLE}
-Insert the VARIABLE data from \fI/etc/os-release\fP.  If the VARIABLE argument
-is not specified then use PRETTY_NAME from the file or the system name (see \\s).
+Insert the VARIABLE data from \fI/etc/os-release\fP.  If this file does not exist
+then fall back to \fI/usr/lib/os-release\fP.  If the VARIABLE argument is not
+specified, then use PRETTY_NAME from the file or the system name (see \\s).
 This escape code allows to keep \fI/etc/issue\fP distribution and release
 independent.  Note that \\S{ANSI_COLOR} is converted to the real terminal
 escape sequence.
@@ -333,19 +423,19 @@ l
 Insert the name of the current tty line.
 .TP
 m
-Insert the architecture identifier of the machine. Same as `uname \-m'.
+Insert the architecture identifier of the machine.  Same as 'uname \-m'.
 .TP
 n
-Insert the nodename of the machine, also known as the hostname. Same as `uname \-n'.
+Insert the nodename of the machine, also known as the hostname.  Same as 'uname \-n'.
 .TP
 o
-Insert the NIS domainname of the machine. Same as `hostname \-d'.
+Insert the NIS domainname of the machine.  Same as 'hostname \-d'.
 .TP
 O
 Insert the DNS domainname of the machine.
 .TP
 r
-Insert the release number of the OS. Same as `uname \-r'.
+Insert the release number of the OS.  Same as 'uname \-r'.
 .TP
 t
 Insert the current time.
@@ -358,9 +448,9 @@ Insert the string "1 user" or "<n> users" where <n> is the number of current
 users logged in.
 .TP
 v
-Insert the version of the OS, eg. the build-date etc.
+Insert the version of the OS, that is, the build-date and such.
 .PP
-Example: On my system, the following \fI/etc/issue\fP file:
+An example.  On my system, the following \fI/etc/issue\fP file:
 .sp
 .na
 .RS
@@ -380,39 +470,39 @@ This is thingol.orcan.dk (Linux i386 1.1.9) 18:29:30
 .SH FILES
 .na
 .TP
-.B /var/run/utmp
+.I /var/run/utmp
 the system status file.
 .TP
-.B /etc/issue
+.I /etc/issue
 printed before the login prompt.
 .TP
-.B /etc/os-release
+.I /etc/os-release /usr/lib/os-release
 operating system identification data.
 .TP
-.B /dev/console
+.I /dev/console
 problem reports (if syslog(3) is not used).
 .TP
-.B /etc/inittab
+.I /etc/inittab
 \fIinit\fP(8) configuration file for SysV-style init daemon.
 .SH BUGS
 .ad
 .fi
-The baud-rate detection feature (the \fB\-m\fP option) requires that
+The baud-rate detection feature (the \fB\-\-extract\-baud\fP option) requires that
 \fBagetty\fP be scheduled soon enough after completion of a dial-in
-call (within 30 ms with modems that talk at 2400 baud). For robustness,
-always use the \fB\-m\fP option in combination with a multiple baud
+call (within 30 ms with modems that talk at 2400 baud).  For robustness,
+always use the \fB\-\-extract\-baud\fP option in combination with a multiple baud
 rate command-line argument, so that BREAK processing is enabled.
 
 The text in the \fI/etc/issue\fP file (or other) and the login prompt
 are always output with 7-bit characters and space parity.
 
-The baud-rate detection feature (the \fB\-m\fP option) requires that
+The baud-rate detection feature (the \fB\-\-extract\-baud\fP option) requires that
 the modem emits its status message \fIafter\fP raising the DCD line.
 .SH DIAGNOSTICS
 .ad
 .fi
 Depending on how the program was configured, all diagnostics are
-written to the console device or reported via the syslog(3) facility.
+written to the console device or reported via the \fBsyslog\fR(3) facility.
 Error messages are produced if the \fIport\fP argument does not
 specify a terminal device; if there is no utmp entry for the
 current process (System V only); and so on.
@@ -432,4 +522,4 @@ and ported to Linux by Peter Orbaek <poe@daimi.aau.dk>.
 
 .SH AVAILABILITY
 The agetty command is part of the util-linux package and is available from
-ftp://ftp.kernel.org/pub/linux/utils/util\-linux/.
+https://www.kernel.org/pub/linux/utils/util\-linux/.