--rebindkeypad, clarify its description on the command line,
and add an updated FAQ entry about its use. Changes to
window_init(), usage(), main(), get_verbatim_kbinput(),
- nanorc.sample, and faq.html. (DLR)
+ nanorc.sample, nano.1, nanorc.5, and faq.html. (DLR)
- Add new -W/--wordbounds command line option, and new
"wordbounds" rcfile option, to control whether
the word movement functions treat punctuation characters as
part of a word. Changes to do_next_word_void(),
- do_prev_word_void(), usage(), main(), and nanorc.sample. (DLR,
- suggested by Mike Frysinger)
+ do_prev_word_void(), usage(), main(), nano.1, nanorc.5, and
+ nanorc.sample. (DLR, suggested by Mike Frysinger)
- color.c:
- Remove unneeded fcntl.h include. (DLR)
- chars.c:
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
-.TH NANO 1 "version 1.3.8" "June 27, 2005"
+.TH NANO 1 "version 1.3.8" "August 10, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
Don't look at \fISYSCONFDIR/nanorc\fP or \fI~/.nanorc\fP, if nanorc
support is available.
.TP
+.B \-K (\-\-rebindkeypad)
+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 \-N (\-\-noconvert)
Disable automatic conversion of files from DOS/Mac format.
.TP
.B \-V (\-\-version)
Show the current version number and author.
.TP
+.B \-W (\-\-wordbounds)
+Detect word boundaries more accurately by treating punctuation
+characters as part of a word.
+.TP
.B \-Y \fIstr\fP (\-\-syntax=\fIstr\fP)
Specify a specific syntax highlighting from the \fInanorc\fP to use, if
available.
.\" Public License for copying conditions. There is NO warranty.
.\"
.\" $Id$
-.TH NANORC 5 "version 1.3.8" "August 01, 2005"
+.TH NANORC 5 "version 1.3.8" "August 10, 2005"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
blank characters. Only closing punctuation, optionally followed by
closing brackets, can end sentences.
.TP
-.B set quickblank
+.B set/unset quickblank
Do quick statusbar blanking. Statusbar messages will disappear after 1
keystroke instead of 25.
.TP
work properly. You should only need to use this option if Backspace
acts like Delete on your system.
.TP
+.B set/unset rebindkeypad
+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/unset regexp
Do regular expression searches by default.
.TP
Set the two characters used to display the first characters of tabs and
spaces. They must be single-column characters.
.TP
+.B set/unset wordbounds
+Detect word boundaries more accurately by treating punctuation
+characters as part of a word.
+.TP
.B syntax "\fIstr\fP" ["\fIfileregex\fP" ... ]
Defines a syntax named \fIstr\fP which can be activated via the \fB-Y\fP
flag, or will be automatically activated if the current filename matches
#endif /* !DISABLE_SPELLER */
#ifndef NANO_SMALL
+/* Our own version of "wc". Note that its character counts are in
+ * multibyte characters instead of single-byte characters. */
void do_wordlinechar_count(void)
{
size_t words = 0, chars = 0;