ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have been tinkering around with ncurses and have noticed something rather odd. In gbdfed and bitedit, they both show that the console font default8x16.psfu has the line character at 0xC4, however, when I wrote a small test program to create windows with ncurses it shows the character Ä where the line that should be, at 0xC4. Now when I run gucharmap in X, under latin it shows Ä at 0xC4. Also, a simple program to view the characters of a font I'm using in the console shows Ä at 0xC4.
And after messing up one of my tty's yesterday trying to find the line character, I found that the line that should be at 0xC4 is printed when I use 0x0.
Is 0x0 the correct char to pass to wborder() to produce a line for the top and bottom of a window?
<Edit> Ok, I changed the console font to several different fonts and tested them running both mc and the ncurses test program I wrote. The last font I used was drdos8x16.psfu which mc showed it's borders correctly, but the test program did not. When I ran my character view program it didn't show a single border character.
Anyone know of anything that I could read to understand why mc shows a border when no border characters seem to exist in the font?
I had modified a console font I've been working on and added the border characters. Now 0xC4 contains the correct line. My test program and mc work perfectly. However, ndn shows lqkxmj for the border characters. This is wierd...