24 Sep 2004
The good Solaris man

.. I am referring to a man page on Linux box ... ah there is the example usage ... no thats not ... hmm.. may be I should try this ... Now I quit the man page and want to try what it said. alas! It vanished into thin air when I most wanted it!
On Solaris this is not the behavior. When you quit from a man page display, (mostly on having found a relevant example) it remains on the terminal so that I can easily refer to it. That is such a nice behavior compared to the man available on Linux.
Link |
Posted by rob husch on September 24, 2004 at 06:29 AM PDT #
Posted by PatrickG on September 24, 2004 at 07:03 AM PDT #
Funny. It seems the Linux folks have found out it's annoying and fixed it :-)
Posted by Giorgos Keramidas on September 24, 2004 at 10:05 AM PDT #
That's actually an annoying feature caused by the default pager (<code>less</code>). Clearing up the screen can be disabled by adding <code>-X</code> into its default parameters. I have following in my <code>.bashrc</code> to disable it globally:
Here's the explanation from man page:-X or --no-init Disables sending the termcap initialization and deinitialization strings to the terminal. This is sometimes desirable if the deinitialization string does something unnecessary, like clear- ing the screen.Another option I use is <code>-c</code> which makes scrolling a bit more smooth.Posted by Tero on September 26, 2004 at 12:56 AM PDT #
Posted by John Cowan on October 05, 2004 at 09:50 AM PDT #
Posted by Chandan on October 05, 2004 at 10:30 PM PDT #
Posted by Ravi on October 14, 2004 at 06:15 AM PDT #