To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9562 (-20)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Seems to me programs need the ability to specify the LDRAWINI directory (and possibly LDRAWDIR) on the command line, for non-standard setups. Maybe the library needs an Ldraw-specific getopt[1] function as well. ROSCO [1] (URL) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I'm logged onto an NT domain right now at work and it's set to this: ALLUSERSPROFILE=C:\Documents and Settings\All Users That's on the local drive. But I suppose you're right, a competent administrator could set it up somewhere on the network. (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: lugnet.cad.dev (2004.03.03.1000) #9551 (1 article)
 
(...) Well, there is Mac OS 8-9 and Mac OS X. Mac OS 8-9: The search path for the ini/pref file is: /System Folder/Preferences There is no where else it should be saved. Andrew can tell you what the format is (I don't think it is xml/plist). Mac OS (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) You're welcome. I chose C rather than C++ because L3P is still also compiled with 1988 TurboC. L3Lab and LDrawSetup is C++, but can easily interface to a lib in C. You can write a wrapper class if you think it's necessary. (...) But of course (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Sure. (...) OK. (...) Fine. (...) I think so too. Users will also have the option to use the new app LDrawSetup, which can setup LDrawDir, SearchDirs, LgeoDirectory, MIME-types. /Lars (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) It's no problem handling the \ or /'s. We do that all the time already in our parts referencing e.g. S\3039S01.DAT, we do manage to find the subpart on unix too :-) My library reads env vars and ini files in any format and converts it to the (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) No, but leading blanks would be preserved as well... (...) Isn't that what %ALLUSERSPROFILE% is for? (...) LDRAWINI is just an opportunity for quickly temporarily using another specific ldraw.ini file. /Lars (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Lars C. Hassing" <sp.lars@am.hassings.dk> schrieb im Newsbeitrag news:Htz996.1H4@lugnet.com... (...) style of (...) it - (...) What I said ;-) <SNIP> (...) env (...) with (...) notified (...) all programs. (...) That sound interesting - any way I (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:Hu0CMF.1Fyv@lugnet.com... (...) Ok, agreed too. So with have <HIDE> and optionally <SHOW> - right? (...) I would still like the quotation marks as an option - not a must. If a (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Oh yeah. One other thing about an ldraw.ini located on a central server. I'd prefer to leave the client OS up to the user. This reinforces my case for the <LDRAWDIR>parts path format without the nasty OS specific slash character. Enjoy, Don (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I agree, and prefer <> around all tags. (...) Ah, but what about leading blanks. ;^) Nevermind, I don't think you can create an absolute path that starts with leading blanks. (...) But wait. The reason given for looking in LDRAWDIR is for a (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) The data contained in either environment variables or ini files should have exactly the same format. (...) Trailing blanks are preserved in both env var and ini files. So I still don't think quotation marks are necessary... (...) I didn't mean (...) (21 years ago, 3-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
Where to store the preferences? While I've been aware of this thread, I haven't actually been following it, so correct me if I've got the wrong end of the stick. (...) MacOS 9 and earlier is a single user environment and it was easy to place (and (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev, lugnet.cad.dev.mac)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Sorry to immediately respond to my own respond to my own reply, but I forgot one minor detail. The corallary to this bit is that to be safe, Windows programs should treat both / and \ as path separators any time they parse paths, and work (...) (21 years ago, 2-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) I believe that this isn't entirely true. We had a problem at work where a program didn't work right in Windows 9x (I think it was 98, but I'm not entirely sure), but worked fine in Windows NT and Windows 2000. After some careful debugging, I (...) (21 years ago, 2-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) That's not exactly true. I'm sure you can work out an arrangement with Lars. After all, L3P is not entirely open source, and the benefit of all the LDRAW tools using an identical parts search strategy is probably more useful than having you (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Oh. I didn't know it was as easy as: ~/MacOSX/environment.plist I guess that is one route. In Cocoa, which is what Andrew and I are both developing in now, it is really easy to grab prefs that have a unique name for the application. It isn't (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Don Heyse" <dheyse@hotmail.spam....away.com> schrieb im Newsbeitrag news:HtwMAE.3BM@lugnet.com... (...) Done, sorry about that - but it was a hard day at work :-( (...) As mentioned earlier in this thread ... we should go with: 1) Users Home (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev, lugnet.cad.dev.mac)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
Ok I hop on again ... "Lars C. Hassing" <sp.lars@am.hassings.dk> schrieb im Newsbeitrag news:Htnz7B.G2z@lugnet.com... (...) located (...) directories, (...) (URL) However, I suggest section name [LDrawSearch] which is more in line with [LDraw]. I (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev)
 
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Actually Environment variables work pretty well on OS X because they've set up a standard place to put them, and it's one of those plist files. See here for details. (URL) would be nice though to have a standard fallback location for the (...) (21 years ago, 1-Mar-04, to lugnet.cad.dev.mac, lugnet.cad.dev)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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