PDA

View Full Version : [ubuntu] Clear Screen Behaviour of man Command



PointyWombat
July 2nd, 2009, 08:16 PM
Hi all,

Just wondering how I can control the behaviour of the man command in a terminal so that it does not clear the man page text when I quit it. This is a big pet peeve of mine.

Thanks,

decoherence
July 2nd, 2009, 08:31 PM
Try putting


export LESS='-X'

in your .bashrc or .profile

Mornedhel
July 2nd, 2009, 08:32 PM
Whuokay, the previous poster has a much better idea than my ugly workaround.

PointyWombat
July 2nd, 2009, 11:29 PM
Awesome.. Thanks decoherence.