2009-12-01 David Lawrence Ramsey <pooka109@gmail.com>

* Update documentation for 2.2 features including sample nanorc file, texinfo
          file, man pages, UPGRADE file, and update copyright noticed for the current year.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4453 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Chris Allegretta 2009-12-02 03:36:22 +00:00
parent a97cb819f2
commit 8a07a96eef
25 changed files with 132 additions and 78 deletions

View File

@ -7,8 +7,10 @@
Christian Weisgerber. Christian Weisgerber.
* doc/man/nanorc.5 - Fix typo in Meta documentation, reported by gibboris@gmail.com. * doc/man/nanorc.5 - Fix typo in Meta documentation, reported by gibboris@gmail.com.
2009-11-29 David Lawrence Ramsey <pooka109@gmail.com> 2009-12-01 David Lawrence Ramsey <pooka109@gmail.com>
* global.c (shortcut_init) - Add support for ^P and ^N in the help menu. * global.c (shortcut_init) - Add support for ^P and ^N in the help menu.
* Update documentation for 2.2 features including sample nanorc file, texinfo
file, man pages, UPGRADE file, and update copyright noticed for the current year.
GNU nano 2.2.0 - 2009.11.30 GNU nano 2.2.0 - 2009.11.30
2009-11-29 Chris Allegretta <chrisa@asty.org> 2009-11-29 Chris Allegretta <chrisa@asty.org>

16
UPGRADE
View File

@ -1,6 +1,22 @@
GNU nano upgrading information GNU nano upgrading information
============================== ==============================
Visible changes since 2.0
-------------------------
* Editor Features
- The ability to rebind (reassign) keys using the nanorc.
- The ability to read standard input like a pager ("nano -").
- Color syntax highlighting can be set by the first line of a file.
- The ability to silence nanorc error messages (-q).
- Undo/redo operations (-u).
- Soft wrapping of text (-$).
* File Handling
- Better handling of backup files: if nano can't write a backup file,
it won't try to write the original file afterward.
- Emergency savefiles retain ownerships and permissions when possible.
- Performance improvements in color syntax highlighting.
Visible changes since 1.2 Visible changes since 1.2
------------------------- -------------------------
* Editor Features * Editor Features

View File

