Re: FVWM: OFF TOPIC: Man Pages

From: Erik Steffl <steffl_at_bigfoot.com>
Date: Sat, 11 Aug 2001 13:43:01 -0700

Xucaen wrote:
>
> here's a quick question; In my debian
> installation when I use man I can only page up,
> page down and scroll. Is there a way to do a
> search in man?
> (perhaps man man will tell me? ;-)
> ^^^^^^^ I'm not home right now and
> cannot try this.

  /string will probably search for a string.

  actually man only find the proper manpage, it uses external program
(pager) to view the manpage.

  to find out which viewer is used:

  run man (to see any man page, e.g. man man)
  in different session (window) run pstree and look for the man - the
last thing on that line os the pager program, e.g.

  `-xdm-+-XFree86
    `-xdm---sh-+-ssh-agent
      `-x-window-manage-+-FvwmAnimate
        |-FvwmAuto
        |-FvwmCommandS
        |-FvwmPager
        |-gkrellm---gkrellm
        |-netscapeMail.pl---communicator-sm---communicator-sm
        |-oclock
        |-soffice.bin---soffice.bin---5*[soffice.bin]
        |-2*[x-terminal-emul---tcsh---mc---tcsh]
        |-x-terminal-emul---tcsh---man---sh-+-nroff---groff-+-grotty
        | | `-troff
        | `-pager
        |-x-terminal-emul---tcsh---bash

  in the example above it's program called pager (which pager shows it's
/usr/bin/pager, which is a link to /etc/alternatices/pager, which is a
link to /usr/bin/less, that's the debian way to set the pager for all
system, if I would like to use different pager I would use
update-alternatives --config pager to make pager point to some other
viewer)

  you can specify which pager to use:

  specific pager, use following command line option):

    -P pagerName

  no pager, the output goes to stdout:

    -T

  specific pager (using environmental variable):

    export PAGER='/usr/bin/less' # sh and derivatives (bash, ksh)
    setenv PAGER '/usr/bin/less' # csh and derivatives (tcsh)

  you can put the setting of PAGER variable to your shell's startup file
to have a permanent setting

        erik
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Aug 11 2001 - 15:42:49 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST