Hello,

I must confess I'm not very fond of listen only modules. I believe it
is more of a hack than a long term solution to the "shell script
module" problem. And I would really like it removed, and for that the
sooner the better.

So I was messing around to see if it was really needed, and it's not. The proof:

run "Module FvwmCommandS"

create a simple bash script like this:

#!/bin/bash
echo 'Module FvwmBanner' > /var/tmp/FvwmCommand-${HOSTNAME}${DISPLAY}C

Now a nice FvwmBanner will appear. You can build complicated scripts
in any language that allows you to write to a file, zsh included, no
overhead whatsoever.

And if you want to listen to fvwm it's a matter of listening to the
'M' counterpart: /var/tmp/FvwmCommand-${HOSTNAME}${DISPLAY}M

The only issue I can see here is the possible variation of the fifo
names, which is not that severe.

Any reasons to keep the ListenOnly module mechanism?

Cheers,
  Renato

Reply via email to