Path: utzoo!attcan!uunet!crdgw1!barnett From: barnett@grymoire.crd.ge.com (Bruce Barnett) Newsgroups: comp.windows.open-look Subject: Re: restarting TERMSW application Message-ID: Date: 12 Nov 90 21:39:20 GMT References: Sender: news@crdgw1.crd.ge.com Reply-To: barnett@crdgw1.ge.com Organization: GE Corp. R & D, Schenectady, NY Lines: 21 In-reply-to: barnett@grymoire.crd.ge.com's message of 7 Nov 90 18:56:23 GMT In article I wrote: > I have a [Xview] TERMSW application running in a text subwindow. When this > application dies, I want to restart the application. I didn't get any responses to my first posting. The only way I can see to do this is to create the process with TTY_ARGV, TTY_ARGV_DO_NOT_FORK, and then use dup2((int)xv_get(t_sw, TTY_TTY_FD), 0); dup2((int)xv_get(t_sw, TTY_TTY_FD), 1); initscr(); /* curses */ and compile the program with the curses library. I would then have to fork/attach the process myself. Is this the way to do it? Yuck! -- Bruce G. Barnett barnett@crd.ge.com uunet!crdgw1!barnett