diff --git a/doc/nano.1 b/doc/nano.1 index 6e57d6e4b94de28130fb617501cd631d7a121baf..ce0e0e921221f9f722c9fdee5f521a8bba65095e 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -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. diff --git a/doc/nano.texi b/doc/nano.texi index 78a8587bff8204640d8f4dd454a6a631bd1cf609..e9aa158bb81026e4013fd440e666df4de6ed729d 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -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. diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 135089beded91f05edbbada1bc37ce61bdb8b4e5..24c092d54e263a740681e57c6cf9d439bce72f49 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -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 diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in index 13316ecbd60fe6525bf159bd77ea5200428e9909..6bc19a83be31ea8a5cc51aac5573f8888d532d55 100644 --- a/doc/sample.nanorc.in +++ b/doc/sample.nanorc.in @@ -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