Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!hao!ames!ucbcad!ucbvax!unisoft!lll-lcc!well!ewhac From: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Newsgroups: comp.sys.amiga Subject: Re: How much of the console.device do I need to close? Message-ID: <3116@well.UUCP> Date: Fri, 22-May-87 22:08:40 EDT Article-I.D.: well.3116 Posted: Fri May 22 22:08:40 1987 Date-Received: Sat, 23-May-87 19:13:23 EDT References: <3665@jade.BERKELEY.EDU> Reply-To: ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 24 [ First time 'inews' ever bit me. Fascinating. ] In article <3665@jade.BERKELEY.EDU> mwm@violet.berkeley.edu(Mike (My watch has windows) Meyer) writes: + + I need to twiddle a window in ways that require closing and re-opening + it. [ ... ] + + It would appear that I can create the ports and IOStdReq structures once, + and then do the OpenDevice every time I open the window. [ ... ] + 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. [ ... ] + + 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. + Have you tried zeroing out the IOStdReq before re-using it? _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape ihnp4!ptsfa -\ \_ -_ Bike shrunk by popular demand, dual ---> !{well,unicom}!ewhac O----^o But it's still the only way to fly. hplabs / (pronounced "AE-wack") "Work FOR? I don't work FOR anybody! I'm just having fun." -- The Doctor