delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/02/14:08:38

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 AT cwilson DOT fastmail DOT fm>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ncurses] strange characters with rxvt
References: <46386111 DOT 60206 AT bretin DOT net> <A8C9B1E752D80D42AF1F89CE4D93CB1F03B8F2E24B AT USIL-EXCHG01 DOT us DOT navigon DOT local> <Pine DOT SOC DOT 4 DOT 64 DOT 0705021837470 DOT 21179 AT sole> <A8C9B1E752D80D42AF1F89CE4D93CB1F03B8F2E2A7 AT USIL-EXCHG01 DOT us DOT navigon DOT local>
In-Reply-To: <A8C9B1E752D80D42AF1F89CE4D93CB1F03B8F2E2A7@USIL-EXCHG01.us.navigon.local>
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

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/

- Raw text -


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