Have you ever noticed that when you start or reattach screen it resizes every SecureCRT tab you have open to 80 columns?
There’s an extremely easy fix. First, find out which term you are using. This must be done outside of screen or your term is simply screen.
[cmp@server ~]$ echo $TERM vt100
Then add the following line to your ~/.screenrc file, adjusting for your term, as needed:
termcapinfo vt100* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
For xterm, you’d replace vt100 with xterm.
Your terminal will now be the width of your SecureCRT window.
2 thoughts on “Prevent screen(1) from resizing your SecureCRT windows”
THANK YOU! This has been driving me nuts for ages
Thank you sooooo much!! I almost went bald with the amount of hair I have been pulling out due to this stupid resizing. lol Your solutions works flawlessly!!