Re: FVWM: Nested 'PipeRead' commands

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 25 Oct 2003 12:15:35 +0000

On 25 Oct 2003 08:10:39 -0200, romildo_at_uber.com.br wrote:
>
> I am going to try to adapt the icewm-menu-gnome2 program
> from IceWM to dynamically generate Gnome2 menus for FVWM.
> But for that I need to know if the command PipeRead can
> be recursive, that is, the output of the command argument
> to PipeRead can contain another PipeRead, and that one
> is also executed?
>
> Something like
>
> PipeRead "fvwm-menu-gnome2 --list /usr/share/gnome/vfolders/"
>
> where the output of the command
>
> fvwm-menu-gnome2 --list /usr/share/gnome/vfolders/
>
> have calls to PipeRead.

I am not sure why do you ask rather then just try it:

  PipeRead `echo 'PipeRead "echo Menu MenuFvwmRoot"'`

Yes, nested PipeRead works.

However, you don't really need it. In your script just use loops to
generate several menus at once.

Or use dynamical submenu features to call your script again on submenus.

See the output of existing fvwm-menu-* scripts for different approaches.

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 Sat Oct 25 2003 - 07:18:04 BST

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