Commit 37d638a0 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Slightly improving the formatting and wording of two man pages.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4634 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 17 additions and 16 deletions
+17 -16
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
* src/move.c (do_down) - Trim some redundant code, and correct * src/move.c (do_down) - Trim some redundant code, and correct
the scrolling behaviour when softwrap is off -- the construct the scrolling behaviour when softwrap is off -- the construct
(amount ? amount : 1) wasn't doing what I intended. (amount ? amount : 1) wasn't doing what I intended.
* doc/man/nano{.1,rc.5} - Slightly improve formatting and wording.
2014-03-01 Chris Allegretta <chrisa@asty.org> 2014-03-01 Chris Allegretta <chrisa@asty.org>
* global.c (shortcut_init) - fix an issue with the split * global.c (shortcut_init) - fix an issue with the split
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
.\" <http://www.gnu.org/licenses/>. .\" <http://www.gnu.org/licenses/>.
.\" .\"
.\" $Id$ .\" $Id$
.TH NANO 1 "version 2.2.0" "November 30, 2009" .TH NANO 1 "version 2.3.3" "March 2014"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
...@@ -28,7 +28,7 @@ nano \- Nano's ANOther editor, an enhanced free Pico clone ...@@ -28,7 +28,7 @@ nano \- Nano's ANOther editor, an enhanced free Pico clone
.SH SYNOPSIS .SH SYNOPSIS
.B nano .B nano
.I [OPTIONS]\ [[\+LINE,COLUMN]\ FILE]... .RI [ options "] [[\+" line , column "]\ " file "]..."
.br .br
.SH DESCRIPTION .SH DESCRIPTION
...@@ -45,13 +45,13 @@ replace" and "go to line and column number". ...@@ -45,13 +45,13 @@ replace" and "go to line and column number".
.SH OPTIONS .SH OPTIONS
.TP .TP
.B \+\fILINE\fP,\fICOLUMN\fP .B \+\fIline\fP,\fIcolumn\fP
Places cursor at line number \fILINE\fP and column number \fICOLUMN\fP Places the cursor on line number \fIline\fP and at column number \fIcolumn\fP
(at least one of which must be specified) on startup, instead of the (at least one of which must be specified) on startup, instead of the
default of line 1, column 1. default line 1, column 1.
.TP .TP
.B \-? .B \-?
Same as \fB-h (\-\-help)\fP. Same as \fB\-h (\-\-help)\fP.
.TP .TP
.B \-A (\-\-smarthome) .B \-A (\-\-smarthome)
Make the Home key smarter. When Home is pressed anywhere but at the Make the Home key smarter. When Home is pressed anywhere but at the
...@@ -129,7 +129,7 @@ Set the size (width) of a tab to \fIcols\fP columns. The value of ...@@ -129,7 +129,7 @@ Set the size (width) of a tab to \fIcols\fP columns. The value of
.TP .TP
.B \-U (\-\-quickblank) .B \-U (\-\-quickblank)
Do quick statusbar blanking. Statusbar messages will disappear after 1 Do quick statusbar blanking. Statusbar messages will disappear after 1
keystroke instead of 25. Note that \fB-c\fP overrides this. keystroke instead of 25. Note that \fB\-c\fP overrides this.
.TP .TP
.B \-V (\-\-version) .B \-V (\-\-version)
Show the current version number and exit. Show the current version number and exit.
...@@ -143,7 +143,7 @@ Specify a specific syntax highlighting from the \fInanorc\fP to use, if ...@@ -143,7 +143,7 @@ Specify a specific syntax highlighting from the \fInanorc\fP to use, if
available. available.
.TP .TP
.B \-c (\-\-const) .B \-c (\-\-const)
Constantly show the cursor position. Note that this overrides \fB-U\fP. Constantly show the cursor position. Note that this overrides \fB\-U\fP.
.TP .TP
.B \-d (\-\-rebinddelete) .B \-d (\-\-rebinddelete)
Interpret the Delete key differently so that both Backspace and Delete Interpret the Delete key differently so that both Backspace and Delete
...@@ -151,7 +151,7 @@ work properly. You should only need to use this option if Backspace ...@@ -151,7 +151,7 @@ work properly. You should only need to use this option if Backspace
acts like Delete on your system. acts like Delete on your system.
.TP .TP
.B \-h (\-\-help) .B \-h (\-\-help)
Show a summary of command line options and exit. Show a summary of the available command-line options and exit.
.TP .TP
.B \-i (\-\-autoindent) .B \-i (\-\-autoindent)
Indent new lines to the previous line's indentation. Useful when Indent new lines to the previous line's indentation. Useful when
...@@ -180,7 +180,7 @@ Preserve the XON and XOFF sequences (^Q and ^S) so they will be caught ...@@ -180,7 +180,7 @@ 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 \fInanorc\fP file and ask them to be Do not report errors in the \fInanorc\fP file nor ask them to 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)
...@@ -193,7 +193,7 @@ is resized. The default value is \-8. ...@@ -193,7 +193,7 @@ is resized. The default value is \-8.
Enable alternative spell checker command. Enable alternative spell checker command.
.TP .TP
.B \-t (\-\-tempfile) .B \-t (\-\-tempfile)
Always save changed buffer without prompting. Same as Pico's \fB-t\fP Always save changed buffer without prompting. Same as Pico's \fB\-t\fP
option. option.
.TP .TP
.B \-u (\-\-undo) .B \-u (\-\-undo)
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
.\" <http://www.gnu.org/licenses/>. .\" <http://www.gnu.org/licenses/>.
.\" .\"
.\" $Id$ .\" $Id$
.TH NANORC 5 "version 2.3.2" "February 2014 .TH NANORC 5 "version 2.3.3" "March 2014"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.SH NAME .SH NAME
...@@ -246,9 +246,9 @@ special: it takes no \fIfileregex\fP, and applies to files that don't ...@@ -246,9 +246,9 @@ special: it takes no \fIfileregex\fP, and applies to files that don't
match any other syntax's \fIfileregex\fP. match any other syntax's \fIfileregex\fP.
.TP .TP
.B linter \fIprogram\fP [\fIargs\fP ... ] .B linter \fIprogram\fP [\fIargs\fP ... ]
For the currently defined syntax, add the following command For the currently defined syntax, use the given \fIprogram\fR
to invoke the linter (overrides the speller function when to invoke the linter (this overrides the speller function when
defined. defined).
.TP .TP
.B magic ["\fIregex\fP" ... ] .B magic ["\fIregex\fP" ... ]
For the currently defined syntax, add one or more regexes which For the currently defined syntax, add one or more regexes which
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment