Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Change the man page pager in 10.3' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the man page pager in 10.3
Authored by: ashill on Sep 15, '04 11:20:27AM

You can set this more cleanly using the PAGER environment variable, which also affects most other programs that use a pager.

For example, to use less as the pager in tcsh, put setenv PAGER less in your ~/.cshrc file (or some other appropriate place). If you so desire, you can also use arguments such as setenv PAGER less -c.

In bash, it would be PAGER=less; export PAGER.

You can then still override your default pager when you run man with the -P option.

[ Reply to This | # ]

Change the man page pager in 10.3
Authored by: ua on Sep 15, '04 12:53:20PM
...or even
export PAGER=less


[ Reply to This | # ]
Use ~/.MacOSX/environment.plist
Authored by: n8gray on Sep 15, '04 08:39:48PM

If you want to set an environment variable that will be valid in *all* shells and *all* programs the best place for it is ~/.MacOSX/environment.plist. The downside is you'll need to log out and log back in for changes to take effect.



[ Reply to This | # ]