How to stop screen from resizing my window??

Andy Harrison aharrison at gmail.com
Thu Dec 6 09:15:41 PST 2007


-----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-----


More information about the freebsd-questions mailing list