At Thu, 24 Feb 2022 14:44:56 +0900 (JST), Kyotaro Horiguchi 
<horikyota....@gmail.com> wrote in 
> At Tue, 22 Feb 2022 09:59:09 +0100, Daniel Gustafsson <dan...@yesql.se> wrote 
> in 
> > The section in question was added to our docs 22 years ago, to make it 
> > reflect
> > the current operating systems in use maybe just not mentioning more(1) is 
> > the
> > easiest?:
> > 
> >     "The text browsing tool less can be invoked as less -x4 to make it show
> >     tabs appropriately."
> > 
> > Or perhaps remove that section altogether?
> 
> I think the former is better.

So the attached does that.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center
>From fd833aee1756364f669a3d478763299ce6d3a747 Mon Sep 17 00:00:00 2001
From: Kyotaro Horiguchi <horikyota....@gmail.com>
Date: Thu, 24 Feb 2022 15:18:52 +0900
Subject: [PATCH] Fix out-of-date description mentioning the command more

In most of the operating systems in use, "more" is implemented using
"less", or otherwise "more" does not have an -x option. Remove the
descriptions related to the more command to make it reflect the
current world better.
---
 doc/src/sgml/sources.sgml | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml
index 1b77efb087..7a6e8a951f 100644
--- a/doc/src/sgml/sources.sgml
+++ b/doc/src/sgml/sources.sgml
@@ -76,13 +76,8 @@
    </para>
 
    <para>
-    The text browsing tools <application>more</application> and
-    <application>less</application> can be invoked as:
-<programlisting>
-more -x4
-less -x4
-</programlisting>
-    to make them show tabs appropriately.
+    The text browsing tool <application>less</application> can be invoked
+    as <quote>less -x4</quote> to make it show tabs appropriately.
    </para>
   </sect1>
 
-- 
2.27.0

Reply via email to