summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-05-02 01:03:01 +0200
committerAlejandro Colomar <alx@kernel.org>2023-05-02 01:03:01 +0200
commit71b02c050d977e2d1eaf659ccb279819c5a4cf95 (patch)
tree1609e48ec8339a59ac050a8839920dab2fa7c9b6
parent0aacf77e45e55be0a30479db7b8df2780f74f830 (diff)
ascii.7: ffix
Simplify formatting of ASCII tables. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man7/ascii.722
1 files changed, 5 insertions, 17 deletions
diff --git a/man7/ascii.7 b/man7/ascii.7
index dec70e370..4f0c4f902 100644
--- a/man7/ascii.7
+++ b/man7/ascii.7
@@ -26,9 +26,8 @@ The international counterpart of ASCII is known as ISO 646-IRV.
The following table contains the 128 ASCII characters.
.PP
C program \f(CW\[aq]\eX\[aq]\fP escapes are noted.
-.if t \{\
-.ft CW
-\}
+.PP
+.EX
.TS
l l l l | l l l l.
Oct Dec Hex Char Oct Dec Hex Char
@@ -98,18 +97,11 @@ _
076 62 3E > 176 126 7E \[ti]
077 63 3F ? 177 127 7F DEL
.TE
-.if t \{\
-.in
-.ft P
-\}
+.EE
.SS Tables
For convenience, below are more compact tables in hex and decimal.
.PP
-.nf
-.if t \{\
-.in 1i
-.ft CW
-\}
+.EX
2 3 4 5 6 7 30 40 50 60 70 80 90 100 110 120
------------- ---------------------------------
0: 0 @ P \` p 0: ( 2 < F P Z d n x
@@ -128,11 +120,7 @@ C: , < L \e l |
D: \- = M ] m }
E: . > N \[ha] n \[ti]
F: / ? O _ o DEL
-.if t \{\
-.in
-.ft P
-\}
-.fi
+.EE
.SH NOTES
.SS History
/etc/ascii (VII) appears in the UNIX Programmer's Manual.