LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-20-2006, 09:15 AM   #1
Greatrebel
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
how to print text in color by ncurses without opening a ncurses window


hi all,

I want to print some output of c++ program in color. I know one way is escape sequences, but it is not
portable. So ncurses looks like better, since it hides the difference of terminals. I am wondering how to use ncurses without generating a new window. You know, once I use init_scr to start ncurse mode, a new window is generated, actually what I want to do is just changing color for some output in the origal terminal where I typed my command. Any idea will be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
scrolling window in ncurses mayank_linux Programming 1 10-19-2006 06:03 PM
How to Change the Cursor Color in Ncurses mac57 Programming 0 04-02-2005 03:01 PM
ncurses window and keypad vegpl Programming 2 11-01-2004 02:00 AM
ncurses background color gtanghookup Programming 1 09-02-2003 08:17 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 04:51 PM.

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