🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Huub Bakker Wed, 14 Apr 1993 06:34
How to block user input?
#962
Author: Huub Bakker
Date: Wed, 14 Apr 1993 06:34
23 lines
1341 bytes
Hello world,

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
Re: How to block user input?
#963
Author: Brian L. Kahn
Date: Wed, 14 Apr 1993 16:00
36 lines
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"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads