Re: FVWM: Exec wasteful

From: Tobias Oetiker <oetiker_at_ee.ethz.ch>
Date: Fri, 28 Mar 1997 09:03:20 +0100 (MET)

On Thu, 27 Mar 1997, Randy J. Ray wrote:

> > I use:
> >
> > + "Terminal" Exec exec xterm
> >
> > Which seem to do what you want?
>
> That will work, yes, but it seems like Fvwm should prepend "exec" automatically
> when processing an Exec command. I understand using a shell (environment
> variable expansions, etc.), but you don't expect to be using that top-level
> shell for anything afterwards-- why not always use exec?

you can use structures with several commands, then an exec would not ake
sens ...

eg what should fvwm do to this menu entry ?

+ "netscape (WWW)" Exec FVB_WWW=${FVB_WWW:-${WEBBROWSER:-'netscape -install'}}; exec ${FVB_WWW} &

cheers
tobi

PS this tries several environment variable to find the users favorite
webbrowser and if its not successfull it uses netscape

cheers
tobi


--
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr _at_ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL:+41(0)1-6325286  FAX:+41(0)1-6321194
/_/ \___/_.__/_/ oetiker_at_ee.ethz.ch http://www.ee.ethz.ch/~oetiker
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Mar 28 1997 - 02:03:31 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST