My current work enviroment is Windows workstation with Putty. And almost always i run "screen" session. When i started using CentOS 6 i noticed strange behavior with screen. When I run screen in Putty ssh session the size of window (terminal) is reseted (rows and cols were changed). For me this is very anoying and i'm unable to resolve this. Maybe someone know what to change in Putty config or terminal settings (termcap/termininfo or screenrc) to stop this behavior? I hope someone understand me. English is not my best side...
Asked
Active
Viewed 1,193 times
1 Answers
3
According to a bunch of links from a quick Google Search, one of these solutions should work:
A: Add this line to your
~/.screenrcor/etc/screenrc:termcapinfo xterm* 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'- B: Always run screen with the
-Aoption - C: Dig arround PuTTY's settings until you find an option to disable remote screen resizing (unlikely)
neersighted
- 1,736
termcapinfocommand in its/etc/screenrcfile. RHEL/CentOS does not, because it is commented out (termcapandterminfocommands on line 65;termcapinfois equivalent to both). – Alastair Irvine May 23 '14 at 04:56