From 753d93dcf6976b33ec554d63deb0d9629942b89d Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 8 Apr 2014 20:01:17 +0000 Subject: [PATCH] Adding missing --poslog option to the texinfo file, plus some tweaks. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4756 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + doc/man/nano.1 | 12 ++++-------- doc/man/rnano.1 | 21 ++++----------------- doc/texinfo/nano.texi | 4 ++++ 4 files changed, 13 insertions(+), 25 deletions(-) diff --git a/ChangeLog b/ChangeLog index f1ac6aa6..a574b3ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2014-04-08 Benno Schulenberg * doc: Add the documentation for the new --noread option. + * doc: Add missing --poslog option to the texinfo file, plus tweaks. 2014-04-08 Hans Alves * nano.h, files.c, nano.c: Adding the command-line option --noread diff --git a/doc/man/nano.1 b/doc/man/nano.1 index 0f12e5a1..139c073c 100644 --- a/doc/man/nano.1 +++ b/doc/man/nano.1 @@ -32,14 +32,9 @@ nano \- Nano's ANOther editor, an enhanced free Pico clone .br .SH DESCRIPTION -This manual page briefly documents the \fBnano\fP command. -.PP -.\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invoke bold face and italics, -.\" respectively. \fBnano\fP is a small, free and friendly editor which aims to replace -Pico, the default editor included in the non-free Pine package. Rather -than just copying Pico's look and feel, \fBnano\fP also implements some +Pico, the default editor included in the non-free Pine package. On +top of copying Pico's look and feel, \fBnano\fP also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line and column number". @@ -103,7 +98,8 @@ Disable automatic conversion of files from DOS/Mac format. Use the blank line below the titlebar as extra editing space. .TP .B \-P (\-\-poslog) -Log & read location of cursor position. +Log and later read back the location of the cursor and place it there +again. .TP .B \-Q \fIstr\fP (\-\-quotestr=\fIstr\fP) Set the quoting string for justifying. The default is diff --git a/doc/man/rnano.1 b/doc/man/rnano.1 index a18cfe28..5e8a8484 100644 --- a/doc/man/rnano.1 +++ b/doc/man/rnano.1 @@ -20,7 +20,7 @@ .\" . .\" .\" $Id$ -.TH RNANO 1 "version 2.0.0" "August 23, 2007" +.TH RNANO 1 "version 2.3.3" "April 2014" .\" Please adjust this date whenever revising the manpage. .\" .SH NAME @@ -29,18 +29,13 @@ Pico clone .SH SYNOPSIS .B rnano -.I [OPTIONS]\ [[\+LINE,COLUMN]\ FILE]... +.RI [ options "] [[\+" line , column "]\ " file "]..." .br .SH DESCRIPTION -This manual page briefly documents the \fBrnano\fP command. -.PP -.\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invoke bold face and italics, -.\" respectively. \fBnano\fP is a small, free and friendly editor which aims to replace -Pico, the default editor included in the non-free Pine package. Rather -than just copying Pico's look and feel, \fBnano\fP also implements some +Pico, the default editor included in the non-free Pine package. On +top of copying Pico's look and feel, \fBnano\fP also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line and column number". .PP @@ -63,14 +58,6 @@ use backup files or spell checking. .SH OPTIONS .TP -.B \+\fILINE\fP,\fICOLUMN\fP -Places cursor at line number \fILINE\fP and column number \fICOLUMN\fP -(at least one of which must be specified) on startup, instead of the -default of line 1, column 1. -.TP -.B \-? -Same as \fB-h (\-\-help)\fP. -.TP .B \-h (\-\-help) Show a summary of command line options and exit. .TP diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi index 9ce97b71..4ad45050 100644 --- a/doc/texinfo/nano.texi +++ b/doc/texinfo/nano.texi @@ -172,6 +172,10 @@ Don't convert files from DOS/Mac format. @item -O, --morespace Use the blank line below the titlebar as extra editing space. +@item -P, --poslog +Log and later read back the location of the cursor and place it +there again. + @item -Q , --quotestr= Set the quoting string for justifying. The default value is