You can also prevent screen from resizing any remote sessions. The other answer prevents this in your one local putty installation - but what if you come to another workstation?
Anyway, to prevent screen from resizing xterms, you need to:
- Edit
/etc/screenrc
- Find this this bit of text
# Long time I had this in my private screenrc file. But many people
# seem to want it (jw):
# we do not want the width to change to 80 characters on startup:
# on suns, /etc/termcap has :is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l:
#termcap xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
#terminfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
- Uncomment those two termcap lines and screen will behave from now on.
I just ran into this problem, googled, found the answer here, tested and thought it might be useful for others.
Note that if you are unable or do not want to edit the global screenrc configuration, ~/.screenrc
will do just fine for your current user.