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'm trying to get some (wide character, Unicode, extended ASCII, even just ring the dumbbell) character that extends beyond what you can type from the keyboard to display in ncurses.
For one thing, after fruitless attempts to use add_wch() and such, about which I have oodles of man pages and documentation about, I read my ncurses.h file and found no definition of any of the wide character functions or macros at all. I have version 5.3
Next, I've tried forgetting the curses and tried just getting any extended ASCII character with a printf("%c",n) call. All I get are ^C ^H control characters.
Now, I know the number one question, and yes, my hardware is fully capable of supporting extended characters, Unicode and all. How I found that out is by typing "cat /dev/random " at the prompt, and my terminal beeps some and floods with all kinds of foreign language doohickeys and pound signs and hearts,clubs,spades,and diamonds.....
So, my terminal can display them and my Linux is set up to know how. Why can't I?
For the record: I'm using Red Hat Linux 9.0, gcc compiler, and I'm only using the '-lcurses' option. Is there some other link I should use?
I did chase it all the way down to a bug report on Bugzilla, which is left unresolved to this day. I think we're going to have to wait for the ncurses maintainer to release a new version, which hopefully will address this issue.