From: Benno Schulenberg <bensberg@justemail.net>
To: "Util-Linux" <util-linux@vger.kernel.org>
Subject: [patch] fix :p and apostrophe commands in man page of more
Date: Sat, 22 Feb 2014 11:08:56 +0100 [thread overview]
Message-ID: <1393063736.22669.86436873.5D54747B@webmail.messagingengine.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
Hi,
Currently the man page of more gives :P instead of the correct :p
as the command for 'previous file', and it shows an acute accent
(groff conversions) instead of an apostrophe as the command key
for 'go back to where you were'.
Attached patch fixes those two things. It also condenses some
descriptions, removes two pointless comments, and deletes a
leftover formatting line.
Regards,
Benno
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-docs-fix-two-command-representations-in-the-man-page.patch --]
[-- Type: text/x-diff; name="0001-docs-fix-two-command-representations-in-the-man-page.patch", Size: 3224 bytes --]
From 3eb9495525482265adf01676fdffb68ba44be16d Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 21 Feb 2014 18:22:33 +0100
Subject: [PATCH] docs: fix two command representations in the man page of more
The previous-file command is not :P but :p, and the back-to-where
command is not an acute accent but an apostrophe. Also condense
some of the descriptions and remove some useless comments.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
---
text-utils/more.1 | 38 ++++++++++++++------------------------
1 files changed, 14 insertions(+), 24 deletions(-)
diff --git a/text-utils/more.1 b/text-utils/more.1
index 0cf3892..589eaf7 100644
--- a/text-utils/more.1
+++ b/text-utils/more.1
@@ -32,11 +32,9 @@
.\"
.\" @(#)more.1 5.15 (Berkeley) 7/29/91
.\"
-.\" Revised: Fri Dec 25 15:27:27 1992 by root
.\" 25Dec92: Extensive changes made by Rik Faith (faith@cs.unc.edu) to
.\" conform with the more 5.19 currently in use by the Linux community.
.\"
-.\" .Dd July 29, 1991 (Modified December 25, 1992)
.TH MORE "1" "February 2014" "util-linux" "User Commands"
.SH NAME
more \- file perusal filter for crt viewing
@@ -53,32 +51,24 @@ provides
.BR more (1)
emulation plus extensive enhancements.
.SH OPTIONS
-Command-line options are described below. Options are also taken from the
-environment variable
+Options are also taken from the environment variable
.B MORE
-(make sure to precede them with a dash (``-'')) but command line options will
-override them.
-.It Fl num
+(make sure to precede them with a dash
+.RB ( \- ))
+but command-line options will override those.
.TP
.B \-d
-.B more
-will prompt the user with the message "[Press space to continue, 'q' to
-quit.]" and will display "[Press 'h' for instructions.]" instead of ringing
+Prompt with "[Press space to continue, 'q' to quit.]",
+and display "[Press 'h' for instructions.]" instead of ringing
the bell when an illegal key is pressed.
.TP
.B \-l
-.B more
-usually treats
+Do not pause after any line containing a
.B \&^L
-(form feed) as a special character, and will pause after any line that
-contains a form feed. The
-.B \-l
-option will prevent this behavior.
+(form feed).
.TP
-.B -f
-Causes
-.B more
-to count logical, rather than screen lines (i.e., long lines are not folded).
+.B \-f
+Count logical lines, rather than screen lines (i.e., long lines are not folded).
.TP
.B \-p
Do not scroll. Instead, clear the whole screen and then display the text.
@@ -124,7 +114,7 @@ means
.PD 1
.TP 10
.BR h \ or \ ?
-Help: display a summary of these commands. If you forget all the other
+Help; display a summary of these commands. If you forget all other
commands, remember this one.
.TP
.B SPACE
@@ -154,8 +144,8 @@ Skip forward k screenfuls of text. Defaults to 1.
Skip backwards k screenfuls of text. Defaults to 1. Only works with files,
not pipes.
.TP
-.B \'
-Go to place where previous search started.
+.B '
+Go to the place where the last search started.
.TP
.B =
Display current line number.
@@ -194,7 +184,7 @@ Redraw screen.
.B :n
Go to kth next file. Defaults to 1.
.TP
-.B :P
+.B :p
Go to kth previous file. Defaults to 1.
.TP
.B :f
--
1.7.0.4
next reply other threads:[~2014-02-22 10:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 10:08 Benno Schulenberg [this message]
2014-03-04 12:52 ` [patch] fix :p and apostrophe commands in man page of more Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393063736.22669.86436873.5D54747B@webmail.messagingengine.com \
--to=bensberg@justemail.net \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox