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.
This commit is contained in:
Benno Schulenberg 2024-06-06 12:17:45 +02:00
parent a1159ff484
commit 6be1f7e95a
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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.