Path: utzoo!utgpu!watserv1!watmath!uunet!mailrus!iuvax!cica!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!srhqla!denwa!stb!michael From: michael@stb.uucp (Michael Gersten) Newsgroups: unix-pc.general Subject: Window switching killing programs Message-ID: <1990Jan14.053423.29887@stb.uucp> Date: 14 Jan 90 05:34:23 GMT Reply-To: michael@stb.UUCP (Michael Gersten) Organization: The Serial Tree BBS, +1 213 397 3137 Lines: 21 What EXACTLY happens to a program when a window change occurs? What EXACTLY happens to input queues/terminal lines? I have two programs that can detect a change in the active window. One prints "EXIT" and exits the program. There is no string "EXIT" anywhere in the program; at that point, unless some signal that I'm not expecting is killing the program there is no way to leave without printing a message. The other program is "less", and if it is reading a pipe when the active window changes, then it aborts reading the pipe and thinks it is working with an empty file. Any ideas? Michael -- Michael denwa!stb!michael anes.ucla.edu!stb!michael "The 80's: Ten years that came in a row."