From: Jordi Mallach Date: Wed, 16 Jul 2014 11:07:08 +0000 (+0000) Subject: doc/man/nano.1, doc/man/rnano.1: Add some escaping and formatting X-Git-Tag: v2.3.6~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=18be89773c5dd82bf7e15b0cf16de5029996d45d;p=nano.git doc/man/nano.1, doc/man/rnano.1: Add some escaping and formatting fixes as suggested Bjarni Ingi Gislason in Debian bugs #662842 and #726956. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5069 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index e1e92011..061911ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-07-16 Jordi Mallach + * doc/man/nano.1, doc/man/rnano.1: Add some escaping and formatting + fixes as suggested Bjarni Ingi Gislason in + Debian bugs #662842 and #726956. + 2014-07-16 Benno Schulenberg * src/text.c: Normalize the tabbing. diff --git a/doc/man/nano.1 b/doc/man/nano.1 index 8ea9bde5..0a661f9f 100644 --- a/doc/man/nano.1 +++ b/doc/man/nano.1 @@ -29,7 +29,7 @@ nano \- Nano's ANOther editor, an enhanced free Pico clone .SH SYNOPSIS .B nano -.RI [ options "] [[\+" line , column "]\ " file "]..." +.RI [ options "] [[+" line , column "]\ " file "]..." .br .SH DESCRIPTION @@ -41,7 +41,7 @@ replace" and "go to line and column number". .SH OPTIONS .TP -.B \+\fIline\fP,\fIcolumn\fP +.B +\fIline\fP,\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 default line 1, column 1. @@ -220,8 +220,8 @@ Enable 'soft wrapping'. This will make \fBnano\fP attempt to display the entire contents of any line, even if it is longer than the screen width, by continuing it over multiple screen lines. 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 \-$'). +this option last when using other options (e.g.\& 'nano \-wS$') or pass it +separately (e.g.\& 'nano \-wS \-$'). .TP .B \-a, \-b, \-e, \-f, \-g, \-j Ignored, for compatibility with Pico. @@ -244,7 +244,7 @@ SIGTERM or runs out of memory. It will write the buffer into a file named \fInano.save\fP if the buffer didn't have a name already, or will add a ".save" suffix to the current filename. If an emergency file with that name already exists in the current directory, it will add ".save" -plus a number (e.g. ".save.1") to the current filename in order to make +plus a number (e.g.\& ".save.1") to the current filename in order to make it unique. In multibuffer mode, \fBnano\fP will write all the open buffers to their respective emergency files. diff --git a/doc/man/rnano.1 b/doc/man/rnano.1 index 5e8a8484..9f4c8862 100644 --- a/doc/man/rnano.1 +++ b/doc/man/rnano.1 @@ -29,7 +29,7 @@ Pico clone .SH SYNOPSIS .B rnano -.RI [ options "] [[\+" line , column "]\ " file "]..." +.RI [ options "] [[+" line , column "]\ " file "]..." .br .SH DESCRIPTION