summaryrefslogtreecommitdiff
path: root/development/hexer/manpages_readability.diff
blob: 3afada02c6bae1319ab7fe68c8626e5374d58d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
diff -Naur hexer-1.0.6/hexer.1 hexer-1.0.6.patched/hexer.1
--- hexer-1.0.6/hexer.1	2020-04-24 09:06:48.000000000 -0400
+++ hexer-1.0.6.patched/hexer.1	2020-11-19 15:51:44.118564837 -0500
@@ -339,7 +339,7 @@
 .BR "REGULAR EXPRESSIONS" ).
 .TP
 .B ?
-Search reverse using a regular expression.
+Reverse search using a regular expression.
 .TP
 .B .
 Repeat the last change to the buffer
@@ -427,7 +427,7 @@
 or
 .BR BackSpace
 key deletes the previously inserted byte.  If the hex column is active, the
-previously inserted nibble (hex digit) is deleted.  It is not possible
+previously inserted nybble (hex digit) is deleted.  It is not possible
 to delete more bytes than have been inserted in the current insert command.
 While in
 .BR "Insert Mode" ,
@@ -940,7 +940,7 @@
 .B maxmatch
 limit by doubling the `*' or `+' operator, e.g. "a.**b" or
 "foo\\(bar\\)\\+\\+".
-.br
+.PP
 Note that the context specifiers `^'/`$' (beginning/end of a line) and
 `\\<'/`\\>' (beginning/end of a word) are available and actually do
 what you expect.  If you don't want the atoms `.' and `[^...]' to match
@@ -948,13 +948,13 @@
 .B specialnl
 option using the
 .BR :set -command.
-.br
+.PP
 To enter a special character, you can use the standard C `\\'\(hyescape
 sequences.  To enter a character using its octal code, use a `\\o'\(hyprefix
 followed by up to three octal digits.
 (C-style octal escapes are not supported, because `\\0', ... `\\9' are
 interpreted as back-references to subexpressions of the RE.)
-To enter a character using it's hex code, type a `\\x'-prefix followed
+To enter a character using its hex code, type a `\\x'-prefix followed
 by up to two hex digits; decimal codes can be entered using a `\\d'\(hyprefix
 followed by up to three decimal digits.  It is possible to enter strings
 of codes by doubling the base specifier, e.g. "\\xxfe ff 5a 7e" or
@@ -963,7 +963,7 @@
 .BR maxmatch )
 of repetitions of
 .BR "ff fe" .
-.br
+.PP
 It is possible to use all kinds of character `\\'\(hyescapes (escapes
 representing a single character) within `[]'\(hyranges.  Within a range,
 the `o' selecting an octal base for the escape may be omitted, since
@@ -988,55 +988,80 @@
 .B %
 (percent) sign and an expression in infix notation.
 It is possible to use parentheses.
+.PP
 .B myc
 understands the following binary infix operators (from highest priority to
 lowest):
+.TP
 .B **
 (power),
+.TP
 .B *
 (multiply),
+.TP
 .B /
 (divide),
+.TP
 .B %
 (modulo),
+.TP
 .B +
 (add),
-.B -
+.TP
+.B \-
 (subtract),
+.TP
 .B <<
 (shift left),
+.TP
 .B >>
 (shift right),
+.TP
 .B <
 (less),
+.TP
 .B <=
 (less or equal),
+.TP
 .B >
 (greater),
+.TP
 .B >=
 (greater or equal),
+.TP
 .B ==
 (equal),
+.TP
 .B !=
 (not equal),
+.TP
 .B &
 (arithmetical and),
+.TP
 .B |
 (arithmetical or),
+.TP
 .B ^
 (arithmetical exclusive or),
+.TP
 .B &&
 (logical and),
+.TP
 .B ||
 (logical or),
+.TP
 .B =
 (assign);  and the following unary prefix operators:
-.B -
+.TP
+.B \-
 (negate, unary minus),
+.TP
 .B !
 (logical not),
+.TP
 .B ~
 (bitwise complement).
+.PP
 .B myc
 knows three data types:
 .BR boolean ,
@@ -1044,8 +1069,10 @@
 (32 bit),
 .B float
 (64 bit, equivalent to C double).
+.PP
 On some esoteric platforms the precision of integer and float may be
 different.
+.PP
 As in C the result of a division depends on the data types of the operands.
 An integer divided by an integer yields an integer.
 If you want the result to be a float, make sure one of the operands is a
@@ -1057,8 +1084,10 @@
 .I a/(b+0.)
 instead of
 .IR a/b .
+.PP
 The power operation returns a float if the result is too large to fit in an
 integer.
+.PP
 The result of a calculation is stored in the special variables
 .B $$
 and
diff -Naur hexer-1.0.6/myc.1 hexer-1.0.6.patched/myc.1
--- hexer-1.0.6/myc.1	2020-04-24 09:06:48.000000000 -0400
+++ hexer-1.0.6.patched/myc.1	2020-11-19 15:39:33.189631281 -0500
@@ -64,67 +64,98 @@
 is specified on the command-line, the result is echoed and
 .B myc
 exits immediately.
+.PP
 If invoked with no arguments,
 .B myc
 starts reading commands from standard-in.
+.SH OPERATORS
 .B myc
 understands the following binary infix operators (from highest priority to
 lowest):
+.TP
 .B **
 (power),
+.TP
 .B *
 (multiply),
+.TP
 .B /
 (divide),
+.TP
 .B %
 (modulo),
+.TP
 .B +
 (add),
-.B -
+.TP
+.B \-
 (subtract),
+.TP
 .B <<
 (shift left),
+.TP
 .B >>
 (shift right),
+.TP
 .B <
 (less),
+.TP
 .B <=
 (less or equal),
+.TP
 .B >
 (greater),
+.TP
 .B >=
 (greater or equal),
+.TP
 .B ==
 (equal),
+.TP
 .B !=
 (not equal),
+.TP
 .B &
 (arithmetical and),
+.TP
 .B |
 (arithmetical or),
+.TP
 .B ^
 (arithmetical exclusive or),
+.TP
 .B &&
 (logical and),
+.TP
 .B ||
 (logical or),
+.TP
 .B =
 (assign);  and the following unary prefix operators:
-.B -
+.TP
+.B \-
 (negate, unary minus),
+.TP
 .B !
 (logical not),
+.TP
 .B ~
 (bitwise complement).
+.SH DATA TYPES
 .B myc
 knows three data types:
+.TP
 .BR boolean ,
+.TP
 .B integer
 (32 bit),
+.TP
 .B float
 (64 bit, equivalent to C double).
+.SH NOTES
 On some esoteric platforms the precision of integer and float may be
 different.
+.PP
 As in C the result of a division depends on the data types of the operands.
 An integer divided by an integer yields an integer.
 If you want the result to be a float, make sure one of the operands is a
@@ -138,6 +169,7 @@
 .IR a/b .
 The power operation returns a float if the result is too large to fit in an
 integer.
+.PP
 The result of a calculation is stored in the special variables
 .B $$
 and