less to output text. How can I tell it to just output to stdout? My terminal emulator has a scroll bar and search function and I want to use those instead of the arrow keys.
Actually it uses whatever is specified in the
Depending on your
With the man-db implementation I use all the below ways work:
To set it permanently, just add it to your
That works with some older
(Better do not set
There could be also a global configuration file. man-db has
But unfortunately that is taken in consideration only if neither
Try these commands to generate man output without a pager.
I was on a GNU linux system
Another angle: Similar to Tony's answer.
You can also redirect man output into a file and view it with your favorite text editor or even add bookmarks, comments, etc. to it.
I have a copy of the bash man page as well as just the sections on bash flow control and bash test flags saved as text files in my bin directory so I can load them right into my text editor (kate) for reference while I'm writing bash scripts.