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 / 9572
9571  |  9573
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 5 Mar 2004 22:59:10 GMT
Viewed: 
6777 times
  
In lugnet.cad.dev, Don Heyse wrote:
In lugnet.cad.dev, Ross Crawford wrote:
In lugnet.cad.dev, Don Heyse wrote:
In lugnet.cad.dev, Ross Crawford wrote:
Seems to me programs need the ability to specify the LDRAWINI directory
(and possibly LDRAWDIR) on the command line, for non-standard setups.

That approach is for advanced users (software geeks) only.  We're trying
to improve things for ordinary users, and forcing them run a command
prompt to use their preferred non-standard settings in their LDRAW
programs is just wrong.  Even for an advanced user, how is this better
than just setting an environment variable right before running the
program?

As I said it would only be for non-standard setups. I think the Lars'
search list is ample for the vast majority of people.

Those using networks, etc, probably would classify as "advanced users"
or need help from their network administrators to set stuff up anyway,
so creating a shortcut (or whatever for their platform) with command
line parameters is probably not gonna be a big issue.

I think trying to get a solution that works automatically for every
environment is next to impossible, this would cater for those that
"dont fit the mold".

Ok, I can see where I myself might use this in a pinch because I
almost always run things from the command prompt.  However, even I
would rather set an environment variable or use some other global
setting in an ini file.  Why?  Because if I use the commandline
shortcut, or script file, I have to duplicate the same setting (perhaps
with a different syntax) for every LDRAW program I want to use.  That's
exactly what we're trying to avoid here.  We want a way for all the
LDRAW programs to easily SHARE the SAME settings.

But hey, if you're only interested in one program then maybe a command
line option is for you.  Which program were you thinking of, and what
sort of command line syntax are we talking about?  Might as well flesh
the idea out.

Well I don't know how mac command lines work but I was thinking along these
lines:

Windoze:
xxx.exe /LDRAWDIR=C:\LDRAW /LDRAWINI=\\LDRAW_BOX\INI

Unix:
xxx --ldrawdir ${HOME}/ldraw --ldrawini /etc/ldraw

You might also wanna provide old single letter switches -d & -i or something.

If this could be handled by a platform independent library, then any or all of
the Ldraw suite programs could easily parse these options.

ROSCO



Message has 2 Replies:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
"Ross Crawford" <rosscraw@bigpond.net.au> schrieb im Newsbeitrag news:Hu4L6M.1Eyo@lugnet.com... <SNIP> (...) these (...) in some cases "xxx.exe /LDRAWDIR=C:/LDRAW /LDRAWINI=\\LDRAW_BOX/INI will work too. There is no standard function set in windows (...) (20 years ago, 6-Mar-04, to lugnet.cad.dev)
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Mac OS 9 does not have a command line. That OS is a dinosaur. You can think of Mac OS X as a decendant of BSD, with a Mac OS 9 look-a-like window server. In fact, you can remove Apple's window server and add X11, turning Mac OS X into just (...) (20 years ago, 6-Mar-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - additional search paths
 
(...) Ok, I can see where I myself might use this in a pinch because I almost always run things from the command prompt. However, even I would rather set an environment variable or use some other global setting in an ini file. Why? Because if I use (...) (20 years ago, 4-Mar-04, to lugnet.cad.dev)

132 Messages in This Thread:
(Inline display suppressed due to large size. Click Dots below to view.)
Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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