2008/11/13

Screen, act like an xterm

Screen when invoked has a multitude of options, but one that was particularly helpful for me was this:

screen -T xterm ssh user@someunixhost

So as to make the TERM environment variable appear to be xterm allowing vi and other tools to work properly.

Figuring out how to get that into my ~/.screenrc so that it takes affect every time is the next objective. Not many of the hosts I connect to identify "screen" as a TERM type.

No comments: