Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2007 12:15:37 -0500
From:      "Andy Harrison" <aharrison@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to stop screen from resizing my window??
Message-ID:  <a22ff2940712060915p2df8c6ffl24b6e13bfb8b60e5@mail.gmail.com>
In-Reply-To: <20071203184541.K5363@bravo.pjkh.com>
References:  <20071203184541.K5363@bravo.pjkh.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 12/3/07, Philip Hallstrom  wrote:
> Hi all -
>
> I connect to a FreeBSD server from OSX (via iTerm).  I then start up
> screen.
>
> And it resizes my windows to 80 characters wide.  This doesn't happen on
> linux.

It's more likely that it's an issue with iTerm. Screen can resize
dynamically if the term program works correctly.

That said, screen and the relationship to the termcap is always a
royal pain.  I use tcsh and I always throw something in my .tcshrc to
detect for the TERM environment variable value for screen and blow
away TERMCAP if it finds it.

 if ($term == "screen") then
    unsetenv TERMCAP
 endif

Syntax will be different for other shells.

- --
Andy Harrison
public key: 0x67518262
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFHWC5bNTm8fWdRgmIRArQ0AJ4ugxEkyarWyA+lxbHmHz6ZI4hFcwCeJ3yT
SBWUaohWiTdTOMrebgtWP+M=
=P/Ve
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a22ff2940712060915p2df8c6ffl24b6e13bfb8b60e5>