X-Spam-Check-By: sourceware.org
Message-ID: <4638D332.5030208@cwilson.fastmail.fm>
Date: Wed, 02 May 2007 14:06:42 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ncurses] strange characters with rxvt
References: <46386111.60206@bretin.net>   <A8C9B1E752D80D42AF1F89CE4D93CB1F03B8F2E24B@USIL-EXCHG01.us.navigon.local>  <Pine.SOC.4.64.0705021837470.21179@sole> <A8C9B1E752D80D42AF1F89CE4D93CB1F03B8F2E2A7@USIL-EXCHG01.us.navigon.local>
In-Reply-To: <A8C9B1E752D80D42AF1F89CE4D93CB1F03B8F2E2A7@USIL-EXCHG01.us.navigon.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Jeff Hawk wrote:
>>> From the rxvt website:
>>> rxvt is a colour vt102 terminal emulator intended as an xterm(1)
>> replacement for users who do not require features such as Tektronix 4014
>> emulation and toolkit-style configurability. As a result, rxvt uses much
>> less swap space.
>>> Therefore, rxvt is intended for X.
>>>
>>> As you are running it, it does not support the line drawing character
>> sets.
>>
>> This is not true. Please, take a look here:
>>
>>    http://www.cygwin.com/ml/cygwin/2005-10/msg01021.html
> 
> I don't know what you're trying to tell me with this, but rxvt is an XTERM replacement and is therefore intended to run under X.

But not the version distributed with cygwin.  It has been significantly 
modified from the (dead, no longer maintained) upstream version.

>> 1) Basically you need to get the following font:
>>
>>     http://dessent.net/tmp/luconP.zip

This is correct.  This is a recoded version of lucida console, with the 
DOS lineart characters in the "original" location.

>> 2) Set the TERM environment variable to rxvt-cygwin-native
>>
>> 3) Run rxvt like this:
>>
>>     rxvt -fn "Lucida ConsoleP-14" other-options-here

You may also need to add "-d :0" to the command line, to *force* native 
mode.

> When I tried this from a CMD window, rxvt still started under X.

On cygwin, rxvt is sensitive to TERM and also to DISPLAY.  If your 
DISPLAY (or the -d option) specifies :0 or is empty, then cygwin's rxvt 
will operate in so-called "native" mode, which does not require an X 
server and used Windows fonts.  Otherwise, cygwin's rxvt will attempt to 
contact the X server specified by DISPLAY (or the -d option).

Thus, DISPLAY=127.0.0.1:0.0 != DISPLAY=:0

--
Chuck
cygwin rxvt maintainer


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

