Message-Id: <199907191932.OAA07195@darwin.sfbr.org> Date: Mon, 19 Jul 1999 14:32:07 -0500 (CDT) From: Jeff Williams Subject: initialization file for gnuplot 3.7 To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: wUS+emjP1JPudgY3JGoW3w== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc Reply-To: djgpp AT delorie DOT com Hi, I am using the djgpp port of gnuplot 3.7 with djgpp 2.02, bash 1.14.7, on top of MS-DOS 5.0. It is working just fine. I'd like to have ~/_gnuplot be the initialization file, in keeping with many other djgpp ports. Can this be done without recompiling gnuplot? AFAICT the initialization file (under MS-DOS) *must* be called GNUPLOT.INI (which of course could load _gnuplot, but then what would be the point?). From the gnuplot 3.7 docs (excerpt below) it seems as if the `gnuplot' environment variable only specifies a path to GNUPLOT.INI, and does not permit specification of the init filename itself. Comments or suggestions appreciated, TIA, jtw ---excerpt from gnuplot 3.7 docs--- ``When gnuplot is run, it looks for an initialization file to load. This file is called .gnuplot on Unix and AmigaOS systems, and GNUPLOT.INI on other systems. If this file is not found in the current directory, the program will look for it in the home directory (under AmigaOS, Atari(single)TOS, MS-DOS and OS/2, the environment variable gnuplot should contain the name of this directory). Note: if NOCWDRC is defined during the installation, gnuplot will not read from the current directory.''