add a description of -U/--quickblank to nano.texi, plus a few more

miscellaneous documentation fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2714 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-06-17 22:11:43 +00:00
parent bf51aa4c0a
commit 4f673d802c
5 changed files with 48 additions and 65 deletions

View File

@ -112,7 +112,8 @@ CVS code -
effect when constant cursor position display is turned on, and effect when constant cursor position display is turned on, and
that this is disabled when NANO_SMALL is defined. Changes to that this is disabled when NANO_SMALL is defined. Changes to
toggle_init(), usage(), main(), statusbar(), nanorc.sample, toggle_init(), usage(), main(), statusbar(), nanorc.sample,
nano.1, and nanorc.5. (DLR, suggested by CHAO Wei-Lun) nano.1, nanorc.5, and nano.texi. (DLR, suggested by CHAO
Wei-Lun)
- chars.c: - chars.c:
make_mbstring() make_mbstring()
- Change erroneous ENABLE_EXTRA #ifdef to NANO_EXTRA to fix a - Change erroneous ENABLE_EXTRA #ifdef to NANO_EXTRA to fix a

View File

@ -61,17 +61,12 @@ Convert typed tabs to spaces.
Enable multiple file buffers, if available. Enable multiple file buffers, if available.
.TP .TP
.B \-H (\-\-historylog) .B \-H (\-\-historylog)
Log search and replace strings to Log search and replace strings to \fI~/.nano_history\fP so they can be
.I ~/.nano_history stored for later editing, if nanorc support is configured.
so they may be stored for later editing, if nanorc support is
configured.
.TP .TP
.B \-I (\-\-ignorercfiles) .B \-I (\-\-ignorercfiles)
Don't look at Don't look at \fISYSCONFDIR/nanorc\fP or \fI~/.nanorc\fP, if nanorc
.I SYSCONFDIR/nanorc support is available.
or
.IR ~/.nanorc ,
if nanorc support is available.
.TP .TP
.B \-N (\-\-noconvert) .B \-N (\-\-noconvert)
Disable automatic conversion of files from DOS/Mac format. Disable automatic conversion of files from DOS/Mac format.
@ -93,15 +88,14 @@ Set the size (width) of a tab to \fIcols\fP columns.
.TP .TP
.B \-U (\-\-quickblank) .B \-U (\-\-quickblank)
Do quick statusbar blanking. Statusbar messages will disappear after 1 Do quick statusbar blanking. Statusbar messages will disappear after 1
keystroke instead of 25. keystroke instead of 25. Note that \fB-c\fP cancels this out.
.TP .TP
.B \-V (\-\-version) .B \-V (\-\-version)
Show the current version number and author. Show the current version number and author.
.TP .TP
.B \-Y \fIstr\fP (\-\-syntax=\fIstr\fP) .B \-Y \fIstr\fP (\-\-syntax=\fIstr\fP)
Specify a specific syntax highlighting from the Specify a specific syntax highlighting from the \fInanorc\fP to use, if
.I nanorc available.
to use, if available.
.TP .TP
.B \-Z (\-\-restricted) .B \-Z (\-\-restricted)
Restricted mode: Don't read or write to any file not specified on the Restricted mode: Don't read or write to any file not specified on the
@ -111,7 +105,8 @@ already has one. Also accessible by invoking \fBnano\fP with any name
beginning with 'r' (e.g. "rnano"). beginning with 'r' (e.g. "rnano").
.TP .TP
.B \-c (\-\-const) .B \-c (\-\-const)
Constantly show the cursor position. Constantly show the cursor position. Note that this cancels out
\fB-U\fP.
.TP .TP
.B \-d (\-\-rebinddelete) .B \-d (\-\-rebinddelete)
Interpret the Delete key differently so that both Backspace and Delete Interpret the Delete key differently so that both Backspace and Delete
@ -131,8 +126,7 @@ Enable cut from cursor to end of line.
.B \-l (\-\-nofollow) .B \-l (\-\-nofollow)
If the file being edited is a symbolic link, replace the link with If the file being edited is a symbolic link, replace the link with
a new file instead of following it. Good for editing files in a new file instead of following it. Good for editing files in
.IR /tmp , \fI/tmp\fP, perhaps?
perhaps?
.TP .TP
.B \-m (\-\-mouse) .B \-m (\-\-mouse)
Enable mouse support (if available for your system). Enable mouse support (if available for your system).
@ -155,7 +149,8 @@ to vary along with the screen width if resized.
Enable alternative spell checker command. Enable alternative spell checker command.
.TP .TP
.B \-t (\-\-tempfile) .B \-t (\-\-tempfile)
Always save changed buffer without prompting. Same as Pico's -t option. Always save changed buffer without prompting. Same as Pico's \fB-t\fP
option.
.TP .TP
.B \-v (\-\-view) .B \-v (\-\-view)
View file (read only) mode. View file (read only) mode.
@ -174,13 +169,9 @@ Ignored, for compatibility with Pico.
.SH INITIALIZATION FILE .SH INITIALIZATION FILE
\fBnano\fP will read initialization files in the following order: \fBnano\fP will read initialization files in the following order:
.IR SYSCONFDIR/nanorc , \fISYSCONFDIR/nanorc\fP, then \fI~/.nanorc\fP. Please see
then \fBnanorc(5)\fP and the example file \fBnanorc.sample\fP, both of which
.IR ~/.nanorc . should be provided with \fBnano\fP.
Please see
.BR nanorc (5)
and the example file \fBnanorc.sample\fP which should be provided with
\fBnano\fP.
.SH NOTES .SH NOTES
If no alternative spell checker command is specified on the command If no alternative spell checker command is specified on the command
@ -190,25 +181,20 @@ line or in one of the nanorc files, \fBnano\fP will check the
\fBnano\fP will try to dump the buffer into an emergency file in some \fBnano\fP will try to dump the buffer into an emergency file in some
cases. Mainly, this will happen if \fBnano\fP receives a SIGHUP or cases. Mainly, this will happen if \fBnano\fP receives a SIGHUP or
SIGTERM or runs out of memory, when it will write the buffer into a file SIGTERM or runs out of memory, when it will write the buffer into a file
named named \fInano.save\fP if the buffer didn't have a name already, or will
.I nano.save add a ".save" suffix to the current filename. If an emergency file with
if the buffer didn't have a name already, or will add a ".save" suffix that name already exists in the current directory, ".save" and a number
to the current filename. If an emergency file with that name already (e.g. ".save.1") will be suffixed to the current filename in order to
exists in the current directory, ".save" and a number (e.g. ".save.1") make it unique. In multibuffer mode, \fBnano\fP will write all the open
will be suffixed to the current filename in order to make it unique. In buffers to their respective emergency files.
multibuffer mode, \fBnano\fP will write all the open buffers to the
respective emergency files.
.SH BUGS .SH BUGS
Please send any comments or bug reports to Please send any comments or bug reports to \fBnano@nano-editor.org\fP.
.BR nano@nano-editor.org .
The \fBnano\fP mailing list is available from The \fBnano\fP mailing list is available from \fBnano-devel@gnu.org\fP.
.BR nano-devel@gnu.org .
To subscribe, email to To subscribe, email to \fBnano-devel-request@gnu.org\fP with a subject
.B nano-devel-request@gnu.org of "subscribe".
with a subject of "subscribe".
.SH HOMEPAGE .SH HOMEPAGE
http://www.nano-editor.org/ http://www.nano-editor.org/
@ -221,10 +207,7 @@ http://www.nano-editor.org/
\fI/usr/share/doc/nano/\fP (or equivalent on your system) \fI/usr/share/doc/nano/\fP (or equivalent on your system)
.SH AUTHOR .SH AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see Chris Allegretta <chrisa@asty.org>, et al (see \fIAUTHORS\fP and
.I AUTHORS \fITHANKS\fP for details). This manual page was originally written by
and Jordi Mallach <jordi@sindominio.net>, for the Debian GNU system (but may
.I THANKS be used by others).
for details). This manual page was originally written by Jordi Mallach
<jordi@sindominio.net>, for the Debian GNU system (but may be used by
others).

View File

@ -6,7 +6,7 @@
.\" Public License for copying conditions. There is NO warranty. .\" Public License for copying conditions. There is NO warranty.
.\" .\"
.\" $Id$ .\" $Id$
.TH NANORC 5 "version 1.3.8" "June 16, 2005" .TH NANORC 5 "version 1.3.8" "June 17, 2005"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.SH NAME .SH NAME
@ -22,9 +22,8 @@ replace" and "go to line number".
.PP .PP
The \fInanorc\fP file contains the default settings for \fBnano\fP. The \fInanorc\fP file contains the default settings for \fBnano\fP.
During startup, \fBnano\fP will first read its system-wide settings from During startup, \fBnano\fP will first read its system-wide settings from
.IR SYSCONFDIR/nanorc , \fISYSCONFDIR/nanorc\fP, and then user-specific settings from
and then user-specific settings from \fI~/.nanorc\fP.
.IR ~/.nanorc .
.SH OPTIONS .SH OPTIONS
The configuration file accepts a series of "set" and "unset" commands, The configuration file accepts a series of "set" and "unset" commands,
@ -45,8 +44,7 @@ The supported commands and arguments are:
Use auto-indentation. Use auto-indentation.
.TP .TP
.B set/unset backup .B set/unset backup
Create backup files in Create backup files in \fIfilename~\fP.
.IR filename~ .
.TP .TP
.B set backupdir "\fIdirectory\fP" .B set backupdir "\fIdirectory\fP"
Set the directory where \fBnano\fP puts unique backup files if file Set the directory where \fBnano\fP puts unique backup files if file
@ -74,9 +72,8 @@ Wrap lines at column number \fIn\fP. If \fIn\fP is 0 or less, the line
length will be the screen width less \fIn\fP. The default value is -8. length will be the screen width less \fIn\fP. The default value is -8.
.TP .TP
.B set/unset historylog .B set/unset historylog
Enable Enable \fI~/.nano_history\fP for saving and reading search/replace
.I ~/.nano_history strings.
for saving and reading search/replace strings.
.TP .TP
.B set/unset morespace .B set/unset morespace
Allow use of the blank line below the titlebar as extra editing space. Allow use of the blank line below the titlebar as extra editing space.
@ -193,7 +190,6 @@ at least one of which must be specified. This allows syntax
highlighting to span multiple lines. Note that all subsequent instances highlighting to span multiple lines. Note that all subsequent instances
of \fIsr\fP after an initial \fIsr\fP is found will be highlighted until of \fIsr\fP after an initial \fIsr\fP is found will be highlighted until
the first instance of \fIer\fP. the first instance of \fIer\fP.
\fI
.SH FILES .SH FILES
.TP .TP
@ -210,9 +206,6 @@ Per-user configuration file
\fI/usr/share/doc/nano/examples/nanorc.sample\fP (or equivalent on your \fI/usr/share/doc/nano/examples/nanorc.sample\fP (or equivalent on your
system) system)
.SH AUTHOR .SH AUTHOR
Chris Allegretta <chrisa@asty.org>, et al (see Chris Allegretta <chrisa@asty.org>, et al (see \fIAUTHORS\fP and
.I AUTHORS \fITHANKS\fP for details). This manual page was written by Jordi
and Mallach <jordi@gnu.org>.
.I THANKS
for details).
This manual page was written by Jordi Mallach <jordi@gnu.org>.

View File

@ -29,7 +29,8 @@
## Do case sensitive searches by default. ## Do case sensitive searches by default.
# set casesensitive # set casesensitive
## Constantly display the cursor position in the status bar. ## Constantly display the cursor position in the statusbar. Note that
## this cancels out "quickblank".
# set const # set const
## Use cut to end of line by default. ## Use cut to end of line by default.
@ -86,7 +87,7 @@
# set punct ".?!" # set punct ".?!"
## Do quick statusbar blanking. Statusbar messages will disappear after ## Do quick statusbar blanking. Statusbar messages will disappear after
## 1 keystroke instead of 25. ## 1 keystroke instead of 25. Note that "const" cancels this out.
## ##
# set quickblank # set quickblank

View File

@ -157,6 +157,10 @@ Enable smooth scrolling.
@item -T [num], --tabsize=[#cols] @item -T [num], --tabsize=[#cols]
Set the displayed tab length to [#cols] columns. Set the displayed tab length to [#cols] columns.
@item -U, --quickblank
Do quick statusbar blanking. Statusbar messages will disappear after 1
keystroke instead of 25. Note that -c cancels this out.
@item -V, --version @item -V, --version
Print the version number and copyright and quit. Print the version number and copyright and quit.
@ -173,6 +177,7 @@ beginning with 'r' (e.g. "rnano").
@item -c, --const @item -c, --const
Constantly display the cursor position and line number on the statusbar. Constantly display the cursor position and line number on the statusbar.
Note that this cancels out -U.
@item -d, --rebinddelete @item -d, --rebinddelete
Interpret the Delete key differently so that both Backspace and Delete Interpret the Delete key differently so that both Backspace and Delete