On Wed, Feb 18, 2004 at 03:42:13PM +0100, Rainer Koehler wrote:
> Ryan Daly writes:
> 
> > Rainer Koehler said:
> >> This is such a big mess that I can't keep my mouth shut...
> >> No offense, but I think someone should explain to you what you're
> >> actually doing here.
> 
> > Sorry for not posting my completed function.  That function was obviously
> > just for debugging purposes so I could see that things were working.
> 
> No problem, and thanks for posting the final (?) function.  There are
> other users here who should see it, and not just some intermediate
> version.
> 
> > My completed function is as follows:
> 
> > AddToFunc "CreateStartMenu"
> >   + "I" DestroyMenu StartMenu
> >   + "I" PipeRead 'echo "AddToMenu StartMenu `/bin/hostname -s` Title"'
> >   + "I" PipeRead '/bin/cat $HOME/.fvwm/.startmenu'
> 
> Ok, so why don't you use $HOST instead of calling hostname, and why
> don't you use Read instead of PipeRead to read .startmenu?  There
> might very well be good reasons to do it your way, I just want to
> know...

Come to think of it, this is much simpler:

  + I "$[HOSTNAME]" Title

Ciao

Dominik ^_^  ^_^
--
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