Re: [PATCH 17/23] termios.3: ffix

Michael Kerrisk (man-pages)
2021-08-08T20:35:10Z

Hello Alex,

On 8/8/21 10:41 AM, Alejandro Colomar wrote:
> Format variable parts of words referring to a group of identifiers in italics,
> following groff_man(7) recommendations.
>
> Also srcfix surrounding uses of \f escape sequences to use macros
>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

Thanks for the clean-ups! Patch applied.

Cheers,

Michael

> ---
> man3/termios.3 | 24 +++++++++++++++++-------
> 1 file changed, 17 insertions(+), 7 deletions(-)
>
> diff --git a/man3/termios.3 b/man3/termios.3
> index 7023025e7..4fbd34a52 100644
> --- a/man3/termios.3
> +++ b/man3/termios.3
> @@ -960,28 +960,38 @@ to by \fItermios_p\fP to \fIspeed\fP, which must be one of these constants:
> .ft P
> .fi
> .PP
> -The zero baud rate, \fBB0\fP,
> +The zero baud rate,
> +.BR B0 ,
> is used to terminate the connection.
> If B0 is specified, the modem control lines shall no longer be asserted.
> Normally, this will disconnect the line.
> -\fBCBAUDEX\fP is a mask
> +.B CBAUDEX
> +is a mask
> for the speeds beyond those defined in POSIX.1 (57600 and above).
> -Thus, \fBB57600\fP & \fBCBAUDEX\fP is nonzero.
> +Thus,
> +.BR B57600 " & " CBAUDEX
> +is nonzero.
> .PP
> Setting the baud rate to a value other than those defined by
> -.B Bnnn
> +.BI B nnn
> constants is possible via the
> .B TCSETS2
> ioctl; see
> .BR ioctl_tty (2).
> .PP
> .BR cfgetispeed ()
> -returns the input baud rate stored in the \fItermios\fP structure.
> +returns the input baud rate stored in the
> +.I termios
> +structure.
> .PP
> .BR cfsetispeed ()
> -sets the input baud rate stored in the \fItermios\fP structure to
> +sets the input baud rate stored in the
> +.I termios
> +structure to
> .IR speed ,
> -which must be specified as one of the \fBBnnn\fP constants listed above for
> +which must be specified as one of the
> +.BI B nnn
> +constants listed above for
> .BR cfsetospeed ().
> If the input baud rate is set to zero, the input baud rate will be
> equal to the output baud rate.
>

--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/