Terminal driver process control group ioctl()s?

jay dubb jdubb at bucsf.bu.edu
Thu Jan 3 03:56:24 AEST 1991


I am posting this for a friend who doesn't have access to USENET, so
please reply to mlevin at jade.tufts.edu.

    This question regards a BSD Unix 4.3 C program:
    Does anyone know how to make sure that a program's screen output
(a curses graphics menu, for example) isn't disrupted by output from
other processes? I do a chmod() on the terminal file to make sure no
other users mess up the screen, but what do I do about background
processes which may want to write to the terminal while the program is
writing? I imagine it has something to do with setting the process
control groups of the process, and using ioctl() to communicate with
the terminal driver. Am I on the right track? If so, I'd appreciate
any information on how to do this. If not, where should I be looking? 

Thanks. Please reply to mlevin at jade.tufts.edu.

					Mike Levin



More information about the Comp.unix.internals mailing list