Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 9 down vote accepted

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

check "Disable session-initiated window resizing"

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

share|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 '12 at 20:11

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .