delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/01/12:53:58

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 12:53:41 -0400
Message-ID: <17kq9510j9kst8dcpc516i8ce10n64nlta@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>
In-Reply-To: <416096c60909010945q1673b591w316629d54d606310@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

> Andrew Schulman:
> >> > TERM=3Dxterm-256color screen -T screen-256color
> >>
> >> Instead of specifying -T screen-256color every time, one can just put
> >> 'term screen-256color' into .screenrc. =A0I'll update the docs to show=
 this
> >> when I make the release current.
> >
> > Is there any reason that I shouldn't put this command into the default
> > /etc/screenrc file?
>=20
> 'fraid so. Prompted by this thread I wondered the same thing about
> mintty: why not set TERM to "xterm-256color" by default?
>=20
> Answer: because /etc/termcap doesn't know about it, and other programs
> that read the TERM variable might not recognise it either.
> Furthermore, user startup scripts that compare TERM to "xterm" or
> "screen" would break.

You're talking about setting e.g. TERM=3Dxterm-256color in the environment =
by
default, but I was asking whether it would cause any harm to put 'term
screen-256color' into the default /etc/screenrc.  Know any reason that I
shouldn't?

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