Expanding on nano's features, and condensing the synopsis,

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5176 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2015-04-05 09:14:13 +00:00
parent d7ade1f346
commit c2ed8277c2
2 changed files with 31 additions and 24 deletions

View File

@ -1,3 +1,7 @@
2015-04-05 Benno Schulenberg <bensberg@justemail.net>
* doc/texinfo/nano.texi: Expand on nano's features, condense the
synopsis, and "online" means something else to most people.
2015-04-03 Benno Schulenberg <bensberg@justemail.net> 2015-04-03 Benno Schulenberg <bensberg@justemail.net>
* README: Update text to the fifth milestone, 2.4.x, plus tweaks. * README: Update text to the fifth milestone, 2.4.x, plus tweaks.
* src/rcfile.c: Remove two superfluous (because nested) #ifndefs. * src/rcfile.c: Remove two superfluous (because nested) #ifndefs.

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.3 @set EDITION 0.3
@set VERSION 2.4.0 @set VERSION 2.4.1
@set UPDATED March 2015 @set UPDATED April 2015
@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.4.0 @subtitle version 2.4.1
@author Chris Allegretta @author Chris Allegretta
@page @page
@ -64,7 +64,7 @@ editor.
@menu @menu
* Introduction:: * Introduction::
* Editor Basics:: * Editor Basics::
* Online Help:: * Built-in Help::
* Feature Toggles:: * Feature Toggles::
* Nanorc Files:: * Nanorc Files::
* The File Browser:: * The File Browser::
@ -77,10 +77,10 @@ editor.
@chapter Introduction @chapter Introduction
GNU @code{nano} is a small and friendly text editor. Besides basic text GNU @code{nano} is a small and friendly text editor. Besides basic text
editing, @code{nano} offers many extra features, like an interactive editing, @code{nano} offers many extra features, such as an interactive
search-and-replace, go-to-line-and-column-number, auto-indentation, search-and-replace, undo/redo, syntax coloring, smooth scrolling,
feature toggles, internationalization support, and filename tab auto-indentation, go-to-line-and-column-number, feature toggles,
completion. file locking, backup files, and internationalization support.
@menu @menu
* Overview:: * Overview::
@ -98,23 +98,26 @@ as possible while offering a superset of Pico's functionality. See
The usual way to invoke @code{nano} is: The usual way to invoke @code{nano} is:
@quotation @quotation
@code{nano [OPTION]@dots{} [FILE]} @code{nano [FILE]}
@end quotation @end quotation
But it is also possible to edit several files in a row. Additionally, But it is also possible to specify one or more options, and to edit
the cursor can be put on a desired line number by adding this number several files in a row. Additionally, the cursor can be put on a
with a plus sign before any filename, and even in a desired column by specific line of a file by adding the line number
adding it with a comma. So the complete synopsis is: with a plus sign before the filename, and even in a specific column by
adding it with a comma. So the complete command synopsis is:
@quotation @quotation
@code{nano [OPTION]@dots{} [[+LINE] FILE]@dots{}} @code{nano [OPTION]@dots{} [[+LINE[,COLUMN]|+,COLUMN] FILE]@dots{}}
@code{nano [OPTION]@dots{} [[+,COLUMN] FILE]@dots{}}
@code{nano [OPTION]@dots{} [[+LINE,COLUMN] FILE]@dots{}}
@end quotation @end quotation
Email bug reports to @email{nano@@nano-editor.org}. But normallly you would set your preferred options in your
@file{.nanorc} file. And when the @code{poslog} option is set
(making @code{nano} remember the cursor position), you will rarely
need to specify a line number.
Please email any bug reports to @email{nano@@nano-editor.org}.
Or file them at @url{https://savannah.gnu.org/bugs/?group=nano}.
@node Command Line Options @node Command Line Options
@section Command Line Options @section Command Line Options
@ -487,12 +490,12 @@ The mouse will work in the X Window System, and on the console when gpm
is running. is running.
@node Online Help @node Built-in Help
@chapter Online Help @chapter Built-in Help
The online help system in @code{nano} is available by pressing ^G. The built-in help system in @code{nano} is available by pressing ^G.
It is fairly self-explanatory, documenting the various parts of the It is fairly self-explanatory. It documents the various parts of the
editor and available keystrokes. Navigation is via the ^Y (Page Up) editor and the available keystrokes. Navigation is via the ^Y (Page Up)
and ^V (Page Down) keys. ^X exits the help system. and ^V (Page Down) keys. ^X exits the help system.