Re: FVWM: SendKey Multicast ...

2012-11-22 Thread Thomas Adam
On Thu, Nov 22, 2012 at 03:06:43PM +0100, Bastian wrote:
 
 
 Hi List,
 
 I wonder if it is somehow possible to send key events (typed in a
 head-window) to a set of other client-windows...
 
 This could help in doing small sized cluster/VM administration ...

This is what tmux(1) using its synchronize-panes option is for.

-- Thomas Adam



Re: FVWM: SendKey Multicast ...

2012-11-22 Thread Dan Espen
Bastian bastian-fvwm-org-20121...@t6l.de writes:

 Hi List,

 I wonder if it is somehow possible to send key events (typed in a
 head-window) to a set of other client-windows...

 This could help in doing small sized cluster/VM administration ...

If you are trying to generate a keystroke for an xterm, the
xterm won't accept a synthetic keystroke unless you've
selected allow sendevents.  (Its a security hole to allow it.)

Do some Google searches on xwindows synthetic.
The first hit I got discussed the issues in the context of
a security exploit.  It also mentioned some programs.

Fvwm doesn't have a command to generate keystrokes.


(Note: this reply was first posted in 2002.)

-- 
Dan Espen



Re: FVWM: SendKey Multicast ...

2012-11-22 Thread Bastian
On 22Nov12 14:17 +, Thomas Adam wrote:
 This is what tmux(1) using its synchronize-panes option is for.

Great. I will go for tmux then!

I my setup I will have tmux inside tmux then ...



Re: FVWM: SendKey Multicast ...

2012-11-22 Thread Bastian
On 22Nov12 09:17 -0500, Dan Espen wrote:
 Fvwm doesn't have a command to generate keystrokes.

I was thinking about:

WindowId 0x1402179 FakeKeypress press H

where the winid is a urxvtc 

this works for me as an example...