|
From: Reiner S. <rei...@im...> - 2006-10-04 19:42:02
|
On Wed, Oct 04 2006, Ethan Merritt wrote:
> 1) gnuplot -no-init-file
> If the command line option is present,
> skip the call to load_rcfile() on line 563 of plot.c
>
> 2) setenv GNUPLOTRC "" ; gnuplot
> The init file name is hard-coded into the string constant PLOTRC.
> We could provide an environment variable that overrides this.
> Setting it to "" or to any non-existent file name would
> bypass the default names "~/.gnuplot" or "gnuplot.ini".
>
> Option 2 has the additional advantage that you could use this
> mechanism to specify alternative initialization files.
Alternatively, you could add `-init-file FILE' (or `-rc-file'?).
`-init-file /dev/null' (or `-init-file nul' on Windows, probably)
would be the same as `-no-init-file'.
> Which would be more portable, and more useful -
> a command line option or an environmental variable?
I'd prefer a command line option.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
|