Using screen, commands like less and man don't clear the screen afterwards
- by Boldewyn
In contrast to this question I want the clearing of the screen re-enabled for less. It works fine in my xterm terminal under Cygwin/mintty or Gnome Terminal (both xterms).
However, when inside a screen session, the clearing of the screen is somehow disabled. I tried several things, like
screen -T xterm
or putting the autonuke statement in my ~/.screenrc. Also, inside the screen session
export TERM=xterm
tset
has no effect. So, now I'm out of ideas. Any help appreciated.