Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!jade!violet.berkeley.edu!mwm From: mwm@violet.berkeley.edu.UUCP Newsgroups: comp.sys.amiga Subject: How much of the console.device do I need to close? Message-ID: <3665@jade.BERKELEY.EDU> Date: Thu, 21-May-87 05:56:14 EDT Article-I.D.: jade.3665 Posted: Thu May 21 05:56:14 1987 Date-Received: Sat, 23-May-87 08:20:46 EDT Sender: usenet@jade.BERKELEY.EDU Reply-To: mwm@violet.berkeley.edu(Mike (My watch has windows) Meyer) Organization: Missionaria Phonibalonica Lines: 26 I need to twiddle a window in ways that require closing and re-opening it. I'd like to keep as much of the context around as possible, and just close/re-open those things that really depend on the window. I'm happy with the way everything works except the console.device. It would appear that I can create the ports and IOStdReq structures once, and then do the OpenDevice every time I open the window. Closing the window then needs an AbortIO & CloseDevice. This works fine, except that I keep getting spurious messages which cause the last character I typed before the open/close to appear in the input stream. Not reasonable. Creating the ports & IOStdReq every time, and shutting them down to close the window, works like a charm. But I shouldn't have to do all that. Anyone know what I'm doing wrong here? Thanx,