On Jan 5, 2010, at 14:55 , Werner Smekal wrote: > Hi Dave, > > On Jan 5, 2010, at 11:24 PM, David MacMahon wrote: > >> I just grepped for "getenv" in the source tree and didn't find >> anything that looked like PGPLOT's use of the "PGPLOT_DEV" >> environment variable. > > What's the purpose of this variable?
It is used to specify a "default" driver that will be used if no other driver is specified. If it is not defined and no driver is specified, then the user is prompted with a driver list. For example, if I like using the xcairo driver, I could do... export PLPLOT_DEV=xcairo ...and then I wouldn't need to pass "-dev xcairo" on each command line to use xcairo, but I could pass "-dev xxx" if I wanted to use a different driver. IMHO, it's a harmless convenience. Dave ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel