[comp.sources.wanted] Carbon-Copy-Like Program for Sys V

freedman@euclid.math.temple.edu (Avi Freedman) (12/11/89)

Hi.  Does anyone have a program for Sys V that lets two terminals
control the same program?  This would be great for remote support.

I envision the following:

        tty1 stdout ----->|			
                          |----->(helper program)----->program stdin
        tty2 stdout ----->|			

                                                       |--> tty1 stdin
        program stdout--------->(helper program)------>|
                                                       |--> tty2 stdin

If noone resopons, I may try to write such a program.  A few problems
I see are with programs that open /dev/tty, instead of using stdin,
stdout, and stderr, and (??possibly??) with control chars and such, although
using raw mode rather than cooked may be the answer to that.


				Thanks in advance,
					Avi Freedman
				freedman@euclid.math.temple.edu