Mail Archives: djgpp/1999/07/20/05:05:27.2

From: ams AT ludd DOT luth DOT se (Martin Str|mberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: initialization file for gnuplot 3.7
Date: 19 Jul 1999 20:20:04 GMT
Organization: University of Lulea, Sweden
Lines: 39
Message-ID: <7n019k$4ei$>
References: <199907191932 DOT OAA07195 AT darwin DOT sfbr DOT org>
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jeff Williams (jeffw AT darwin DOT sfbr DOT org) wrote:
: 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.''

Yes. It seems as if you need to recompile.

If you're feeling adventurous, you could try patching the binary and
change the right string in gnuplot itself. But that's a very shaky



- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019