2014-06-17 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_undo, do_redo): Remove obsolete boolean variable.
+ * doc/man/nano.1, doc/man/nanorc.5, doc/texinfo/nano.texi: Replace
+ SYSCONFDIR with an absolute path or a circumlocution, as suggested
+ by Mike Frysinger, plus some other tweaks.
2014-06-16 David Lawrence Ramsey <pooka109@gmail.com>
* src/nano.c (do_exit): Display the message "No file name" on the
retrieved in later sessions (if \fInanorc\fP support has been compiled in).
.TP
.B \-I (\-\-ignorercfiles)
-Don't look at \fISYSCONFDIR/nanorc\fP or \fI~/.nanorc\fP
+Don't look at the system's \fBnanorc\fP nor at \fB~/.nanorc\fP
(if \fInanorc\fP support has been compiled in).
.TP
.B \-K (\-\-rebindkeypad)
.SH INITIALIZATION FILE
\fBnano\fP will read initialization files in the following order:
-\fISYSCONFDIR/nanorc\fP, then \fI~/.nanorc\fP. Please see
-\fBnanorc(5)\fP and the example file \fBnanorc.sample\fP, both of which
-should be provided with \fBnano\fP.
+the system's \fBnanorc\fP (if it exists), and then the user's
+\fB~/.nanorc\fP (if it exists). Please see
+.BR nanorc (5)
+for more information on the possible contents of those files.
.SH NOTES
If no alternative spell checker command is specified on the command
-line or in one of the \fInanorc\fP files, \fBnano\fP will check the
+line nor in one of the \fInanorc\fP files, \fBnano\fP will check the
\fBSPELL\fP environment variable for one.
In some cases \fBnano\fP will try to dump the buffer into an emergency
The \fInanorc\fP file contains the default settings for \fBnano\fP, a
small and friendly editor. The file should be in Unix format, not in
DOS or Mac format. During startup, \fBnano\fP will first read the
-system-wide settings, from \fBSYSCONFDIR/nanorc\fP, and then the
-user-specific settings, from \fB~/.nanorc\fP.
+system-wide settings, from \fB/etc/nanorc\fP (the exact path might be
+different), and then the user-specific settings, from \fB~/.nanorc\fP.
.SH OPTIONS
The configuration file accepts a series of \fBset\fP and \fBunset\fP
.SH FILES
.TP
-.B SYSCONFDIR/nanorc
-System-wide configuration file
+.B /etc/nanorc
+System-wide configuration file.
.TP
.B ~/.nanorc
-Per-user configuration file
+Per-user configuration file.
.SH SEE ALSO
.TP
\fBnano\fP(1)
retrieved in later sessions (if nanorc support has been compiled in).
@item -I, --ignorercfiles
-Don't look at SYSCONFDIR/nanorc or ~/.nanorc
+Don't look at the system's nanorc file nor at the user's ~/.nanorc
(if nanorc support has been compiled in).
@item -K, --rebindkeypad
The nanorc files contain the default settings for @code{nano}. They
should be in Unix format, not in DOS or Mac format. During startup,
-@code{nano} will first read the system-wide settings, from SYSCONFDIR/nanorc,
-and then the user-specific settings, from ~/.nanorc.
+@code{nano} will first read the system-wide settings, from /etc/nanorc
+(the exact path might be different), and then the user-specific settings,
+from ~/.nanorc.
A nanorc file accepts a series of "set" and "unset" commands, which can
be used to configure @code{nano} on startup without using command-line