--- nanorc-original.5 2003-06-11 13:21:34.000000000 +0200 +++ nanorc.5 2003-06-11 17:27:09.000000000 +0200 @@ -10,11 +10,6 @@ .\" .SH NAME nanorc \- GNU nano's rcfile -.SH SYNOPSIS -.B /etc/nanorc -.br -.B $HOME/.nanorc -.br .SH DESCRIPTION This manual page documents GNU \fBnano\fP's rcfile. .PP @@ -23,6 +18,12 @@ 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 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 /etc/nanorc , +and then user-specific settings from +.IR $HOME/.nanorc . .SH OPTIONS The configuration file accepts a series of "set" and "unset" commands, @@ -43,7 +43,8 @@ Use auto-indentation. .TP \fBset/unset backup\fP -Create backup files in filename~. +Create backup files in +.IR filename~ . .TP \fBset/unset const\fP Constantly display the cursor position in the status bar. @@ -87,10 +88,10 @@ an "extended regular expression" if your system supports them, otherwise a literal string. The default value is - set quotestr "^([ \\t]*[|>:}#])+" + set quotestr "^([\ \\t]*[|>:}#])+" -if you have regexps, otherwise set quotestr "> ". Note that '\\t' above -stands for a literal Tab character. +if you have regexps, otherwise set quotestr ">\ ". Note that '\\t' +above stands for a literal Tab character. .TP \fBset/unset regexp\fP Do regular expression searches by default. @@ -113,7 +114,9 @@ Save automatically on exit, don't prompt. .TP \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 \fBset/unset view\fP Disallow file modification. @@ -142,13 +145,24 @@ instance of \fIer\fP. \fI +.SH FILES +.TP +.I /etc/nanorc +System-wide configuration file +.TP +.I $HOME/.nanorc +Per-user configuration file .SH SEE ALSO .PD 0 .TP \fBnano\fP(1) .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 -Chris Allegretta , et al (see AUTHORS and THANKS for -details). +Chris Allegretta , et al (see +.I AUTHORS +and +.I THANKS +for details). This manual page was written by Jordi Mallach .