docs: reword and reshuffle the description of --rawsequences

It's not just about the numeric keypad, but about the interpretation
of all editing keys (arrows, Home, End, PageUp, PageDown, Insert, and
Delete), of the escape sequences that they produce.
master
Benno Schulenberg 2018-12-28 19:20:40 +01:00
parent d3c0fe3923
commit dc99610c36
4 changed files with 23 additions and 19 deletions

View File

@ -102,9 +102,10 @@ executed commands, so they can be easily reused in later sessions.
Don't look at the system's \fInanorc\fR nor at the user's \fInanorc\fR.
.TP
.BR \-K ", " \-\-rawsequences
Interpret the numeric keypad keys so that they all work properly. You
should only need to use this option if they don't, as mouse support
won't work properly with this option enabled.
Interpret escape sequences directly (instead of asking \fBncurses\fR to
translate them). If you need this option to get your keyboard to work
properly, please report a bug. Using this option disables \fBnano\fR's
mouse support.
.TP
.BR \-L ", " \-\-nonewlines
Don't automatically add a newline when a file does not end with one.

View File

@ -192,9 +192,10 @@ Don't look at the system's nanorc file nor at the user's nanorc.
@item -K
@itemx --rawsequences
Interpret the numeric keypad keys so that they all work properly. You
should only need to use this option if they don't, as mouse support
won't work properly with this option enabled.
Interpret escape sequences directly (instead of asking @code{ncurses} to
translate them). If you need this option to get your keyboard to work
properly, please report a bug. Using this option disables @command{nano}'s
mouse support.
@item -L
@itemx --nonewlines
@ -834,16 +835,17 @@ is an extended regular expression. The default value is
@t{"^([@w{ }\t]*([#:>|@}]|//))+"}.
Note that @code{\t} stands for a literal Tab character.
@item set rawsequences
Interpret escape sequences directly (instead of asking @code{ncurses} to
translate them). If you need this option to get your keyboard to work
properly, please report a bug. Using this option disables @command{nano}'s
mouse support.
@item set rebinddelete
Interpret the Delete key differently so that both Backspace and Delete
work properly. You should only need to use this option if Backspace
acts like Delete on your system.
@item set rawsequences
Interpret the numeric keypad keys so that they all work properly. You
should only need to use this option if they don't, as mouse support
won't work properly with this option enabled.
@item set regexp
Do extended regular expression searches by default.

View File

@ -201,16 +201,17 @@ is an extended regular expression. The default value is
"\fB^([\ \\t]*([#:>|}]|//))+\fP". Note that \fB\\t\fR stands for an actual
Tab character.
.TP
.B set rawsequences
Interpret escape sequences directly (instead of asking \fBncurses\fR to
translate them). If you need this option to get your keyboard to work
properly, please report a bug. Using this option disables \fBnano\fR's
mouse support.
.TP
.B set rebinddelete
Interpret the Delete key differently so that both Backspace and Delete
work properly. You should only need to use this option if Backspace
acts like Delete on your system.
.TP
.B set rawsequences
Interpret the numeric keypad keys so that they all work properly. You
should only need to use this option if they don't, as mouse support
won't work properly with this option enabled.
.TP
.B set regexp
Do extended regular expression searches by default.
.TP

View File

@ -126,12 +126,12 @@
## This is an extended regular expression. The default is:
# set quotestr "^([ ]*([#:>|}]|//))+"
## Try to work around a mismatching terminfo terminal description.
# set rawsequences
## Fix Backspace/Delete confusion problem.
# set rebinddelete
## Fix numeric keypad key confusion problem.
# set rawsequences
## Do extended regular expression searches by default.
# set regexp