Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 10 Sep 2003 09:54:25 -0400 (EDT)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: "Andrew B. Clegg" <september2003@nervechannel.nildram.co.uk>
cc: cygwin@cygwin.com
Subject: Re: ncurses line drawing characters terminfo problem?
In-Reply-To: <Pine.LNX.4.44.0309101400220.14526-200000@sark.cryst.bbk.ac.uk>
Message-ID: <Pine.GSO.4.56.0309100951500.5235@slinky.cs.nyu.edu>
References: <Pine.LNX.4.44.0309101400220.14526-200000@sark.cryst.bbk.ac.uk>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.GSO.4.56.0309100951502.5235@slinky.cs.nyu.edu>

On Wed, 10 Sep 2003, Andrew B. Clegg wrote:

> Hi folks,
>
> First off thanks all for the continuing good work on Cygwin and all its
> packages.
>
> I have a question regarding ncurses...
>
> When I run the test executables in /bin/ncurses-test-dll, line-drawing
> graphics characters come out as high-ascii latin-1 characters, e.g.
> capital As with umlauts or upside-down question marks.
>
> This behaviour is the same in Windows console windows and in rxvt in
> Windows mode (haven't tried it in X mode). I've tried various settings for
> the TERM variable (cygwin, xterm, ansi, vt100) and although they all
> display different characters, none of them actually come out with line art
> characters.
>
> I've also tried changing my font from Lucida Console to Raster Fonts in
> the hope that might make a difference, but it doesn't.
>
> I haven't messed with my terminfo/termcap; any ideas what's going wrong?
>
> Thanks in advance,
>
> Andrew.

Try adding "codepage:oem" to your CYGWIN environment variable.  See
<http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> for details.  This
setting is effective for each individual process, so you can set it in the
shell just before you run the tests.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

