[Info-vax] Radical command line suggestion
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Fri Mar 20 17:59:36 EDT 2015
hb skrev den 2015-03-20 22:49:
> On 03/20/2015 12:47 PM, Stephen Hoffman wrote:
>> ... With man, a user can
>> easily search for keywords and can page around as needed, and that can
>> make finding and reading the necessary documentation easier.
>
> The navigation is more or less "less" or "more":
>
> $ man man
> ...
> Controlling formatted output
> -P pager, --pager=pager
> Specify which output pager to use. By default, man uses pager
> -s. This option overrides the $MANPAGER environment variable,
> which in turn overrides the $PAGER environment variable. ...
> ^Z
> [5]+ Stopped man man
> $ ps ax
> ...
> 5123 pts/0 T 0:00 man man
> 5135 pts/0 T 0:00 pager -s
> 5148 pts/0 R+ 0:00 ps ax
> $
> $ which pager
> /usr/bin/pager
> $ file /usr/bin/pager
> /usr/bin/pager: symbolic link to `/etc/alternatives/pager'
> $ file /etc/alternatives/pager
> /etc/alternatives/pager: symbolic link to `/bin/less'
> $
>
> Maybe one should compare "man topic" with "PIPE HELP/NOPAGE topic *
> |TYPE/PAGE=SAVE SYS$PIPE". Navigation in "TYPE" isn't great and with pipes
> it is even more limited.
>
> But almost all (decent/or recent?) VMS editors have the ability to redirect
> DCL command output into a buffer. That's probably the best you can do to
> get useful navigation for HELP.
Or use any of the web based interfaces to VMS HELP, as the links I
posted earlier. Just scroll/navigate as you like in your browser.
More information about the Info-vax
mailing list