delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/06/16:43:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_44,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A01E77F.3050302@cwilson.fastmail.fm>
References: <a9a39a210905060616u7f5aafs5052342bc52c8a1a AT mail DOT gmail DOT com> <f60fe000905060844t136f5b83paf855d378bdc3cbb AT mail DOT gmail DOT com> <a9a39a210905060900p51bac023p78ab595593633f87 AT mail DOT gmail DOT com> <f60fe000905061017u2c308522i44222005b3ab8fb9 AT mail DOT gmail DOT com> <a9a39a210905061147t659a1b5flaf776dcdbb4244c AT mail DOT gmail DOT com> <4A01E77F DOT 3050302 AT cwilson DOT fastmail DOT fm>
Date: Wed, 6 May 2009 22:43:07 +0200
Message-ID: <a9a39a210905061343x4df1e954va71fb1c305ea5a63@mail.gmail.com>
Subject: Re: WARNING: terminal is not fully functional
From: =?UTF-8?B?RnLDqWTDqXJpYyBCcm9u?= <frederic DOT bron AT m4x DOT org>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> As the default termcap already includes an entry for rxvt-cygwin-native
> as a convenience for cygwin users, it should probably be updated to also
> include an entry for rxvt-cygwin. =C2=A0The three entries: rxvt, rxvt-cyg=
win-native, rxvt-cygwin
> differ only in their ACS (line draw) character string, which only works
> if you're using an OEM-recoded font...so, using TERM=3Drxvt is probably
> good enough for both variants, for most people. =C2=A0(I know of only one
> OEM-recoded font: "Lucida ConsoleP")

$ TERM=3Drxvt man ls
gives the good behaviour.

>> I just have the following in my .Xdefaults:
>> Rxvt*termName: rxvt
>> Looks like it is ignored.
>>
>> So is it a bug?
>
> Maybe, but maybe not. =C2=A0Rxvt looks for the .Xdefault using the follow=
ing
> construction:
>
> getenv("HOME") + "/.Xdefaults"
>
> It does NOT use getpwent() to figure out your home directory from
> /etc/passwd. =C2=A0Therefore, if you start rxvt "fron Windows" (e.g. usin=
g a
> shortcut), then Rxvt can find ~/.Xdefaults ONLY if you have set %HOME%
> using the Windows Environment settings tool. =C2=A0My guess is that on yo=
ur
> brand new installation, you haven't done this -- so the behavior is
> expected.

I have not defined HOME but I can confirm that rxvt is reading
.Xdefault as I use it to define the window size, colors, font size...
I have tried to add HOME in Windows env. var but it did not change
anything (either with a DOS path or a Cygwin path).

So there is something strange with this TERM thing and rxvt.

Fr=C3=A9d=C3=A9ric

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