Re: FVWM: key bindings

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Wed, 25 Oct 2000 20:59:55 -0400

Neil Zanella <nzanella_at_cs.mun.ca> writes:
>
> On Wed, 25 Oct 2000, Dan Espen wrote:
>
> > Neil, I think you are asking this question on the wrong list.
> > I don't know the right one, but I'm pretty sure this is Linux kernel
> > stuff. Even if fvwm did support generating synthetic keystrokes, I don't
> > think the kernel would see them.
>
> I am not very familiar with X Window technology intrinsics but I don't
> see why it would not b possible. I thought X was such a complicated
> beast that it would allow virtually everything.

I don't see your reasoning. Just because X is complicated, it doesn't
mean that it does everything.

My statement was that if you generated the synthetic keystroke C-A-F1,
it would never get to the VT driver that normally intercepts C-A-F1
and cause the action you are looking for.
I still think thats a correct statement.

Erik identified chvt as the name of a program that does communicate
with the VT driver so I would guess that you can use that program
to do everything you want.

The subject of having fvwm generate synthetic keystrokes comes up
from time to time. Someday fvwm may do that. It could be in the
core fvwm, or in a module. I don't know what the advantage to building
it into fvwm would be though, it would be just as easy to have
an external program do it. You could pass the program the window
ID and the keystroke you wanted, something like:

Exec unidentifiedProgram -w $w '^C ^[ k'

--
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 Wed Oct 25 2000 - 20:02:29 BST

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