--- Ryan Daly <[EMAIL PROTECTED]> wrote: > Thomas Adam said:
> > Try:
> >
> > + "I" PipeRead 'echo `/bin/hostname -s` > $[HOME]/.fvwm/.hostname'
> >
> > Works for me.
> 
> Yep.  That part works for me, too.  The trouble line for me is:
> 
>   + "I" AddToMenu StartMenu `/bin/cat $[HOME]/.fvwm/.hostname` Title
> 
> Do I need a PipeRead here, too?  I'm not certain that I totally
> understand what the PipeRead means to a function... 

PipeRead allows you to use external process to interpolate (usually) for
Fvwm commands. What you probably want is something like:

+ "I" PipeRead "AddToMenu StartMenu 'echo `/bin/hostname -s`' Title

-- Thomas Adam

=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)


        
        
                
___________________________________________________________
BT Yahoo! Broadband - Free modem offer, sign up online today and save �80 
http://btyahoo.yahoo.co.uk
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to