Reputation: 127
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:
As it clear, I can see the less output even after I exit from it.
Upvotes: 2
Views: 702
Reputation: 127
My problem was solved by removing the TERM environment variable in the .bashrc.
Upvotes: 3