xterm

I have a parent and two children threads. one thread spits out info to stdout, while main program prompt user for further action.  my output, JUST NASTY, is messy.  How can I split the console and dedicate upper portion to thread and lower to main program.  up--> stdout, low-- stdin
little example would help?
shisuckAsked:
Who is Participating?
 
garbouaCommented:
no threads are displaying current status of  seeds, it is usefull information.
0
 
ahoffmannCommented:
a) write to stderr
b) write to file
c) cache stdout/stderr and flush at end of thread
d) use process (fork) instead of threads
0
 
garbouaCommented:
user termio, /usr/include/termio.h
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
shisuckAuthor Commented:
that is NOT my name.
0
 
shisuckAuthor Commented:
show me an example of how to use termio
0
 
superschlonzCommented:
I think you need ncurses for that.
Have a look at the manual, it has many features.
0
 
garbouaCommented:
please either accept an answer or delete.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.