andyb@stb.info.com (Andy B.) (06/02/91)
I can't seem to figure out how to make man use a pager. I tried "setenv PAGER /usr/bin/more" in the csh, but that did not work. How is this done? I'm tired of typing "man something | more". I shouldn't need to pipe it to more. Thanks for the insights! Also, where can I find "less" or something better than more and pg? Andy -- If it's not broken...your girlfriend will get bored with it anyway.
andyb@stb.info.com (Andy B.) (06/03/91)
andyb@stb.info.com (Andy B.) writes: > I can't seem to figure out how to make man use a pager. > I tried "setenv PAGER /usr/bin/more" in the csh, but that > did not work. I have been informed that man is a shell script. Duh. Thanks for all your potential help! Andy -- If it's not broken...your girlfriend will get bored with it anyway.
davidg%aegis.or.jp@kyoto-u.ac.jp (Dave McLane) (06/03/91)
andyb@stb.info.com (Andy B.) writes: > I can't seem to figure out how to make man use a pager. > I tried "setenv PAGER /usr/bin/more" in the csh, but that > did not work. My (brute force) method was to add /usr/local/bin/manm (man with more) which reads "man $1 | more -s". When I want the whole thing ripping by on the screen I just use man (as in get the thing and print it out); when I want it to behave itself I use manm. Dave -- Dave McLane <davidg%aegis.or.jp@kyoto-u.ac.jp>
brando@uicsl.csl.uiuc.edu (Brandon Brown) (06/04/91)
andyb@stb.info.com (Andy B.) writes: >I can't seem to figure out how to make man use a pager. >I tried "setenv PAGER /usr/bin/more" in the csh, but that >did not work. >How is this done? I'm tired of typing "man something | more". >I shouldn't need to pipe it to more. Thanks for the insights! The "man" program is just a shell script. I think all you need to do is edit /usr/bin/man and stick "more", or "pg", or whatever in the variable "post".... +-----------------------------------------------------------------------------+ | Brandon Brown | Internet: brando@uicsl.csl.uiuc.edu | | Coordinated Science Laboratory | UUCP: uiucuxc!addamax!brando!brown | | University of Illinois | CompuServe: 73040,447 | | Urbana, IL 61801 | GEnie: macbrando | +-----------------------------------------------------------------------------+