X-Recipient: archive-cygwin@delorie.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@mail.gmail.com> 	 <f60fe000905060844t136f5b83paf855d378bdc3cbb@mail.gmail.com> 	 <a9a39a210905060900p51bac023p78ab595593633f87@mail.gmail.com> 	 <f60fe000905061017u2c308522i44222005b3ab8fb9@mail.gmail.com> 	 <a9a39a210905061147t659a1b5flaf776dcdbb4244c@mail.gmail.com> 	 <4A01E77F.3050302@cwilson.fastmail.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.bron@m4x.org>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

