This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: screen, now with 256-color support!
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 1 Sep 2009 06:42:16 +0100
- Subject: Re: [ANNOUNCEMENT] Updated: screen, now with 256-color support!
- References: <announce.gaeo95tesfohfdbn4m8snu1afforj074rg@4ax.com>
Andrew Schulman:
> Instructions for starting screen with 256 color support are in
> /usr/share/doc/screen/README.Cygwin. ÂIn brief, you have to invoke screen
> as
>
> TERM=screen-256color screen
I don't think that's quite right. Screen needs to be told what
terminal it is itself running in. This means "xterm-256color" for
xterm, PuTTY and MinTTY, and "rxvt-256color" for rxvt.
Inside screen, however, the TERM variable does need to be set to
"screen-256color" to tell termcap/terminfo-using programs that they
are running in a 256-color-enabled screen. The -T option can be used
for that. So, for example:
TERM=xterm-256color screen -T screen-256color
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple