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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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...