delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/10/21:21:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B73699B.6080104@cwilson.fastmail.fm>
Date: Wed, 10 Feb 2010 21:21:15 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: man + rxvt - cannot display special characters
References: <8a4e3601002101611u272ebdd8i72688655b4675a79 AT mail DOT gmail DOT com>
In-Reply-To: <8a4e3601002101611u272ebdd8i72688655b4675a79@mail.gmail.com>
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

David Means wrote:
> When I run 'man <command>', I get unprintable characters (see example below).
> 
> Cygwin 1.7.1, using RXVT (not via X11).  Exporting TERM to various
> values (vt100, vt102, vt200, ansi, xterm) doesn't have an effect.
> 
> Got any ideas?

rxvt is dumb when it comes to national languages (e.g. extended
character sets). However, the default LANG setting in cygwin-1.7 is to
use UTF-8 extended characters.

To avoid them, export LANG=C.ASCII

Or use a non-brain-dead terminal: xterm, rxvt-unicode, mintty...

even cmd.exe does better than rxvt when it comes to extended characters.

--
Chuck


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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