Path: utzoo!attcan!uunet!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga Subject: Re: Using Software Interrupts for Menu Handling Message-ID: <4130@cbmvax.UUCP> Date: 29 Jun 88 00:00:42 GMT References: <8806212054.AA00815@cory.Berkeley.EDU> <4080@cbmvax.UUCP> <432@draken.nada.kth.se> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 18 In article <432@draken.nada.kth.se> G@epsilon.stacken.kth.se (Gunnar Nordmark) writes: >The problem is, however, that I *do not* want to Close() the CON: >Why not? Because it's my CLI-window! >I tried Matt's suggestion of CMD_FLUSHing the console.device that >CON: talks to, but no way. That villain (i.e. CON:) seems to ignore the >fact that it's CMD_READ returned early with an error. Sigh. >ConMan on the other hand doesn't precisely ignore the returned request, >it thinks it's a valid one resulting in a duplicate of the last typed >character. Try using something more low-level than "fgets". God knows what that is doing internally. Use "Read" and see if you still have the problem. Maybe try changing the window into raw IO (using ACTION_SET_MODE), and doing WaitForChar()s so your quit will take place within a limited time. You'll have to do your own editing/echoing. -- Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup