Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!husc6!necntc!dandelion!ulowell!hawes From: hawes@dino.ulowell.edu (Bill Hawes) Newsgroups: comp.sys.amiga Subject: Re: Using Software Interrupts for Menu Handling Keywords: console packets, intuition menus, interrupts Message-ID: <1987@dino.ulowell.edu> Date: 20 Jun 88 23:15:49 GMT References: <416@draken.nada.kth.se> Reply-To: hawes@dino.ulowell.edu (Bill Hawes) Organization: University of Lowell Productivity Center, Lowell MA. Lines: 14 You can abort the fgets() by simply sending a close packet to the console handler. The read in progress will terminate and you'll be able to exit cleanly. (But be sure to set a flag so you don't try to close down again, and you'll either have to release the filehandle yourself, or clear the fh_Type field and close it as a NIL: filehandle). Let me know how it works. -Bill Hawes (ConMan author) (BTW, closing with a read pending will work with ConMan 1.1, but not prior versions. The ED editor is the only software I know that does this)