1

When I exit from the man page, less and vim the screen doesn't clear. I don't mean the clear command rather I want to see the previous screen that I entered before the man or less.

There is a less -X (--no-init) command that doesn't clear the screen after exiting, but there are not any aliases for the less command on my system and I want the inverse of this option.

My terminal picture:

screenshot

As it clear, I can see the less output even after I exit from it.

smac89
  • 39,374
  • 15
  • 132
  • 179
Kavian
  • 107
  • 7

1 Answers1

3

My problem was solved by removing the TERM environment variable in the .bashrc.

Kavian
  • 107
  • 7