FVWM: PipeRead

From: Vivek <vivek_at_etrade.co.uk>
Date: Thu, 20 Apr 2000 18:46:18 +0100 (BST)

Hi - I'm having a little trouble getting PipeRead to behave as I expect
in 2.2.4:

I have the following function:

AddToFunc make_module_menu
+ "I" DestroyMenu Module-Popup
+ "I" AddToMenu Module-Popup FOO Title
+ "I" PipeRead 'for m in /usr/X11R6/lib/X11/fvwm2/*; do X=`basename $m`; echo -e "AddToMenu\tModule-Popup\t\"$X\"\tNop"; done'

The title of the menu gets set, but there are no entries in it.
When I run the above shell command by hand, I get the following output:

AddToMenu Module-Popup "FvwmAnimate" Nop
AddToMenu Module-Popup "FvwmAudio" Nop
AddToMenu Module-Popup "FvwmAuto" Nop
AddToMenu Module-Popup "FvwmBacker" Nop
AddToMenu Module-Popup "FvwmBanner" Nop
AddToMenu Module-Popup "FvwmButtons" Nop
AddToMenu Module-Popup "FvwmCommandS" Nop
AddToMenu Module-Popup "FvwmConfig" Nop
AddToMenu Module-Popup "FvwmConsole" Nop
AddToMenu Module-Popup "FvwmConsoleC" Nop

Which looks Ok to me: In fact, when I add those lines explicitly as + "I"
elements of the make_module_menu, they show up: Is PipeRead relatively
fussy/flaky? DO I need to move up to the latest betas to get it working?
[ For a while I got it to generate a menu with the correct number of
  entries, but it seemed to insist on picking the wrong word as the menu
  label, and now I don't even seem to be able to produce that ]

-- 
Nobody wants constructive criticism.  It's all we can do to put up with
constructive praise.
--
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 Apr 20 2000 - 12:46:46 BST

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