* [patch] fix :p and apostrophe commands in man page of more
@ 2014-02-22 10:08 Benno Schulenberg
2014-03-04 12:52 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Benno Schulenberg @ 2014-02-22 10:08 UTC (permalink / raw)
To: Util-Linux
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] fix :p and apostrophe commands in man page of more
2014-02-22 10:08 [patch] fix :p and apostrophe commands in man page of more Benno Schulenberg
@ 2014-03-04 12:52 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-03-04 12:52 UTC (permalink / raw)
To: Benno Schulenberg; +Cc: Util-Linux
On Sat, Feb 22, 2014 at 11:08:56AM +0100, Benno Schulenberg wrote:
> text-utils/more.1 | 38 ++++++++++++++------------------------
> 1 files changed, 14 insertions(+), 24 deletions(-)
Applied, thanks.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-04 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-22 10:08 [patch] fix :p and apostrophe commands in man page of more Benno Schulenberg
2014-03-04 12:52 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox