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
master
Benno Schulenberg 2014-03-03 16:08:45 +00:00
parent 54a11058ee
commit 37d638a02c
3 changed files with 17 additions and 16 deletions

View File

@ -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

View File

@ -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
.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".
.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
.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
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
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
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.
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)

View File

@ -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,14 +246,14 @@ 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
will be compared against the \fBmagic\fP database when attempting will be compared against the \fBmagic\fP database when attempting
to determine which highlighting rules to use for a given file. This to determine which highlighting rules to use for a given file. This
functionality only works when \fBlibmagic\fP is installed on the functionality only works when \fBlibmagic\fP is installed on the
system and will be silently ignored otherwise. system and will be silently ignored otherwise.
.TP .TP