Independent I/O in curses' windows

Tom Bannon bannon at betelgeuse.csc.ti.com
Thu Feb 15 09:33:38 AEST 1990


I have an application I am writing that requires the ability to have two
curses' windows up on a vt100 screen with one window showing output and
the other showing keyboard input and echoing.  The application forks
off a child process to do the output processing and the parent does the
keyboard i/o.  The problem I have is that when some output gets written
to the output window it screws up the cursor for the keyboard window,
i.e. resets it to position 0,0.  I have tried using ptys but I have not
be able to get them to work properly.  My question is 1) is what I want
to do possible?  and 2) if so, could somebody send a code fragment my
way?

Thanks,
Tom

bannon at csc.ti.com
Computer Science Center
Texas Instruments, Dallas



More information about the Comp.unix.questions mailing list