How to get a screen session to work the way I want to?
November 5, 2006 9:17 AM Subscribe
How do I get my Linux shell to behave the same when I am using screen, as when I am not using it?
posted by davar to Computers & Internet (11 answers total) 3 users marked this as a favorite
I connect to my linux servers with Putty, from Windows. These are two different servers, but I have the same annoyance. When I work in the shell (bash) without using screen, and I use "less" or "man" or "vim" or something like that to read a file, and I close that file, the open file remains visible in the window. I just start typing new stuff below it. If I do not use screen, when I close the file, I get returned to the shell window I was using before, and I can see my previous commands.
Also, when I am not in a screen session, I can use the scrollbars in Putty to scroll up in history. When I am in a screen session, this does not work. I can imagine this is a limitation of screen sessions, but if there is a solution for this, I would like to know as well.
The latter annoyance is not as important, but the former has been irritating me for a long while now, and I hope there is an easy solution.