🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9594

Intuition requestors: how to stop them?

#9594
From: David Ashley
Date: Thu, 25 Aug 1988 19:09
26 lines
1537 bytes
How do I make Intuition requestors NOT appear? My program writes to a
file on a disk, and the disk may be write-protected. Intuition puts up
a requestor, which hangs the system because I have taken over the display.

I want all things that would put up a requestor to just return as if the
CANCEL had been hit; the above write would return with 0 bytes written, and
I guess I could do IOERR() to find out what actually happened.

Why does intuition HAVE to put up the requestor? I would like to disable this
for everyday use anyway. I would rather commands just fail quickly, than
have to wait for intuition to draw the requestor, and force me to respond to
it.

NOTES:

My display is not an intuition screen or window. I take over the
display with LoadView().

I install an input.device handler at priority 127, and pass NOTHING down.
Therefore intuition gets no timer events, keyboard, mouse, etc.(This really
speeds things up; the system doesn't have to do any processing when the
mouse is moved)

Thanks for ANY responses.
koster@cory.berkeley.edu
David Ashley
Technical Details
Message-ID: <5221@pasteur.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!cory.Berkeley.EDU!koster

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!cory.Berkeley.EDU!koster
From: koster@cory.Berkeley.EDU (David Ashley)
Newsgroups: comp.sys.amiga.tech
Subject: Intuition requestors: how to stop them?
Message-ID: <5221@pasteur.Berkeley.EDU>
Date: 25 Aug 88 19:09:33 GMT
Sender: news@pasteur.Berkeley.EDU
Reply-To: koster@cory.Berkeley.EDU (David Ashley)
Organization: University of California, Berkeley
Lines: 25