This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ncurses line drawing characters terminfo problem?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]