man and more command problem under tmux

lhmwzy lhmwzy at gmail.com
Sat Feb 15 05:51:03 PST 2014


I found the answer for this
change the PAGER environment variables from more to less
and all is OK.


2014-02-15 21:27 GMT+08:00 lhmwzy <lhmwzy at gmail.com>:

>       Under tmux type "man man",press "space" to read page after page,when
> it reachs the end,then  man will quit and clear the screen,the same as
> "more" command.
>       How to keep the info when read and reach the end under tmux like
> FreeBSD does?
>
> Here is an example(under tmux):
> #man man
> (press "space" to read,until reach end)
> #
>
> no info left on the screen
>
>
> In FreeBSD
> #man man
> (press "space" to read,until reach end)
> .....
> EXAMPLES
>      Normally, to look at the relevant manpage information for ``getopt'',
> one
>      would use:
>
>            man getopt
>
>      However, when referring to a specific section of the manual, such as
>      getopt(3), one would use:
>
>            man 3 getopt
>
> SEE ALSO
>      apropos(1), groff(1), manpath(1), more(1), whatis(1), man(7), mdoc(7)
>
> BUGS
>      The -t option only works if the troff(1)-like program is installed.
>
> FreeBSD 8.2                    December 3, 2005                    FreeBSD
> 8.2
> #
>
> the man info still left on the screen
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20140215/5ad57c3a/attachment-0003.htm>


More information about the Users mailing list