delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/28/22:03:52

X-Spam-Check-By: sourceware.org
Message-ID: <17393e3e0610281903s3b8b70ebt1ffb6997ece472f6@mail.gmail.com>
Date: Sat, 28 Oct 2006 22:03:37 -0400
From: "Matt Wozniski" <mjw AT drexel DOT edu>
To: cygwin AT cygwin DOT com
Subject: Problems with terminal -tn setting TERM variable
MIME-Version: 1.0
X-Google-Sender-Auth: f279c60a58ff2bec
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

I'm sorry if there's an easy solution that I haven't found yet, but
I'm wondering if anyone else is experiencing the same problem with
Cygwin/X's xterm as I am.  xterm -tn doesn't seem to properly set up
the TERM variable.

For example:
xterm -tn xterm-16color -e bash -c 'echo TERM=$TERM; read x'

pops up a Cygwin/X xterm window containing
TERM=xterm

Whereas
rxvt -tn xterm-16color -e bash -c 'echo TERM=$TERM; read x'

pops up a Cygwin/X rxvt window containing
TERM=xterm-16color

Can anyone else confirm this behavior, or offer a suggestion on how to
deal with this behavior?  I want to use xterm, since I couldn't get
the same level of unicode support in rxvt cygwin native, rxvt cygwin x
unicode, or rxvt cygwin.  I also don't want to explicitly set TERM in
one of my dot files, since I use the same ones on many computers.

Thanks in advance for any help!
~Matt Wozniski

PS - I'd attach the output of 'cyginfo -s -v -r', but I don't have
access to the computer running cygwin at the moment; I'm hoping to
have a fix or work-around by the next time I need to use that work
computer.  ;)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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