commit 6be1f7e95a1a03d20eb0afedab658ed1acb03ab3
parent a1159ff484367c4a1542c080817b6ee800930051
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 6 Jun 2024 12:17:45 +0200
docs: avert hyphenation of the technical words "ncurses" and "terminfo"
This prevents an observed wrong hyphenation: "ter-minfo".
Also, add markup for "terminfo", like "ncurses" already has.
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
@@ -104,6 +104,9 @@ the built-in help (\fB^G\fR) lists all the available ones.
The default key bindings can be changed via a \fInanorc\fR file -- see
.BR nanorc (5).
+.\" Never hyphenate these:
+.hw ncurses terminfo
+
.SH OPTIONS
.TP
.BR \-A ", " \-\-smarthome
@@ -155,7 +158,7 @@ in your \fInanorc\fR file.)
.BR \-K ", " \-\-rawsequences
Interpret escape sequences directly, instead of asking \fBncurses\fR
to translate them. (If you need this option to get some keys to work
-properly, it means that the terminfo terminal description that is used
+properly, it means that the \fBterminfo\fR terminal description that is used
does not fully match the actual behavior of your terminal. This can
happen when you ssh into a BSD machine, for example.)
Using this option disables \fBnano\fR's mouse support.
diff --git a/doc/nanorc.5 b/doc/nanorc.5
@@ -50,6 +50,9 @@ lines at the end of your \fInanorc\fR file:
.RE
.sp
+.\" Never hyphenate these:
+.hw ncurses terminfo
+
.SH OPTIONS
The configuration file accepts a series of \fBset\fP and \fBunset\fP
commands, which can be used to configure nano on startup without using
@@ -288,7 +291,7 @@ email, and to rewrap blocks of line comments when writing source code.
.B set rawsequences
Interpret escape sequences directly, instead of asking \fBncurses\fR
to translate them. (If you need this option to get some keys to work
-properly, it means that the terminfo terminal description that is used
+properly, it means that the \fBterminfo\fR terminal description that is used
does not fully match the actual behavior of your terminal. This can
happen when you ssh into a BSD machine, for example.)
Using this option disables \fBnano\fR's mouse support.