olwm / olvwm doing two commands from one menu item

2007-12-25 10:32:00

I originally asked:

> Is there a way in olwm / olvwm to have one menu option do TWO things,

> one after another? The man page doesn't mention it. Upon exit, I want

> this box to run my own script, then the window manager internal "EXIT"

> (I want to have that confirmation "are you sure"). I've tried putting

> the two commands in my .openwin-menu file separated by a comma and by a

> space, but it just ignores the second command. I don't think that it

> matters, but this is Solaris 2.5.1. Thanks much.

(I meant semicolon, not comma, by the way)

Short answer from Sun: It cannot be done. If the command is not an

olwm / olvwm internal, it is passed to /bin/sh to be processed. /bin/sh

cannot deal with a window manager internal command like EXIT. Thanks

to Bruce Zimmer for some ideas to try, though.

+-----------------------------------------------------------------------+

| Christopher L. Barnard O When I was a boy I was told that |

| cbarnard@tsg.cbot.com / \ anybody could become president. |

| (312) 347-4901 O---O Now I'm beginning to believe it. |

| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |

+----------PGP public key available via finger or PGP keyserver---------+

Comments

Got something to say?

You must be logged in to post a comment.