Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

xterm

Posted on 2001-07-23
7
Medium Priority
?
209 Views
Last Modified: 2010-04-21
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?
0
Comment
Question by:shisuck
7 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6312256
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
 
LVL 5

Accepted Solution

by:
garboua earned 300 total points
ID: 6313316
no threads are displaying current status of  seeds, it is usefull information.
0
 
LVL 5

Expert Comment

by:garboua
ID: 6313327
user termio, /usr/include/termio.h
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

Author Comment

by:shisuck
ID: 6313333
that is NOT my name.
0
 

Author Comment

by:shisuck
ID: 6334429
show me an example of how to use termio
0
 
LVL 3

Expert Comment

by:superschlonz
ID: 6336306
I think you need ncurses for that.
Have a look at the manual, it has many features.
0
 
LVL 5

Expert Comment

by:garboua
ID: 6375885
please either accept an answer or delete.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question