Hello.
Sorry for the late reply.

Would you mind not using HTML and not top-posting, please?
Your first mail was plain text?

Ron Varburg wrote in
<[email protected]>:
 |On Monday, June 29, 2020, 03:33:52 PM GMT+1, Steffen Nurpmeso <steffen@s\
 |daoden.eu> wrote: 
 |Ron Varburg wrote in
 |<[1][email protected][/1]>:
 ||I think that, in general, it is a useful feature for the user to be \
 ||able determine what he would like to paginate.
 ||In particular, the output of the help command. And any other long help \
 ||text.
 |
 |No, there is yet no possibility to paginate the output of `help'
 |aka `?' as well as `~?' (in compose mode).
 |
 |These are carefully written to fit in 24 lines, and if you forgive
 |me saying, should thus fit well in any terminal in practical use
 |for decades. They also are nothing but an excerpt of commands
 |(`~?' states that even), meant as a quick reminder, and therefore
 ...
 |Having said that, being able to give a "|" on the command line and
 |actually force a redirection, for example like
 |? help | ! less
 ...

 |1) Accessibility: I am using large fonts due to vision difficulties. \
 |Which is why I have less
 |than 24 lines in a terminal. I am sure there are many users with the \
 |same issue.

This sounds hard.  I am sorry for that.

 |2) Excerpt of commands, meant as a quick reminder, and therefore cover \
 |some widely used commands, are sometimes better than the output of \
 |the list command. Although the output
 |of the list command is paginated, the help command does gives you someth\
 |ing to hang on.

Ah!  But that is for a different reason, it was done because
`list' interacts with the setting of the *verbose* variable.

  define xverbose {
     \localopts yes; \wysh set verbose; \ignerr eval "$@"; \return $?
  }
  commandalias xv '\call xverbose'

Then if you do "xv list" you will see more.
The same also works for "help COMMAND", compare for example "help
z" and "xv help z".  Well, it could be considered to extend plain
`help' (without arguments) to simply append all the output of the
verbose `list' output in case *verbose* is set.

That made me realize the `help' output gave false information for
`list', which lost its argument!  I'd like to give you credit for
that.  Committing this tomorrow, much too late here.

I could even share the necessary code for paging in between `list'
and `help'.  Let's just do that, then, for heaven's sake.  Will do
tomorrow.

 |While the list output lots of dense text from which it is difficult \
 |to choose the right thing 

Not on your terminal then.  Set *verbose*.

 |when you are not familiar with most of the commands. In my opinion, \
 |paginated help is 
 |friendlier than non paginated help. 

24 lines.  I must say, i have just tried this out in a fullscreen
terminal.  Reminded me of the long years i worked directly on the
FreeBSD console, but mostly 80x30 it was.
I wonder how the web works for you.

Ciao,

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to