Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.