POV-Ray : Newsgroups : povray.unix : per-user config file? Server Time
31 Oct 2024 05:59:48 EDT (-0400)
  per-user config file? (Message 1 to 6 of 6)  
From: Bill Hails
Subject: per-user config file?
Date: 16 Feb 2003 14:09:15
Message: <3e4fe1db@news.povray.org>
Hi, I'm just getting started with povray, and I can't find this
info anywhere, so my question is: Is there a standard per-user config
file for povray under unix/linux, like ~/.povrayrc or ~/.povray.conf
that povray will find by default and that will override the system
povray.conf?

The POVINI environment variable doesn't seem to work,
but that might be my problem.

-- 
Gee batman, is there *anything* you don't understand?
Yes Robin, several things.


Post a reply to this message

From: Jellby
Subject: Re: per-user config file?
Date: 16 Feb 2003 19:19:09
Message: <3e502a7c@news.povray.org>
Among other things, Bill Hails wrote:

> Hi, I'm just getting started with povray, and I can't find this
> info anywhere, so my question is: Is there a standard per-user config
> file for povray under unix/linux, like ~/.povrayrc or ~/.povray.conf
> that povray will find by default and that will override the system
> povray.conf?
> 
> The POVINI environment variable doesn't seem to work,
> but that might be my problem.

I have a ~/.povrayrc file with settings like these:

Output_to_File=true
Output_File_Type=N8
Quality=9
Antialias=true
Antialias_threshold=0.3
Antialias_Depth=2
Sampling_Method=2
Jitter=false
Jitter_Amount=1.0

-- 
Ignacio Fernández Galván
Linux User #289967 (counter.li.org)
PGP Pub Key ID: 0x01A95F99 (pgp.escomplinux.org)


Post a reply to this message

From: Doctor John
Subject: Re: per-user config file?
Date: 17 Feb 2003 11:46:18
Message: <3e5111da@news.povray.org>
"Bill Hails" <bil### [at] europeyahoo-inccom> wrote in message
news:3e4fe1db@news.povray.org...
> file for povray under unix/linux, like ~/.povrayrc or ~/.povray.conf

You've already written out the answer. That's exactly what I've got on my
system. Use povray.ini renamed to ~/.povrayrc and povray.conf renamed to
~/.povray.conf.

BTW I have a feeling (tho' I could be wrong) that the docs say that the use
of povray.conf has not yet been implemented under Linux. Whatever, my
.povray.conf is basically totally non-restrictive - I've been doing a lot of
shell-outs recently.

John
--
War is not good for children and other living things


Post a reply to this message

From: Bill Hails
Subject: Re: per-user config file?
Date: 17 Feb 2003 15:23:58
Message: <3e5144dd@news.povray.org>
Doctor John wrote:

> 
> "Bill Hails" <bil### [at] europeyahoo-inccom> wrote in message
> news:3e4fe1db@news.povray.org...
>> file for povray under unix/linux, like ~/.povrayrc or ~/.povray.conf
> 
> You've already written out the answer. That's exactly what I've got on my
> system. Use povray.ini renamed to ~/.povrayrc and povray.conf renamed to
> ~/.povray.conf.
> 
> BTW I have a feeling (tho' I could be wrong) that the docs say that the
> use of povray.conf has not yet been implemented under Linux. Whatever, my
> .povray.conf is basically totally non-restrictive - I've been doing a lot
> of shell-outs recently.
> 
> John
> --
> War is not good for children and other living things

Thanks, to both you and Jellby, I unluckily had only tried a ~/.povray.ini 
:-)

-- 
Gee batman, is there *anything* you don't understand?
Yes Robin, several things.


Post a reply to this message

From: Doctor John
Subject: Re: per-user config file?
Date: 18 Feb 2003 11:31:53
Message: <3e525ff9$1@news.povray.org>
"Bill Hails" <bil### [at] europeyahoo-inccom> wrote
> Thanks, to both you and Jellby, I unluckily had only tried a ~/.povray.ini

You're welcome

John
--
Run Fast
Run Free
Run Linux


Post a reply to this message

From: gimi
Subject: i/o restrictions? [was: per-user config file?]
Date: 8 Mar 2003 08:17:42
Message: <3e69ed76@news.povray.org>
hi,

Doctor John wrote:
> BTW I have a feeling (tho' I could be wrong) that the docs say that the use
> of povray.conf has not yet been implemented under Linux. Whatever, my
> ..povray.conf is basically totally non-restrictive - I've been doing a lot of
> shell-outs recently.

you are right. ;)

i was just wondering which one was wrong;
povray complaining about i/o restrictions, or the docs.
my feeling is that the docs are not up to date.

however, you are saying that the settings in povray.conf
are working for you... but i am just trying to set up
a very simple config, and it doesn't work at all:

~/.povray.conf
---
[File I/O Security]
none

[Shellout Security]
allowed

[Current Directory Read/Write]
allowed
---

(/usr/local/etc/povray.conf is the same)

povray is run with

   +Lmy_source_dir +Imy_source_dir/test.ini

it seems that /usr/local/etc/povray.ini is read, but
still, povray refuses to load any other source file!

---
   Input file: my_source_dir/test.ini (compatible to version 3.5)
[...]
   Library paths: /usr/local/share/povray-3.5
     /usr/local/share/povray-3.5/include my_source_dir
[...]
Parsing...Scene File Parser Initialization Error:
Reading from my_source_dir/test.ini is not permitted.
Check the configuration in /usr/local/etc/povray.conf
or ~/.povray.conf.
---

BTW, how can povray tell that the file is "compatible"
to anything if it cannot even read it??

(needless to say that i am the owner of the file, and
all the files are readable...)


could someone please confirm that this configuration
would actually work, so i can go and look for other
reasons...?


thanks in advance,

g.


-- 
"Life admits not of delays; when pleasure can be had, it is fit to catch
it.  Every hour takes away part of the things that please us, and 
perhaps part of our disposition to be pleased." -- Samuel Johnson
++ mailto:gim### [at] psicoch ++ http://www.psico.ch/ ++


Post a reply to this message

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