bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with some pseudographic symbols


From: Thomas Dickey
Subject: Re: Problem with some pseudographic symbols
Date: Tue, 9 Aug 2005 06:40:26 -0400 (EDT)

On Tue, 9 Aug 2005, Alexander Kresin wrote:

Hi!

Recently I have installed new OS version to my Linux
box ( ASPLinux - Russian distro compatible with
Fedora, ncurses 5.4.5 ) and get problems with drawing
some pseudographic chars in ncurses based program.
Following is a short sample:


Start here:

  #include <locale.h>

#include <ncurses.h>
int main( void )
{

  setlocale(LC_ALL, "");

initscr();
move(10,10);
addch(144); addch(145); addch(146); addch(129);
getch();
endwin();
return 0;
}

Instead of those symbols I get ~P~Q~R~A.
Without ncurses those sybmbols are drawn well:

#include <stdio.h>
int main( void )
{
printf( "\n%c%c%c",145,146,129 );
return 0;
}

I use KOI8-R symbol table.
In my old system ( ncurses 5.3.9 ) all was Ok.

There was no such release as 5.3.9.
Perhaps you're referring to some package such as "5.3-9".

Generally rpm packagers add a "-number" to the release version, but
there is no standard for what that number means: it differs for each
packager.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]