Re: FVWM: disabling all key bindings

From: Mikhael Goikhman <migo_at_cortext.co.il>
Date: Thu, 23 Nov 2000 23:31:15 +0200

On 23 Nov 2000 04:48:19 -0330, Neil Zanella wrote:
>
> On Wed, 22 Nov 2000, Dan Espen wrote:
>
> > Neil Zanella <nzanella_at_cs.mun.ca> writes:
> > >
> > > Hello,
> > >
> > > Is there a way to temporarily disable/reenable all key bindings in this
> > > new release of Fvwm. This would be desirable for testing appliccations
> > > or when working with new applications which may for some reason or another
> > > need to intercept some seldomly used key binding.
> >
> > No, but you could write functions that bind and unbind the keys
> > you are concerned about.
>
> Perhaps I can use PipeRead to generate all possibille keystrokes which
> fvwm knows about and unbind each single one of them. Where can I find
> such a list and how can I unbind a key?

Here are 2 functions doing what you want; call them when needed from menu:

AddToFunc UnbindAllBoundKeys
+ I PipeRead `grep '^Key ' .fvwm2rc | awk '{ print $1, $2, $3, $4, "-" }'`

AddToFunc RebindAllBoundKeys
+ I PipeRead `grep '^Key ' .fvwm2rc`

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Nov 23 2000 - 15:31:40 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST