doc: term-utils/*: fix some warnings from "mandoc -T lint"

mandoc: ./term-utils/agetty.8:224:36: WARNING: undefined escape, printing literally: \\
mandoc: ./term-utils/agetty.8:12:2: STYLE: fill mode already enabled, skipping: fi
mandoc: ./term-utils/agetty.8:307:2: WARNING: skipping paragraph macro: PP empty
mandoc: ./term-utils/agetty.8:489:2: STYLE: fill mode already enabled, skipping: fi
mandoc: ./term-utils/agetty.8:503:2: STYLE: fill mode already enabled, skipping: fi

mandoc: ./term-utils/script.1:198:2: WARNING: skipping paragraph macro: PP empty
mandoc: ./term-utils/script.1:244:2: WARNING: empty block: RS
mandoc: ./term-utils/script.1:261:2: WARNING: skipping paragraph macro: PP empty

mandoc: ./term-utils/scriptlive.1:77:2: STYLE: fill mode already disabled, skipping: nf

mandoc: ./term-utils/scriptreplay.1:122:2: STYLE: fill mode already disabled, skipping: nf

###

  Additional change:

1)  Changed '  ' once to ' ' in "agetty.8"

2)  Change in the output from "groff":

'-' changed to '\-' in "agetty.8".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
This commit is contained in:
Bjarni Ingi Gislason 2020-06-11 01:26:37 +00:00 committed by Karel Zak
parent ba6b6d8d08
commit 308f997baf
4 changed files with 4 additions and 12 deletions

View File

@ -9,7 +9,6 @@ agetty \- alternative Linux getty
.SH DESCRIPTION .SH DESCRIPTION
.ad .ad
.fi
\fBagetty\fP opens a tty port, prompts for a login name and invokes \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). the /bin/login command. It is normally invoked by \fBinit\fP(8).
@ -217,11 +216,11 @@ program that \fBagetty\fR starts (usually /bin/login) is run as root.
Do not print a newline before writing out /etc/issue. Do not print a newline before writing out /etc/issue.
.TP .TP
\-o, \-\-login\-options "\fIlogin_options\fP" \-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: replaced by the login name. For example:
.RS .RS
.IP "" 4 .IP "" 4
.B "\-\-login\-options '-h darkstar -- \\\u'" .B "\-\-login\-options '\-h darkstar \-\- \eu'"
.PP .PP
See \fB\-\-autologin\fR, \fB\-\-login\-program\fR and \fB\-\-remote\fR. See \fB\-\-autologin\fR, \fB\-\-login\-program\fR and \fB\-\-remote\fR.
.PP .PP
@ -304,7 +303,6 @@ Display version information and exit.
.TP .TP
\-\-help \-\-help
Display help text and exit. Display help text and exit.
.PP
.SH EXAMPLE .SH EXAMPLE
This section shows examples for the process field of an entry in the 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 \fI/etc/inittab\fP file. You'll have to prepend appropriate values
@ -486,7 +484,6 @@ problem reports (if syslog(3) is not used).
\fIinit\fP(8) configuration file for SysV-style init daemon. \fIinit\fP(8) configuration file for SysV-style init daemon.
.SH BUGS .SH BUGS
.ad .ad
.fi
The baud-rate detection feature (the \fB\-\-extract\-baud\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 \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, call (within 30 ms with modems that talk at 2400 baud). For robustness,
@ -500,7 +497,6 @@ The baud-rate detection feature (the \fB\-\-extract\-baud\fP option) requires th
the modem emits its status message \fIafter\fP raising the DCD line. the modem emits its status message \fIafter\fP raising the DCD line.
.SH DIAGNOSTICS .SH DIAGNOSTICS
.ad .ad
.fi
Depending on how the program was configured, all diagnostics are Depending on how the program was configured, all diagnostics are
written to the console device or reported via the \fBsyslog\fR(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 Error messages are produced if the \fIport\fP argument does not

View File

@ -195,7 +195,6 @@ Upon receiving
.BR SIGUSR1 , .BR SIGUSR1 ,
.B script .B script
immediately flushes the output files. immediately flushes the output files.
.PP
.SH ENVIRONMENT .SH ENVIRONMENT
The following environment variable is utilized by The following environment variable is utilized by
.BR script : .BR script :
@ -241,8 +240,6 @@ is always interactive, and this could lead to unexpected results. If you use
in the shell initialization file, you have to avoid entering an infinite 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 loop. You can use for example the \fB\%.profile\fR file, which is read
by login shells only: by login shells only:
.RS
.RE
.sp .sp
.na .na
.RS .RS
@ -258,7 +255,6 @@ fi
You should also avoid use of script in command pipes, as You should also avoid use of script in command pipes, as
.B script .B script
can read more input than you would expect. can read more input than you would expect.
.PP
.SH HISTORY .SH HISTORY
The The
.B script .B script

View File

@ -74,7 +74,7 @@ Script started, file is script.out
% exit % exit
Script done, file is script.out Script done, file is script.out
% scriptlive --log-timing file.tm --log-in script.in % scriptlive --log-timing file.tm --log-in script.in
.nf .fi
.SH AUTHORS .SH AUTHORS
.MT kzak@\:redhat.com .MT kzak@\:redhat.com
Karel Zak Karel Zak

View File

@ -119,7 +119,7 @@ Script started, file is script.out
% exit % exit
Script done, file is script.out Script done, file is script.out
% scriptreplay --log-timing file.tm --log-out script.out % scriptreplay --log-timing file.tm --log-out script.out
.nf .fi
.SH AUTHORS .SH AUTHORS
The original The original
.B scriptreplay .B scriptreplay