473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

i/o multiplexing on terminal

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

Jun 24 '07 #1
3 2469
On Jun 24, 3:25 pm, zubin <zubinabdul...@gmail.comwrote:
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 :)

Jun 24 '07 #2
zubin <zu***********@gmail.comwrote:

# -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.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
A bunch of savages in this town.
Jun 24 '07 #3
On Sun, 24 Jun 2007 10:27:29 -0000, zubin <zu***********@gmail.com>
wrote in comp.lang.c:
On Jun 24, 3:25 pm, zubin <zubinabdul...@gmail.comwrote:
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 :)
Then you need to ask in a group like
news:comp.os.linux.development.apps. The C language itself has no
concept of terminals, screens, or processes.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Jun 25 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: flamesrock | last post by:
First, I'm very new to gui programming, so please go lightly on me :) Ok, so far I've settled on wxPython, and what I'd like to do as a first leap is *convert* a text program into a gui program....
3
by: Josh Schmidt | last post by:
How can one set the terminal services profile and home directory path in AD using VB.NET? I can set the usual profile paths, but terminal services properties are not supported with ADSI. Any...
5
by: TPoise! | last post by:
Using: .NET 1.1, Visual Studio 2003, C#, Microsoft Windows 2000 Server (SP4 and all latest windows updates), Terminal Server running in application mode. I have a C# application that I've...
8
by: OHM | last post by:
Hi peoples, I dont know where to place this question, so as I know you guys are all resourceful experts, I thought I would try here. I am writing some code which will be run usingh remote...
20
by: Joel Hedlund | last post by:
Hi all! I use python for writing terminal applications and I have been bothered by how hard it seems to be to determine the terminal size. What is the best way of doing this? At the end I've...
3
by: shawn | last post by:
In the past I have had SQL and Terminal server on the same PC. With SQL and Windows 2003 Terminal server, you can not have them on the same PC. How can I make this work with SQL and Terminal and...
4
by: Salvatore Di Fazio | last post by:
Hi guys, I'm looking for a tutorial to make a client with a i/o multiplexing and non blocking socket. Anybody knows where is a tutorial? Tnx
7
by: mike | last post by:
We have numerous Access 97 apps that we run on our Terminal Server, but two apps in particular is giving us a problem. The problem we are running into is when you select a drop down menu, it errors...
16
by: =?Utf-8?B?RHdlZWJlcmVsbGE=?= | last post by:
I created an Access 2007 application for my customer. The application is shared by three employees on a server. It maintains a contact list including financial data and social security numbers. ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.