POV-Ray : Newsgroups : povray.unix : using both a global and a local .ini file : Re: using both a global and a local .ini file Server Time
17 May 2024 23:34:49 EDT (-0400)
  Re: using both a global and a local .ini file  
From: clipka
Date: 17 Jun 2009 13:55:01
Message: <web.4a392d9ff13ccd8c7705fe780@news.povray.org>
Doctor John <joh### [at] homecom> wrote:
> clipka wrote:
> >
> > Never tried this, but I think a simple
> >
> >   /etc/povray/povray.ini
> >
> > at the beginning of your local .ini file should do the job of invoking the
> > global one.
> >
> Just tested this. Unfortunately what seems to happen is that POV reads
> the global ini but then stops reading any further in your local file :-(
> I suppose you could put the line at the _end_ of your local ini but that
> would be the opposite of what Klaus is trying to achieve.

In that case we have just discovered a bug; quote from documentation, section
2.2.8.2 ("Using INI Files"):

-------------
[...] You may nest INI files by simply putting the file name on a line by itself
with no equals sign after it. Nesting may occur up to ten levels deep. For
example:

  ; This is a sample INI file. This entire line is a comment.
  ; Blank lines are permitted.
  Input_File_Name=simple.pov ;This sets the input file name
  +W80 +H60 ; Traditional +/- switches are permitted too
  MOREOPT   ; Read MOREOPT.INI and continue with next line
  +V        ; Another switch
  ; That's all folks!
-------------


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.