I am using iTerm in Mac OS X. When I run screen, the terminal is resized and I get the message

Aborted because of window size change.

However, screen is still running.

How do I get it to stop resizing my terminal?

link|improve this question

38% accept rate
feedback

2 Answers

up vote 4 down vote accepted

This will fix the problem: Bookmarks –> Manage Profiles –> Terminal Profiles –> Default

See also "iTerm resize the window itself when using screen".

link|improve this answer
Nice, this keeps me from having to figure out how the termcapinfo entry works. – Chas. Owens Mar 9 '10 at 16:13
Your solution helped me greatly. I'm using iTerm2 on Mac OS X Lion, and the path disable session-initiated window resizing was a little different for me: Profiles -> Edit Profiles ... -> Default -> Window -> Disable session-initiated window resizing. Thank you! – mkelley33 Jan 31 at 20:11
feedback

Based on an Ubuntu forum post on problems with screen, I found that adding

termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'

fixes the problem, but I have yet to examine it to find out how.

link|improve this answer
Did you discover what this magical termcap incantation does? :) – Ether Mar 2 at 23:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.