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 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/