Article View: gnu.epoch.misc
Article #963Re: How to block user input?
From: Brian L. Kahn
Date: Wed, 14 Apr 1993 16:00
Date: Wed, 14 Apr 1993 16:00
36 lines
1830 bytes
1830 bytes
In article <9577@charon.cwi.nl> huub@cwi.nl (Huub Bakker) writes: In our system the Epoch text editor is part of the user-interface. When the user invokes a command (by Epoch or by pushing a button somewhere) and the system starts computing the answer, I do not want this computation to be interrupted by new user commands. So I want to disable the possibility for user-input to Epoch; neither keyboard nor mouse-input should be seen by Epoch. How can I do this? Is there a global switch? Do I have to disable mappings? Do I have to catch all the X-Events myself? Is there anybody who has an idea? Thanks for all the help in advance, Greetings, Huub. -- CWI, P.O. Box 4079 Huub Bakker (huub@cwi.nl) 1009 AB Amsterdam The Netherlands Tel. 31 20 5924080 It should be fairly easy to block out all inputs at the XWindows level, using XSelectInput on all the epoch windows. This means a patch to epoch sources, but if your lucky it will just be a new elisp function, not changes to existing code. -- B< Brian Kahn blk@mitre.org "may the farce be with you"
Technical Details
Message-ID:
<BLK.93Apr14110025@vanity.mitre.org>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!linus!linus.mitre.org!news!mbunix!blkReferences:
<9577@charon.cwi.nl>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,b3c712b0ffa80dd1 X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1993-04-14 09:12:56 PST Newsgroups: gnu.epoch.misc Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!linus!linus.mitre.org!news!mbunix!blk From: blk@mitre.org (Brian L. Kahn) Subject: Re: How to block user input? In-Reply-To: huub@cwi.nl's message of 14 Apr 93 06:34:06 GMT Message-ID: <BLK.93Apr14110025@vanity.mitre.org> Sender: news@linus.mitre.org (News Service) Nntp-Posting-Host: vanity.mitre.org Organization: The MITRE Corp. Bedford, MA References: <9577@charon.cwi.nl> Date: Wed, 14 Apr 1993 16:00:25 GMT Lines: 37