LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2003, 10:49 PM   #1
deveraux83
Member
 
Registered: Jul 2003
Location: Malaysia
Distribution: Red Hat, Slackware 9.1
Posts: 76

Rep: Reputation: 15
ncurses in RH9


Hi all,

I'll written some code in ncurses but when I run the program in console mode, the colors don't come out as expected. I think the bold attribute doesn't work in the console. When I run it in a terminal on X-Window, it works fine, even the underline attribute works. I know the bold attribute worked in RH 7.3 and downwards but since RH 8, i've never been able to get it to work properly. Is there any way I can remedy this situation? Thanx in advance...
 
Old 07-17-2003, 12:26 AM   #2
Mohsen
Member
 
Registered: Feb 2003
Location: Iran
Distribution: Solaris 10
Posts: 201

Rep: Reputation: 30
I think that there are not enough characters (such as bold or underlined characters) in pure terminal, but in X-Window terminal the case is a little different because you have Unicode supprot for most of fonts.
Bold in terminal - as far as I know - just changes the color so that it seems to be Bold.
If your colors are not set properly then it's a problem with your program because I have no problem with them (try init_pair, first).
I don't know if I could answer you question
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NCurses Mohsen Programming 7 10-07-2006 10:53 AM
no ncurses? oracleofmist Linux - Software 2 09-22-2004 07:56 PM
Problem compiling programs using ncurses library (gcc 3.2.2 and RH9 default inst.) jclark7777 Linux - Newbie 1 07-20-2004 01:59 PM
Ncurses Cruelpeace Programming 1 01-30-2003 07:21 PM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 12:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration