To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 16037
Subject: 
Re: ldraw.ini location
Newsgroups: 
lugnet.cad
Date: 
Sun, 22 Feb 2009 07:52:46 GMT
Viewed: 
6694 times
  
In lugnet.cad, Orion Pobursky wrote:
I think we, as developers, should decide a standard location for the ldraw.ini
on each platform.  It's simply too confusing to have many different locations.

I propose:
Windows:
%APPDATA%\ldraw\ldraw.ini
(this is where Microsoft tells you to put such things as INI files)

Mac:
$HOME/Library/Preferences/org.ldraw.plist
(preferred since root access is not required)

Linux:
No clue as I don't have a Linux box to play with.

-Orion

On my System (xp) ldraw.ini is in the windows folder, like all the other ini
files. Why do you want to move it from there to somewhere else?

I see that it make sense to move it to split user data from system data, but how
long to we need then ldraw.ini at both locations?

cu
mikeheide


Subject: 
Re: ldraw.ini location
Newsgroups: 
lugnet.cad
Date: 
Sun, 22 Feb 2009 09:06:03 GMT
Viewed: 
6652 times
  
In lugnet.cad, Michael Heidemann wrote:
On my System (xp) ldraw.ini is in the windows folder, like all the other ini
files. Why do you want to move it from there to somewhere else?

The biggest reason is that on Vista (and I would assume subsequent Windows
versions) write access is restricted to the Windows directory (among others) is
restricted.  Apparently Microsoft has been telling developers to use the APPDATA
path for quite some time now and it make sense from a security standpoint.  As
such, if ldraw.ini is not in the APPDATA tree (or a few other user directories)
then programs running in Vista (or higher) can't change the values in the
ldraw.ini.

I see that it make sense to move it to split user data from system data, but how
long to we need then ldraw.ini at both locations?

Not that many applications are ldraw.ini aware and most are quite old and
obsolete.  I say move the file and leave it at that.  Your choice.

-Orion


©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR