Formatting fixes for nano.1 from Jean-Philippe.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1502 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Jordi Mallach 2003-06-11 10:17:20 +00:00
parent 67fa8935aa
commit 5b63eafd83
2 changed files with 48 additions and 27 deletions

View File

@ -1,6 +1,10 @@
CVS code - CVS code -
- General:
- Translation updates (see po/ChangeLog for details).
- THANKS: - THANKS:
- Added Laurentiu Buzdugan, for Romanian. - Added Laurentiu Buzdugan, for Romanian.
- nano.1:
- Formatting improvements by Jean-Philippe Guérard.
GNU nano 1.2.1 - 2003.04.19 GNU nano 1.2.1 - 2003.04.19
- General: - General:

71
nano.1
View File

@ -46,12 +46,17 @@ Write file in DOS format.
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 ~/.nano_history so they may be Log search and replace strings to
stored for later editing, if nanorc support is configured. .I~/.nano_history
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 $SYSCONFDIR/nanorc or ~/.nanorc, if nanorc support is Don't look at
available. .I $SYSCONFDIR/nanorc
or
.IR ~/.nanorc ,
if nanorc support is available.
.TP .TP
.B \-K (\-\-keypad) .B \-K (\-\-keypad)
Do not use the ncurses keypad() call unless necessary. Try this flag if Do not use the ncurses keypad() call unless necessary. Try this flag if
@ -66,8 +71,8 @@ Disable automatic conversion of files from DOS/Mac format.
.TP .TP
.B \-Q \fIstr\fP (\-\-quotestr=\fIstr\fP) .B \-Q \fIstr\fP (\-\-quotestr=\fIstr\fP)
Set the quoting string for justifying. The default is Set the quoting string for justifying. The default is
"^([ \\t]*[|>:}#])+" if regular expression support is available, or "^([\ \\t]*[|>:}#])+" if regular expression support is available, or
"> " otherwise. ">\ " otherwise.
.TP .TP
.B \-R (\-\-regexp) .B \-R (\-\-regexp)
Enable regular expression matching for search strings, as well as Enable regular expression matching for search strings, as well as
@ -84,8 +89,9 @@ Set the size (width) of a tab.
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 .nanorc to use, if Specify a specific syntax highlighting from the
available. .I .nanorc
to use, if available.
.TP .TP
.B \-c (\-\-const) .B \-c (\-\-const)
Constantly show the cursor position. Constantly show the cursor position.
@ -102,7 +108,9 @@ Enable cut from cursor to end of line with ^K.
.TP .TP
.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, do not follow it. Good for editing files in /tmp, perhaps? a new file, do not follow it. Good for editing files in
.IR /tmp ,
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).
@ -144,31 +152,38 @@ Ignored, for compatibility with Pico.
.SH INITIALIZATION FILE .SH INITIALIZATION FILE
\fBnano\fP will read initialization files in the following \fBnano\fP will read initialization files in the following
order: $SYSCONFDIR/nanorc, then ~/.nanorc. Please see nanorc(5) and order:
the example file \fBnanorc.sample\fP which should be provided with .IR $SYSCONFDIR/nanorc ,
then
.IR ~/.nanorc .
Please see
.BR nanorc (5)
and the example file \fBnanorc.sample\fP which should be provided with
\fBnano\fP. \fBnano\fP.
.SH NOTES .SH NOTES
\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 "nano.save" if the buffer didn't have a name already, or will add named
a ".save" suffix to the current filename. If an emergency file with that .I nano.save
name already exists in the current directory, ".save" and a number (e.g. if the buffer didn't have a name already, or will add a ".save" suffix
".save.1") will be suffixed to the current filename in order to make it to the current filename. If an emergency file with that name already
unique. In multibuffer mode, \fBnano\fP will write all the open buffers exists in the current directory, ".save" and a number (e.g. ".save.1")
to the respective emergency files. will be suffixed to the current filename in order to make it unique. In
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
.br .BR nano@nano-editor.org .
.B nano@nano-editor.org.
.br
The \fBnano\fP mailing list is available from The \fBnano\fP mailing list is available from
.br .BR nano-devel@gnu.org .
.B nano-devel@gnu.org.
To subscribe, email to nano-devel-request@gnu.org with a To subscribe, email to
subject of "subscribe". .B nano-devel-request@gnu.org
with a subject of "subscribe".
.SH HOMEPAGE .SH HOMEPAGE
http://www.nano-editor.org/ http://www.nano-editor.org/
@ -181,8 +196,10 @@ 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 AUTHORS and THANKS for Chris Allegretta <chrisa@asty.org>, et al (see
details). .I AUTHORS
This manual page was originally written by Jordi Mallach and
.I THANKS
for details). This manual page was originally written by Jordi Mallach
<jordi@sindominio.net>, for the Debian GNU system (but may be <jordi@sindominio.net>, for the Debian GNU system (but may be
used by others). used by others).