child of ttysw initialization
zifrony at TAURUS.BITNET
zifrony at TAURUS.BITNET
Fri Jan 13 20:11:58 AEST 1989
In Sun-Spots Digest V7n83, Vince Giambalvo <vince at uconnvm.bitnet> asks:
>I need to know how to send initialization information to a program running
>in a tty-subwindow in suntools....
I think of a few solutions to your problem:
1. Pass the information to the child as arguments using the TTY_ARGV attribute
of the tty's window_create.
2. Use a pipe between the SunView program (the father), and the TTY subwindow
program (the child), through which the child will notify its parent of
its being ready to receive input. Once the message is received by the
father, it will send the required input to the TTY subwindow by means of
ttysw_input() function.
Doron Zifrony E-mail: zifrony at taurus.bitnet or
Msc. Student zifrony at Math.Tau.Ac.IL
Tel Aviv University
Isreal
More information about the Comp.sys.sun
mailing list