[comp.unix.questions] Independent I/O in curses' windows

bannon@betelgeuse.csc.ti.com (Tom Bannon) (02/15/90)

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@csc.ti.com
Computer Science Center
Texas Instruments, Dallas