Prevent terminal from resizing in PuTTY
I have several applications running in GNU Screen on a remote machine where I usually SSH to. When attaching screen session with or without -A option the PuTTY terminal window gets awfully small and needs to be resized by hand. Somewhat annoying!
Fortunately, there is a simple solution described here: http://aperiodic.net/screen/appearance
Using PuTTY
In PuTTY go to Terminal > Features and check Disable remote-controlled terminal resizing. Now remote screen will force resizing and you can safely type screen -dr.
What if I'm on OS X and have iTerm2?
In your profile, select the terminal tab, then mark the checkbox Disable session-initiated window resizing."
Written by Niko Heikkilä
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Screen
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#