@ -83,9 +83,9 @@
<h2><a name="1.5"></a>1.5. Why the name change from TIP?</h2> <h2><a name="1.5"></a>1.5. Why the name change from TIP?</h2>
<blockquote><p>On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program &quot;establishes a full duplex terminal connection to a remote host&quot;, and was included with many older Unix systems (and newer ones like Solaris). The conflict was not noticed at first because there is no 'tip' utility included with most GNU/Linux distributions (where nano was developed).</p></blockquote> <blockquote><p>On January 10, 2000, TIP was officially renamed to nano because of a namespace conflict with another program called 'tip'. The original 'tip' program &quot;establishes a full duplex terminal connection to a remote host&quot;, and was included with many older Unix systems (and newer ones like Solaris). The conflict was not noticed at first because there is no 'tip' utility included with most GNU/Linux distributions (where nano was developed).</p></blockquote>
<h2><a name="1.6"></a>1.6. What is the current version of nano?</h2> <h2><a name="1.6"></a>1.6. What is the current version of nano?</h2>
<blockquote><p>The current version of nano *should* be 2.0.7. Of course, you should always check the nano homepage to see what the latest and greatest version is.</p></blockquote> <blockquote><p>The current version of nano *should* be 2.2.0. Of course, you should always check the nano homepage to see what the latest and greatest version is.</p></blockquote>
<h2><a name="1.7"></a>1.7. I want to read the man page without having to download the program!</h2> <h2><a name="1.7"></a>1.7. I want to read the man page without having to download the program!</h2>
<blockquote><p>Jeez, demanding, aren't we? Okay, look <a href="http://www.nano-editor.org/dist/v2.0/nano.1.html">here</a>.</p></blockquote> <blockquote><p>Jeez, demanding, aren't we? Okay, look <a href="http://www.nano-editor.org/dist/v2.2/nano.1.html">here</a>.</p></blockquote>
<hr width="100%"> <hr width="100%">
<h1><a name="2"></a>2. Where to get GNU nano.</h1> <h1><a name="2"></a>2. Where to get GNU nano.</h1>
<h2><a name="2.1"></a>2.1. FTP and WWW sites that carry nano.</h2> <h2><a name="2.1"></a>2.1. FTP and WWW sites that carry nano.</h2>
@ -99,8 +99,8 @@
<h2><a name="2.2"></a>2.2. RedHat and derivatives (.rpm) packages.</h2> <h2><a name="2.2"></a>2.2. RedHat and derivatives (.rpm) packages.</h2>
<blockquote> <blockquote>
<ul> <ul>
<li><a href="http://www.nano-editor.org/dist/v2.0/RPMS/">http://www.nano-editor.org/dist/v2.0/RPMS/</a></li> <li><a href="http://www.nano-editor.org/dist/v2.2/RPMS/">http://www.nano-editor.org/dist/v2.2/RPMS/</a></li>
<li><a href="http://www.ewtoo.org/~astyanax/nano/dist/v2.0/RPMS/">http://www.ewtoo.org/~astyanax/nano/dist/v2.0/RPMS/</a></li> <li><a href="http://www.ewtoo.org/~astyanax/nano/dist/v2.2/RPMS/">http://www.ewtoo.org/~astyanax/nano/dist/v2.2/RPMS/</a></li>
</ul> </ul>
</blockquote> </blockquote>
<h2><a name="2.3"></a>2.3. Debian (.deb) packages.</h2> <h2><a name="2.3"></a>2.3. Debian (.deb) packages.</h2>
@ -246,7 +246,7 @@ Of course, due to the license change you can now use the <A HREF="http://www.was
help-nano - <a href="http://mail.gnu.org/mailman/listinfo/help-nano/">http://mail.gnu.org/mailman/listinfo/help-nano/</a><br> help-nano - <a href="http://mail.gnu.org/mailman/listinfo/help-nano/">http://mail.gnu.org/mailman/listinfo/help-nano/</a><br>
nano-devel - <a href="http://mail.gnu.org/mailman/listinfo/nano-devel/">http://mail.gnu.org/mailman/listinfo/nano-devel/</a></p></blockquote> nano-devel - <a href="http://mail.gnu.org/mailman/listinfo/nano-devel/">http://mail.gnu.org/mailman/listinfo/nano-devel/</a></p></blockquote>
<h2><a name="7.2"></a>7.2. I want to send the development team a big load of cash (or just a thank you).</h2> <h2><a name="7.2"></a>7.2. I want to send the development team a big load of cash (or just a thank you).</h2>
<blockquote><p>That's fine. Send it <a href="mailto:nano-devel@gnu.org">our way</a>! Better yet, fix a <a href="http://www.nano-editor.org/dist/v2.0/BUGS">bug</a> in the program or implement a <a href="http://www.nano-editor.org/dist/v2.0/TODO">cool feature</a> and send us that instead (though cash is fine too).</p></blockquote> <blockquote><p>That's fine. Send it <a href="mailto:nano-devel@gnu.org">our way</a>! Better yet, fix a <a href="http://www.nano-editor.org/dist/v2.2/BUGS">bug</a> in the program or implement a <a href="http://www.nano-editor.org/dist/v2.2/TODO">cool feature</a> and send us that instead (though cash is fine too).</p></blockquote>
<h2><a name="7.3"></a>7.3. How do I submit a bug report or patch?</h2> <h2><a name="7.3"></a>7.3. How do I submit a bug report or patch?</h2>
<blockquote> <blockquote>
<p>The best place to submit bugs is to the <A HREF="https://savannah.gnu.org/bugs/?group=nano">Savannah bug tracker</A> as you can check whether the bug you are submitting has already been submitted. <p>The best place to submit bugs is to the <A HREF="https://savannah.gnu.org/bugs/?group=nano">Savannah bug tracker</A> as you can check whether the bug you are submitting has already been submitted.
@ -256,8 +256,10 @@ Of course, due to the license change you can now use the <A HREF="http://www.was
<h2><a name="7.5"></a>7.5. Can I have write access to the subversion tree?</h2> <h2><a name="7.5"></a>7.5. Can I have write access to the subversion tree?</h2>
<blockquote><p>Re-read Section <a href="#7.4">7.4</a> and you should know the answer.</p></blockquote> <blockquote><p>Re-read Section <a href="#7.4">7.4</a> and you should know the answer.</p></blockquote>
<h2><a name="8"></a>8. ChangeLog</h2> <h2><a name="8"></a>8. ChangeLog</h2>
<blockquote><p>2007/12/21 - Update maintainer information. (DLR)<br> <blockquote><p>2009/11/30 - Update various bits for nano 2.2.x. (DLR)<br>
2008/03/16 - Update docs to refer to subversion instead of CVS, add more words about Apline, and refer to Savannah for bugs and patches. (chrisa) 2009/11/18 - Typo fix. (j.mader@gmail.com)<br>
2008/03/16 - Update docs to refer to subversion instead of CVS, add more words about Alpine, and refer to Savannah for bugs and patches. (chrisa)<br>
2007/12/21 - Update maintainer information. (DLR)<br>
2007/12/09 - Add minor punctuation and wording fixes, and update various sections to account for Alpine. (DLR)<br> 2007/12/09 - Add minor punctuation and wording fixes, and update various sections to account for Alpine. (DLR)<br>
2007/08/26 - Update links to the Free Translation Project. (DLR)<br> 2007/08/26 - Update links to the Free Translation Project. (DLR)<br>
2007/07/29 - Update RPM links for nano 2.0.x. (DLR)<br> 2007/07/29 - Update RPM links for nano 2.0.x. (DLR)<br>

