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
16 May 2024 23:19:54 EDT (-0400)
  Re: using both a global and a local .ini file  
From: Doctor John
Date: 18 Jun 2009 13:50:14
Message: <4a3a7e56@news.povray.org>
clipka wrote:
> 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!
> -------------
> 
> 
> 
I'm going to recheck this later this evening. Results will be posted
here tomorrow

John
-- 
"Eppur si muove" - Galileo Galilei


Post a reply to this message

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