Using screen, commands like less and man don't clear the screen afterwards

Posted by Boldewyn on Super User See other posts from Super User or by Boldewyn
Published on 2010-05-05T07:00:48Z Indexed on 2010/05/05 7:08 UTC
Read the original article Hit count: 291

Filed under:
|
|
|
|

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.

© Super User or respective owner

Related posts about screen

Related posts about clear