i/o multiplexing on terminal

Z

zubin

i want to take input at the screen and at the same time flash the
output on to the terminal (coming from some other process)...how do i
go about it?

the interface should look something like this:

::terminal::

command prompt >




______________________________________________________________________________________________________
output:
*coming from other process and hence ll have to be handled
continuously



___________________________
end terminal

-the command prompt should be non blocking wrt output
 
Z

zubin

i want to take input at the screen and at the same time flash the
output on to the terminal (coming from some other process)...how do i
go about it?

the interface should look something like this:

::terminal::

command prompt >

______________________________________________________________________________________________________
output:
*coming from other process and hence ll have to be handled
continuously

___________________________
end terminal

-the command prompt should be non blocking wrt output

i am working on linux platform :)
 
S

SM Ryan

# > -the command prompt should be non blocking wrt output
#
# i am working on linux platform :)

If you want a Unix only solution, look up the curses
(or ncurses) library. It is also available on a few
non-unices.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top