Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I use screen and I close an emacs window, the prompt remains at the bottom of the screen where than popping to where the prompt was before I opened emacs. How can I fix this? It only happens when I use screen. I don't like it, because it sometimes looks like I'm still in emacs, and I can't see my previous commands.

share|improve this question

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

Use GNU screens altscreen on either in your .screenrc file or just type

ctrl-a : altscreen on <return>

Here is another post that had your problem gnu-screen-clearing-on-vim-less-etc-exit. They solved it as above.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .