[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with some pseudographic symbols
From: |
Alexander Kresin |
Subject: |
Problem with some pseudographic symbols |
Date: |
Tue, 9 Aug 2005 02:19:15 -0700 (PDT) |
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:
#include <ncurses.h>
int main( void )
{
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.
How can I solve this problem ?
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
- Problem with some pseudographic symbols,
Alexander Kresin <=