www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/01/15:37:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
From: Andrew Schulman <schulman DOT andrew AT epamail DOT epa DOT gov>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: screen, now with 256-color support!
Date: Tue, 01 Sep 2009 15:36:48 -0400
Message-ID: <3ttq9517vregfno88j680fvvg8jd8725kn@4ax.com>
References: <announce DOT gaeo95tesfohfdbn4m8snu1afforj074rg AT 4ax DOT com> <416096c60908312242g39e38fe5s5dbe299e84f6afd8 AT mail DOT gmail DOT com> <loom DOT 20090901T165202-526 AT post DOT gmane DOT org> <loom DOT 20090901T182021-340 AT post DOT gmane DOT org> <416096c60909010945q1673b591w316629d54d606310 AT mail DOT gmail DOT com> <17kq9510j9kst8dcpc516i8ce10n64nlta AT 4ax DOT com> <416096c60909011214j22d74367t6cc6238b4808655a AT mail DOT gmail DOT com>
In-Reply-To: <416096c60909011214j22d74367t6cc6238b4808655a@mail.gmail.com>
MIME-Version: 1.0
X-Archive: encrypt
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> > You're talking about setting e.g. TERM=3Dxterm-256color in the environm=
ent by
> > default, but I was asking whether it would cause any harm to put 'term
> > screen-256color' into the default /etc/screenrc. =A0Know any reason tha=
t I
> > shouldn't?
>=20
> Well, yes. 'term screen-256color' sets TERM=3Dscreen-256color in the
> environment of programs running inside screen, hence any program or
> script that recognises "screen" but not "screen-256color" will no
> longer work as expected.
>=20
> Furthermore, 'term screen-256color' (or '-T screen-256color') does not
> activate 256-color mode in screen. It it screen querying terminfo and
> finding that it is itself running in a 256-color terminal that does
> that.
>=20
> Hence, when screen is started with the usual TERM setting of "xterm"
> or "rxvt", you'd end up telling programs running inside screen that
> 256 colors are available when that isn't actually the case.

Got it.  Thanks.
Andrew.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019