.SH DESCRIPTION
.ad
-.fi
\fBagetty\fP opens a tty port, prompts for a login name and invokes
the /bin/login command. It is normally invoked by \fBinit\fP(8).
Do not print a newline before writing out /etc/issue.
.TP
\-o, \-\-login\-options "\fIlogin_options\fP"
-Options and arguments that are passed to \fBlogin\fP(1). Where \\u is
+Options and arguments that are passed to \fBlogin\fP(1). Where \eu is
replaced by the login name. For example:
.RS
.IP "" 4
-.B "\-\-login\-options '-h darkstar -- \\\u'"
+.B "\-\-login\-options '\-h darkstar \-\- \eu'"
.PP
See \fB\-\-autologin\fR, \fB\-\-login\-program\fR and \fB\-\-remote\fR.
.PP
.TP
\-\-help
Display help text and exit.
-.PP
.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
\fIinit\fP(8) configuration file for SysV-style init daemon.
.SH BUGS
.ad
-.fi
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,
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 \fBsyslog\fR(3) facility.
Error messages are produced if the \fIport\fP argument does not
.BR SIGUSR1 ,
.B script
immediately flushes the output files.
-.PP
.SH ENVIRONMENT
The following environment variable is utilized by
.BR script :
in the shell initialization file, you have to avoid entering an infinite
loop. You can use for example the \fB\%.profile\fR file, which is read
by login shells only:
-.RS
-.RE
.sp
.na
.RS
You should also avoid use of script in command pipes, as
.B script
can read more input than you would expect.
-.PP
.SH HISTORY
The
.B script