More formatting fixes for nanorc.5 from Jean-Philippe.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1505 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
9e74ade187
commit
d995e9a762
|
@ -4,7 +4,7 @@ CVS code -
|
||||||
- THANKS:
|
- THANKS:
|
||||||
- Added Laurentiu Buzdugan, for Romanian.
|
- Added Laurentiu Buzdugan, for Romanian.
|
||||||
- Added Geir Helland, for Norwegian Bokmål.
|
- Added Geir Helland, for Norwegian Bokmål.
|
||||||
- nano.1:
|
- nano.1, nanorc.5:
|
||||||
- Formatting improvements by Jean-Philippe Guérard.
|
- Formatting improvements by Jean-Philippe Guérard.
|
||||||
|
|
||||||
GNU nano 1.2.1 - 2003.04.19
|
GNU nano 1.2.1 - 2003.04.19
|
||||||
|
|
41
nanorc.5
41
nanorc.5
|
@ -10,11 +10,6 @@
|
||||||
.\"
|
.\"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nanorc \- GNU nano's rcfile
|
nanorc \- GNU nano's rcfile
|
||||||
.SH SYNOPSIS
|
|
||||||
.B /etc/nanorc
|
|
||||||
.br
|
|
||||||
.B $HOME/.nanorc
|
|
||||||
.br
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This manual page documents GNU \fBnano\fP's rcfile.
|
This manual page documents GNU \fBnano\fP's rcfile.
|
||||||
.PP
|
.PP
|
||||||
|
@ -23,6 +18,12 @@ Pico, the default editor included in the non-free Pine package. Rather
|
||||||
than just copying Pico's look and feel, \fBnano\fP also implements some
|
than just copying Pico's look and feel, \fBnano\fP also implements some
|
||||||
missing (or disabled by default) features in Pico, such as "search and
|
missing (or disabled by default) features in Pico, such as "search and
|
||||||
replace" and "go to line number".
|
replace" and "go to line number".
|
||||||
|
.PP
|
||||||
|
The \fInanorc\fP file contains the default settings for \fBnano\fP.
|
||||||
|
During startup, \fBnano\fP will first read its system-wide settings from
|
||||||
|
.IR $SYSCONFDIR/nanorc ,
|
||||||
|
and then user-specific settings from
|
||||||
|
.IR $HOME/.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,
|
||||||
|
@ -43,7 +44,8 @@ The supported commands and arguments are:
|
||||||
Use auto-indentation.
|
Use auto-indentation.
|
||||||
.TP
|
.TP
|
||||||
\fBset/unset backup\fP
|
\fBset/unset backup\fP
|
||||||
Create backup files in filename~.
|
Create backup files in
|
||||||
|
.IR filename~ .
|
||||||
.TP
|
.TP
|
||||||
\fBset/unset const\fP
|
\fBset/unset const\fP
|
||||||
Constantly display the cursor position in the status bar.
|
Constantly display the cursor position in the status bar.
|
||||||
|
@ -87,10 +89,10 @@ The email-quote string, used to justify email-quoted paragraphs. This is
|
||||||
an "extended regular expression" if your system supports them, otherwise a
|
an "extended regular expression" if your system supports them, otherwise a
|
||||||
literal string. The default value is
|
literal string. The default value is
|
||||||
|
|
||||||
set quotestr "^([ \\t]*[|>:}#])+"
|
set quotestr "^([\ \\t]*[|>:}#])+"
|
||||||
|
|
||||||
if you have regexps, otherwise set quotestr "> ". Note that '\\t' above
|
if you have regexps, otherwise set quotestr ">\ ". Note that '\\t'
|
||||||
stands for a literal Tab character.
|
above stands for a literal Tab character.
|
||||||
.TP
|
.TP
|
||||||
\fBset/unset regexp\fP
|
\fBset/unset regexp\fP
|
||||||
Do regular expression searches by default.
|
Do regular expression searches by default.
|
||||||
|
@ -113,7 +115,9 @@ than 0.
|
||||||
Save automatically on exit, don't prompt.
|
Save automatically on exit, don't prompt.
|
||||||
.TP
|
.TP
|
||||||
\fBset/unset historylog\fP
|
\fBset/unset historylog\fP
|
||||||
Enable ~/.nano_history for saving and reading search/replace strings.
|
Enable
|
||||||
|
.I~/.nano_history
|
||||||
|
for saving and reading search/replace strings.
|
||||||
.TP
|
.TP
|
||||||
\fBset/unset view\fP
|
\fBset/unset view\fP
|
||||||
Disallow file modification.
|
Disallow file modification.
|
||||||
|
@ -142,13 +146,24 @@ an initial \fIsr\fP is found will be highlighted until the first
|
||||||
instance of \fIer\fP.
|
instance of \fIer\fP.
|
||||||
\fI
|
\fI
|
||||||
|
|
||||||
|
.SH FILES
|
||||||
|
.TP
|
||||||
|
.I $SYSCONFDIR/nanorc
|
||||||
|
System-wide configuration file
|
||||||
|
.TP
|
||||||
|
.I $HOME/.nanorc
|
||||||
|
Per-user configuration file
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.PD 0
|
.PD 0
|
||||||
.TP
|
.TP
|
||||||
\fBnano\fP(1)
|
\fBnano\fP(1)
|
||||||
.PP
|
.PP
|
||||||
\fI/usr/share/doc/nano/examples/nanorc.sample\fP (or equivalent on your system)
|
\fI/usr/share/doc/nano/examples/nanorc.sample\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
|
||||||
|
and
|
||||||
|
.I THANKS
|
||||||
|
for details).
|
||||||
This manual page was written by Jordi Mallach <jordi@gnu.org>.
|
This manual page was written by Jordi Mallach <jordi@gnu.org>.
|
||||||
|
|
Loading…
Reference in New Issue