Thread (18 messages) 18 messages, 2 authors, 2021-09-13
STALE1740d
Revisions (3)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current

[PATCH 14/15] termios.3: srcfix

From: Alejandro Colomar <hidden>
Date: 2021-09-10 22:47:34
Subsystem: the rest · Maintainer: Linus Torvalds

Replace a list with .nf,.ft,.fi requests and hardcoded tabs,
by commonly used (some not so common, such as TQ, but simple)
macros: .RS,.RE,.TP,.TQ,.B

Reported-by: G. Branden Robinson <redacted>
Signed-off-by: Alejandro Colomar <redacted>
---
 man3/termios.3 | 126 +++++++++++++++++++++++++++++--------------------
 1 file changed, 76 insertions(+), 50 deletions(-)
diff --git a/man3/termios.3 b/man3/termios.3
index d0630fe23..3a3c551cf 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -929,60 +929,86 @@ pointed to by
 .BR cfsetospeed ()
 sets the output baud rate stored in the \fItermios\fP structure pointed
 to by \fItermios_p\fP to \fIspeed\fP, which must be one of these constants:
-.PP
-.nf
-.ft B
-	B0
-	B50
-	B75
-	B110
-	B134
-	B150
-	B200
-	B300
-	B600
-	B1200
-	B1800
-	B2400
-	B4800
-	B9600
-	B19200
-	B38400
-	B57600
-	B115200
-	B230400
-	B460800
-	B500000
-	B576000
-	B921600
-	B1000000
-	B1152000
-	B1500000
-	B2000000
-.ft P
-.fi
+.RS
+.TP
+.B B0
+.TQ
+.B B50
+.TQ
+.B B75
+.TQ
+.B B110
+.TQ
+.B B134
+.TQ
+.B B150
+.TQ
+.B B200
+.TQ
+.B B300
+.TQ
+.B B600
+.TQ
+.B B1200
+.TQ
+.B B1800
+.TQ
+.B B2400
+.TQ
+.B B4800
+.TQ
+.B B9600
+.TQ
+.B B19200
+.TQ
+.B B38400
+.TQ
+.B B57600
+.TQ
+.B B115200
+.TQ
+.B B230400
+.TQ
+.B B460800
+.TQ
+.B B500000
+.TQ
+.B B576000
+.TQ
+.B B921600
+.TQ
+.B B1000000
+.TQ
+.B B1152000
+.TQ
+.B B1500000
+.TQ
+.B B2000000
+.RE
 .PP
 These constants are additionally supported on the SPARC architecture:
-.PP
-.nf
-.ft B
-	B76800
-	B153600
-	B307200
-	B614400
-.ft P
-.fi
+.RS
+.TP
+.B B76800
+.TQ
+.B B153600
+.TQ
+.B B307200
+.TQ
+.B B614400
+.RE
 .PP
 These constants are additionally supported on non-SPARC architectures:
-.PP
-.nf
-.ft B
-	B2500000
-	B3000000
-	B3500000
-	B4000000
-.ft P
-.fi
+.RS
+.TP
+.B B2500000
+.TQ
+.B B3000000
+.TQ
+.B B3500000
+.TQ
+.B B4000000
+.RE
 .PP
 Due to differences between architectures, portable applications should check
 if a particular
-- 
2.33.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help