delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/25/23:10:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C7B0AE4.9040509@ece.gatech.edu>
Date: Mon, 25 Feb 2002 23:11:16 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Pat Gunn <qc AT apk DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: Fonts and rxvt
References: <20020226032518 DOT 60E512C3F AT larkin DOT dyndns DOT org>

Pat Gunn wrote:

> Hi, it seems that the cyg non-XF86 program 'rxvt' is misnamed --
> it's too easy to confuse it with the real thing. 


It IS the real thing.  When DISPLAY=:0, it uses MSWin calls to draw 
itself.  When DISPLAY=127.0.0.1:0 (or some other X-ish looking thing) it 
uses X11 calls to draw itself --- but you need an Xserver.

> Anyhow, I was
> wondering if anyone has had any success changing the font that it
> uses -- I need to get line-drawing characters working so when
> I telnet to other systems, things display correctly. Any ideas?


a) either use it in X mode with an Xserver, and set TERM=rxvt, or

b) make sure that your CYGWIN variable contains 'codepage:oem' and that 
you are using a font that has the linedraw characters (most windows 
fonts do not -- or they're in the wrong place in the encoding).  Try 
LuconP from 
http://www.neuro.gatech.edu/users/cwilson/cygutils/unversioned/bashprompt/

To set fonts (when using rxvt in MSWin mode), use
   -fn "Lucida ConsoleP-11"

Of course, in X11 mode, 

   -fn sabvga

Or whatever your choice of font is.  In X11 mode, the fonts must be 
installed where your local Xserver can find them.

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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