Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: zifrony@TAURUS.BITNET Newsgroups: comp.sys.sun Subject: Re: child of ttysw initialization Message-ID: <8901061128.AA02980@sl2.Tau.Ac.IL> Date: 13 Jan 89 10:11:58 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 19 Approved: Sun-Spots@rice.edu Original-Date: Fri, 6 Jan 89 13:28:55 +0200 X-Sun-Spots-Digest: Volume 7, Issue 100, message 7 of 11 X-Issue-Reference: v7n83 In Sun-Spots Digest V7n83, Vince Giambalvo 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@taurus.bitnet or Msc. Student zifrony@Math.Tau.Ac.IL Tel Aviv University Isreal