On Sun, Jul 29, 2001 at 08:18:56PM -0700, Igor Pruchanskiy wrote:
> Hello all. 
> 
> I have a little feature request, nothing major, just a little
> change to the menu. How hard would be to make a patch that will
> allow you to spawn a command over a multiple lines ?
> 
> Currently i have this: 
> 
> [exec] (openprojects)     {aterm -title "epic : openprojects" -fg grey -tr -tint 
>gray -sh 60 +sb -g 124x106+10+7 -e epic irc.openprojects.net -c "#kernel-panic"}
> 
> As you see this is very long and hard to read.
> I would love to be able to do something like this:
> 
> [exec] (openprojects) { \
>        aterm -title "epic : openprojects" -fg grey -tr -tint gray \
>        -sh 60 +sb -g 124x106+10+7 -e epic irc.openprojects.net -c \
>        "#kernel-panic" \
>         }

Well, the menu parser is currently line-based and rather
nasty... some easier solutions would be to either
   -- put the long command in a script, and just use the
      script as the command instead
   -- set up some X resources and use "aterm -name whatever"
      (at least rxvt uses -name, so aterm probably does)

Jeff Raven

Reply via email to