commit b596639f95e24ba87c0714e9acfe27f09092a97a
parent d0982536a742b5bfcf33519a0c085d85165dd5f4
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 31 Dec 2018 18:34:28 +0100
options: actually rename --rebindkeypad to --rawsequences (-K)
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/faq.html b/doc/faq.html
@@ -192,7 +192,7 @@
<p>Bourne shell users (bash and sh): <b>export TERM=vt100</b><br>
C Shell users (tcsh and csh): <b>setenv TERM vt100</b></p></blockquote>
<h3><a name="4.3"></a>4.3. Ack! My numeric keypad's keys don't work properly when NumLock is off! What can I do?</h3>
-<blockquote><p>You can use the <b>-K</b> or <b>--rebindkeypad</b> option on the command line, or add the line <b>set rebindkeypad</b> to your .nanorc. However, nano's mouse support won't work properly if you do any of these things.</p></blockquote>
+<blockquote><p>You can use the <b>-K</b> or <b>--rawsequences</b> option on the command line, or add the line <b>set rawsequences</b> to your .nanorc. However, nano's mouse support will be disabled if you do any of these things.</p></blockquote>
<h3><a name="4.4"></a>4.4. Ack! When I hold down a Meta key combination for a while, the character of the held key gets inserted now and then. What gives?</h3>
<blockquote><p>This was a bug in how nano handled consecutive escape sequences. It should be fixed since version 2.6.0.</p></blockquote>
<h3><a name="4.5"></a>4.5. How do I type the F13-F16 keys listed in the help viewer? My keyboard only has F1-F12!</h3>
diff --git a/src/nano.c b/src/nano.c
@@ -802,7 +802,7 @@ void usage(void)
#ifdef ENABLE_NANORC
print_opt("-I", "--ignorercfiles", N_("Don't look at nanorc files"));
#endif
- print_opt("-K", "--rebindkeypad",
+ print_opt("-K", "--rawsequences",
N_("Fix numeric keypad key confusion problem"));
print_opt("-L", "--nonewlines",
N_("Don't add newlines to the ends of files"));
@@ -1962,7 +1962,7 @@ int main(int argc, char **argv)
#ifdef ENABLE_NANORC
{"ignorercfiles", 0, NULL, 'I'},
#endif
- {"rebindkeypad", 0, NULL, 'K'},
+ {"rawsequences", 0, NULL, 'K'},
{"nonewlines", 0, NULL, 'L'},
#ifdef ENABLED_WRAPORJUSTIFY
{"trimblanks", 0, NULL, 'M'},
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -77,8 +77,8 @@ static const rcoption rcopts[] = {
{"quotestr", 0},
#endif
{"quickblank", QUICK_BLANK},
+ {"rawsequences", RAW_SEQUENCES},
{"rebinddelete", REBIND_DELETE},
- {"rebindkeypad", RAW_SEQUENCES},
{"regexp", USE_REGEXP},
#ifdef ENABLE_SPELLER
{"speller", 0},