[PATCH 19/31] docs: set signal, environment var names in italics
"G. Branden Robinson" <[email protected]> Thu, 23 Apr 2026 18:00:05 -0500
| Newsgroups | gmane.editors.nano.devel |
|---|---|
| Message-ID | <20260423230005.3lwt2f3zn62jjc2l@illithid> |
groff_man_style(7):
Font style macros
...
Use italics for file and path names, for environment
variables, for C data types, for enumeration or preprocessor
constants in C, for variant (user‐replaceable) portions of
syntax synopses, for the first occurrence (only) of a
technical concept being introduced, for names of journals
and of literary works longer than an article, and anywhere a
parameter requiring replacement by the user is encountered.
An exception involves variant text in a context already
typeset in italics, such as file or path names with
replaceable components; in such cases, follow the convention
of mathematical typography: set the file or path name in
italics as usual but use roman for the variant part (see IR
and RI below), and italics again in running roman text when
referring to the variant material.
---
doc/nano.1 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
index 482c74c4..67a4ec91 100644
--- a/doc/nano.1
+++ b/doc/nano.1
@@ -492,10 +492,10 @@ .SH NOTES
.P
If no alternative spell checker command is specified on the command
line nor in one of the \fInanorc\fR files, \fBnano\fR checks the
-\fBSPELL\fR environment variable for one.
+\fISPELL\fR environment variable for one.
.P
In some cases \fBnano\fR tries to dump the buffer into an emergency file.
-This happens mainly if \fBnano\fR receives a SIGHUP or SIGTERM or runs out
+This happens mainly if \fBnano\fR receives a \%\fISIGHUP\fR or \%\fISIGTERM\fR or runs out
of memory. It writes the buffer into a file named \fInano.save\fR if the
buffer didn't have a name already, or adds a ".save" suffix to the current
filename. If an emergency file with that name already exists in the
@@ -524,7 +524,7 @@ .SH BUGS
.P
When \fBnano\fR crashes, it saves any modified buffers to emergency \fI.save\fR files.
If you are able to reproduce the crash and you want to get a backtrace, define
-the environment variable \fBNANO_NOCATCH\fR.
+the environment variable \%\fINANO_NOCATCH\fR.
.
.SH HOMEPAGE
.UR https://nano\-editor.org/
--
2.30.2
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEh3PWHWjjDgcrENwa0Z6cfXEmbc4FAmnqpHUACgkQ0Z6cfXEm bc6ujg/9HXsbNwvfjrtXDqmHL0w2ulqwCD5y3rCrFhVzXmKkyL/q93Qbs1UhPizm /dAoekPTyvuhFTg+nroDgEDWSK7I8l6HGzXUyQVL9nSxU1lSpiEfO4FblSEd0irq LUZS7RZAkY1lfvNc+qpSsBHMpY8Co0rdg48Tv+G7jo50/BvLeQG7ggzYOLp7HAzp NL1EB8DZEb7r38WD/31VHAYsSMYp1OK21+ZOm6IrNJsfaRR/XDsF7rGiWplrT8LU TWA7uVZKUkOjpPD0pCs4MkSY3QVJsCWgIBpr9AI7lD6nqBhN6klqSIsocLaqCi2F pZ2wOMBEBDO9OJxKksUsd3brfI9rKOHqg0NSxINPxIWoCUq2cCangLMwHWNa3Ifs POVNafZmToivaNvcJHe6vuZ+5RIL+XuSPgArDSizamAFiRITtiI2KhO92ioanvIW ROLCbShJAzPacTv+y19kiDCzlc/4GZmZhtiJHUHTrCFMzdAAfYaR69/tuH65TDYR uhnNzOXynRfb7wIUNxayqo7YBzPf7nQ4yU2rsUbBjFsKYhMNeMdI+MHk3EGcPiwz 7lHHdmJeFYwjtkeNSNGQWVCsxVqUKJ5LxS7yTw6k0CTjxlF67nS6DcIVJcTaaBq5 2joS6UywJjjyroF5u3eLP7qJVps314vLo0XUnFOeejyxsPBKPhQ= =dz/l -----END PGP SIGNATURE-----