commit 498e13df30e0454d2b3b1d2597861c48b0b38640
parent ae064bf25566fbb3715759a0c1735ce9a49c4dc3
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 1 Jun 2004 22:56:34 +0000
document the use of the SPELL environment variable
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1799 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -399,6 +399,7 @@ CVS code -
- Document restricted mode. (IO ERROR) DLR: Add minor
modifications to account for the above changes.
- Document the smart home key option. (DLR)
+ - Document the use of the SPELL environment variable. (DLR)
- nanorc.5:
- Document the smart home key option. (DLR)
- Document the whitespace option. (DLR, adapted from
@@ -413,6 +414,7 @@ CVS code -
sorting/uniqueness filtering for the internal spell chacker
were added in nano 1.1.99pre1. (DLR)
- Document the smart home key option. (DLR)
+ - Document the use of the SPELL environment variable. (DLR)
- nanorc.sample:
- Add missing mouse entry, and update the nanorc sample regexes
to account for the backupdir and mouse options. (DLR)
diff --git a/doc/man/nano.1 b/doc/man/nano.1
@@ -96,7 +96,7 @@ Show the current version number and author.
.TP
.B \-Y \fIstr\fP (\-\-syntax=\fIstr\fP)
Specify a specific syntax highlighting from the
-.I .nanorc
+.I nanorc
to use, if available.
.TP
.B \-Z (\-\-restricted)
@@ -179,6 +179,10 @@ and the example file \fBnanorc.sample\fP which should be provided with
\fBnano\fP.
.SH NOTES
+If no alternative spell checker command is specified on the command
+line or in one of the nanorc files, \fBnano\fP will check the
+\fBSPELL\fP environment variable for one.
+
\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
SIGTERM or runs out of memory, when it will write the buffer into a file
diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi
@@ -213,9 +213,10 @@ from the right of the screen, allowing it to vary along with the screen
width if the screen is resized.
@item -s [prog], --speller=[prog]
-Invoke [prog] as the spell checker. By default, @code{nano} uses its
-own interactive spell checker that requires the @code{spell} program be
-installed on your system.
+Invoke [prog] as the spell checker. By default, @code{nano} uses the
+command specified in the SPELL environment variable, or, if SPELL is not
+set, its own interactive spell checker that requires the @code{spell}
+program to be installed on your system.
@item -t, --tempfile
Do not ask whether or not to save the current contents of the file when