View File

@ -1,6 +1,6 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.\" Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 .\" Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
.\" Free Software Foundation, Inc. .\" 2008, 2009 Free Software Foundation, Inc.
.\" .\"
.\" This document is dual-licensed. You may distribute and/or modify it .\" This document is dual-licensed. You may distribute and/or modify it
.\" under the terms of either of the following licenses: .\" under the terms of either of the following licenses:
@ -19,7 +19,7 @@
.\" <http://www.gnu.org/licenses/>. .\" <http://www.gnu.org/licenses/>.
.\" .\"
.\" $Id$ .\" $Id$
.TH NANO 1 "version 2.0.0" "August 23, 2007" .TH NANO 1 "version 2.2.0" "November 30, 2009"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
@ -79,11 +79,11 @@ Enable multiple file buffers, if available.
.TP .TP
.B \-H (\-\-historylog) .B \-H (\-\-historylog)
Log search and replace strings to \fI~/.nano_history\fP, so they can be Log search and replace strings to \fI~/.nano_history\fP, so they can be
retrieved in later sessions, if nanorc support is available. retrieved in later sessions, if \fInanorc\fP support is available.
.TP .TP
.B \-I (\-\-ignorercfiles) .B \-I (\-\-ignorercfiles)
Don't look at \fISYSCONFDIR/nanorc\fP or \fI~/.nanorc\fP, if nanorc Don't look at \fISYSCONFDIR/nanorc\fP or \fI~/.nanorc\fP, if
support is available. \fInanorc\fP support is available.
.TP .TP
.B \-K (\-\-rebindkeypad) .B \-K (\-\-rebindkeypad)
Interpret the numeric keypad keys so that they all work properly. You Interpret the numeric keypad keys so that they all work properly. You
@ -107,10 +107,11 @@ Tab.
.TP .TP
.B \-R (\-\-restricted) .B \-R (\-\-restricted)
Restricted mode: don't read or write to any file not specified on the Restricted mode: don't read or write to any file not specified on the
command line; read any nanorc files; allow suspending; allow a file command line; read any \fInanorc\fP files; allow suspending; allow a
to be appended to, prepended to, or saved under a different name if it file to be appended to, prepended to, or saved under a different name if
already has one; or use backup files or spell checking. Also accessible it already has one; or use backup files or spell checking. Also
by invoking \fBnano\fP with any name beginning with 'r' (e.g. "rnano"). accessible by invoking \fBnano\fP with any name beginning with 'r' (e.g.
"rnano").
.TP .TP
.B \-S (\-\-smooth) .B \-S (\-\-smooth)
Enable smooth scrolling. Text will scroll line-by-line, instead of the Enable smooth scrolling. Text will scroll line-by-line, instead of the
@ -173,8 +174,8 @@ Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught
by the terminal. by the terminal.
.TP .TP
.B \-q (\-\-quiet) .B \-q (\-\-quiet)
Do not report errors in the nanorc file and ask them to Do not report errors in the \fInanorc\fP file and ask them to be
be acknowledged by pressing enter at startup. acknowledged by pressing Enter at startup.
.TP .TP
.B \-r \fIcols\fP (\-\-fill=\fIcols\fP) .B \-r \fIcols\fP (\-\-fill=\fIcols\fP)
Wrap lines at column \fIcols\fP. If this value is 0 or less, wrapping Wrap lines at column \fIcols\fP. If this value is 0 or less, wrapping
@ -206,11 +207,11 @@ Disable help screen at bottom of editor.
Enable suspend ability. Enable suspend ability.
.TP .TP
.B \-$ (\-\-softwrap) .B \-$ (\-\-softwrap)
Enable 'soft wrapping'. Nano will attempt to display lines the entire Enable 'soft wrapping'. \fBnano\fP will attempt to display the entire
contents of a line, even if it is longer than the screen width. contents of a line, even if it is longer than the screen width. Since
Since '$' normally refers to a variable in the Unix shell, you should '$' normally refers to a variable in the Unix shell, you should specify
specify this option last when using other options (e.g. 'nano -wS$') this option last when using other options (e.g. 'nano -wS$') or pass it
or pass it separately (e.g. 'nano -wS -$'). separately (e.g. 'nano -wS -$').
.TP .TP
.B \-a, \-b, \-e, \-f, \-g, \-j .B \-a, \-b, \-e, \-f, \-g, \-j
Ignored, for compatibility with Pico. Ignored, for compatibility with Pico.
@ -223,7 +224,7 @@ should be provided with \fBnano\fP.
.SH NOTES .SH NOTES
If no alternative spell checker command is specified on the command If no alternative spell checker command is specified on the command
line or in one of the nanorc files, \fBnano\fP will check the line or in one of the \fInanorc\fP files, \fBnano\fP will check the
\fBSPELL\fP environment variable for one. \fBSPELL\fP environment variable for one.
In some cases \fBnano\fP will try to dump the buffer into an emergency In some cases \fBnano\fP will try to dump the buffer into an emergency

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.\" Copyright (C) 2003, 2004, 2005, 2006, 2007 .\" Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
.\" Free Software Foundation, Inc. .\" Free Software Foundation, Inc.
.\" .\"
.\" This document is dual-licensed. You may distribute and/or modify it .\" This document is dual-licensed. You may distribute and/or modify it
@ -45,9 +45,9 @@ the command line options. Additionally, the \fBsyntax\fP, \fBcolor\fP,
and \fBicolor\fP keywords are used to define syntax highlighting rules and \fBicolor\fP keywords are used to define syntax highlighting rules
for different text patterns. \fBnano\fP will read one command per line. for different text patterns. \fBnano\fP will read one command per line.
Options in nanorc files take precedence over nano's defaults, and Options in \fInanorc\fP files take precedence over nano's defaults, and
command line options override nanorc settings. Also, options are unset command line options override \fInanorc\fP settings. Also, options are
by default, except for those that take arguments. unset by default, except for those that take arguments.
Quotes inside string parameters don't have to be escaped with Quotes inside string parameters don't have to be escaped with
backslashes. The last double quote in the string will be treated as its backslashes. The last double quote in the string will be treated as its
@ -146,9 +146,9 @@ punctuation, optionally followed by closing brackets, can end sentences.
The default value is "\fI!.?\fP". The default value is "\fI!.?\fP".
.TP .TP
.B set/unset quiet .B set/unset quiet
\fBnano\fP will not report errors in the nanorc file and ask them to \fBnano\fP will not report errors in the \fInanorc\fP file and ask them
be acknowledged by pressing enter at startup. If this is used it should to be acknowledged by pressing enter at startup. If this is used it
be placed at the top of the file to be fully effective. should be placed at the top of the file to be fully effective.
.TP .TP
.B set/unset quickblank .B set/unset quickblank
Do quick statusbar blanking. Statusbar messages will disappear after 1 Do quick statusbar blanking. Statusbar messages will disappear after 1
@ -414,7 +414,7 @@ Refresh the screen.
Undo the text action peformed (add text, delete text, etc). Undo the text action peformed (add text, delete text, etc).
.TP .TP
.B redo .B redo
"Re-do" the last undone action (i.e. undo an undo) Redo the last undone action (i.e., undo an undo).
.TP .TP
.B suspend .B suspend
Suspend the editor (if the suspend function is enabled, see the Suspend the editor (if the suspend function is enabled, see the

View File

@ -141,6 +141,9 @@
## Use smooth scrolling as the default. ## Use smooth scrolling as the default.
# set smooth # set smooth
## Enable soft line wrapping (AKA full line display).
# set softwrap
## Use this spelling checker instead of the internal one. This option ## Use this spelling checker instead of the internal one. This option
## does not properly have a default value. ## does not properly have a default value.
## ##
@ -149,6 +152,10 @@
## Allow nano to be suspended. ## Allow nano to be suspended.
# set suspend # set suspend
## If nano is allowed to be suspended, allow the suspend key (usually
## ^Z) to actually suspend it.
# set suspendenable
## Use this tab size instead of the default; it must be greater than 0. ## Use this tab size instead of the default; it must be greater than 0.
# set tabsize 8 # set tabsize 8
@ -158,6 +165,10 @@
## Save automatically on exit, don't prompt. ## Save automatically on exit, don't prompt.
# set tempfile # set tempfile
## Enable the new (EXPERIMENTAL) generic undo code, not just for line
## cuts.
# set undo
## Disallow file modification. Why would you want this in an rcfile? ;) ## Disallow file modification. Why would you want this in an rcfile? ;)
# set view # set view
@ -170,12 +181,6 @@
## characters as parts of words. ## characters as parts of words.
# set wordbounds # set wordbounds
## Enable the new (EXPERIMENTAL) generic undo code, not just for line cuts
# set undo
## Enable soft line wrapping (AKA full line display)
# set softwrap
## Color setup ## Color setup
## ##

View File

@ -4,7 +4,7 @@ syntax "nanorc" "\.?nanorc$"
## Possible errors and parameters ## Possible errors and parameters
icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
## Keywords ## Keywords
icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|view|whitespace|wordbounds)\>" icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>"
icolor green "^[[:space:]]*(set|unset|include|syntax|header)\>" icolor green "^[[:space:]]*(set|unset|include|syntax|header)\>"
## Colors ## Colors
icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>" icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"

View File

@ -8,8 +8,8 @@
@c Run 'makeinfo' rather than 'texinfo-format-buffer'. @c Run 'makeinfo' rather than 'texinfo-format-buffer'.
@smallbook @smallbook
@set EDITION 0.1 @set EDITION 0.1
@set VERSION 2.0.0 @set VERSION 2.2.0
@set UPDATED 17 Dec 2007 @set UPDATED 30 Nov 2009
@dircategory Editors @dircategory Editors
@direntry @direntry
@ -23,7 +23,7 @@
@titlepage @titlepage
@title GNU @code{nano} @title GNU @code{nano}
@subtitle a small and friendly text editor. @subtitle a small and friendly text editor.
@subtitle version 2.0.0 @subtitle version 2.2.0
@author Chris Allegretta @author Chris Allegretta
@page @page
@ -33,8 +33,8 @@ editor.
This manual is part of the GNU @code{nano} distribution.@* This manual is part of the GNU @code{nano} distribution.@*
@sp4 @sp4
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
Free Software Foundation, Inc. 2008, 2009 Free Software Foundation, Inc.
This document is dual-licensed. You may distribute and/or modify it This document is dual-licensed. You may distribute and/or modify it
under the terms of either of the following licenses: under the terms of either of the following licenses:
@ -249,6 +249,10 @@ a chroot.
Preserve the ^Q (XON) and ^S (XOFF) sequences so data being sent to the Preserve the ^Q (XON) and ^S (XOFF) sequences so data being sent to the
editor can be can be stopped and started. editor can be can be stopped and started.
@item -q, --quiet
Do not report errors in the nanorc file and ask them to be acknowledged
by pressing Enter at startup.
@item -r <#cols>, --fill=<#cols> @item -r <#cols>, --fill=<#cols>
Wrap lines at column #cols. If this value is 0 or less, wrapping will Wrap lines at column #cols. If this value is 0 or less, wrapping will
occur at the width of the screen less #cols, allowing it to vary along occur at the width of the screen less #cols, allowing it to vary along
@ -266,6 +270,10 @@ Don't ask whether or not to save the current contents of the file when
exiting, assume yes. This is most useful when using @code{nano} as the exiting, assume yes. This is most useful when using @code{nano} as the
composer of a mailer program. composer of a mailer program.
@item -u, --undo
Enable experimental generic-purpose undo code. By default, the undo and
redo shortcuts are Meta-U and Meta-E, respectively.
@item -v, --view @item -v, --view
Don't allow the contents of the file to be altered. Note that this Don't allow the contents of the file to be altered. Note that this
option should NOT be used in place of correct file permissions to option should NOT be used in place of correct file permissions to
@ -288,6 +296,13 @@ disabled to display the help system navigation keys.
Enable @code{nano}'s suspend ability using the system's suspend Enable @code{nano}'s suspend ability using the system's suspend
keystroke (usually ^Z). keystroke (usually ^Z).
@item -$, --softwrap
Enable 'soft wrapping'. @code{nano} will attempt to display the entire
contents of a line, even if it is longer than the screen width. Since
'$' normally refers to a variable in the Unix shell, you should specify
this option last when using other options (e.g. 'nano -wS$') or pass it
separately (e.g. 'nano -wS -$').
@item -a, -b, -e, -f, -g, -j @item -a, -b, -e, -f, -g, -j
Ignored, for compatibility with Pico. Ignored, for compatibility with Pico.
@end table @end table
@ -447,6 +462,9 @@ nanorc. See @xref{Nanorc Files}, for more info.
@item Suspend Toggle (Meta-Z) @item Suspend Toggle (Meta-Z)
toggles the -z (@code{--suspend}) command line option. toggles the -z (@code{--suspend}) command line option.
@item Soft Wrapping Toggle (Meta-$)
toggles the -$ (@code{--softwrap}) command line option.
@end table @end table
@ -615,6 +633,9 @@ line.
@item set/unset smooth @item set/unset smooth
Use smooth scrolling by default. Use smooth scrolling by default.
@item set/unset softwrap
Use soft wrapping by default.
@item set speller "spellprog" @item set speller "spellprog"
Use spelling checker "spellprog" instead of the built-in one, which Use spelling checker "spellprog" instead of the built-in one, which
calls "spell". calls "spell".
@ -622,6 +643,10 @@ calls "spell".
@item set/unset suspend @item set/unset suspend
Allow @code{nano} to be suspended. Allow @code{nano} to be suspended.
@item set/unset suspendenable
If @code{nano} is allowed to be suspended, allow the suspend key
(usually ^Z) to actually suspend it.
@item set tabsize "n" @item set tabsize "n"
Use a tab size of "n" columns. The value of "n" must be greater than 0. Use a tab size of "n" columns. The value of "n" must be greater than 0.
The default value is 8. The default value is 8.
@ -632,6 +657,9 @@ Convert typed tabs to spaces.
@item set/unset tempfile @item set/unset tempfile
Save automatically on exit, don't prompt. Save automatically on exit, don't prompt.
@item set/unset undo
Enable experimental generic-purpose undo code.
@item set/unset view @item set/unset view
Disallow file modification. Disallow file modification.

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* browser.c * * browser.c *
* * * *
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 *
* Free Software Foundation, Inc. * * Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* chars.c * * chars.c *
* * * *
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 *
* Free Software Foundation, Inc. * * Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* color.c * * color.c *
* * * *
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 *
* Free Software Foundation, Inc. * * Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* cut.c * * cut.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* files.c * * files.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* global.c * * global.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* help.c * * help.c *
* * * *
* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, *
* Free Software Foundation, Inc. * * 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* move.c * * move.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* nano.c * * nano.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *
@ -936,8 +936,8 @@ void version(void)
{ {
printf(_(" GNU nano version %s (compiled %s, %s)\n"), VERSION, printf(_(" GNU nano version %s (compiled %s, %s)\n"), VERSION,
__TIME__, __DATE__); __TIME__, __DATE__);
printf(" (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007\n"); printf(" (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,\n");
printf(" Free Software Foundation, Inc.\n"); printf(" 2008, 2009 Free Software Foundation, Inc.\n");
printf( printf(
_(" Email: nano@nano-editor.org Web: http://www.nano-editor.org/")); _(" Email: nano@nano-editor.org Web: http://www.nano-editor.org/"));
printf(_("\n Compiled options:")); printf(_("\n Compiled options:"));

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* nano.h * * nano.h *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* prompt.c * * prompt.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* proto.h * * proto.h *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* rcfile.c * * rcfile.c *
* * * *
* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 *
* Free Software Foundation, Inc. * * Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* search.c * * search.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* text.c * * text.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* utils.c * * utils.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *

View File

@ -2,8 +2,8 @@
/************************************************************************** /**************************************************************************
* winio.c * * winio.c *
* * * *
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 * * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, *
* Free Software Foundation, Inc. * * 2008, 2009 Free Software Foundation, Inc. *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3, or (at your option) * * the Free Software Foundation; either version 3, or (at your option) *