DOpus (65/222)

From:Tim Seifert
Date:10 Mar 2001 at 13:46:32
Subject:Re: [D5] Re: Stall while loading

_Replying to a message_

By: Jeff Gilpin <jeff_g@early.com>
To: dopus5@lss.com.au <dopus5@lss.com.au>
On: Saturday, March 10, 2001, 2:37:29 AM
Re: [D5] Re: Stall while loading

Hi Jeff,

TS>> I suppose, that if you never used the USE option for your
TS>> preferences, and always used the SAVE option (like Mac and Windows -
TS>> all changes to your settings are instant and perpetuating changes),
TS>> you could simply assign ENV: to ENVARC: and not bother to copy
TS>> anything at all.

JG> Actually, I tried that and it doesn't work. Either IPrefs or
JG> WorkBench.library is hard coded to look for the system prefs in
JG> ram:ENV instead of ENV:.

Ah. The best laid plans....

JG> I wouldn't have wanted to leave it that way; I was just trying to see
JG> how little I could get away with copying to ENV: and still have the
JG> system work right. Assign ENV: to ENVARC: ADD works better because
JG> you can still select the USE option and prefs will be saved in
JG> ram:ENV. If a program is looking for prefs in ENV: and none have been
JG> saved in the current session, it will still find them because of the
JG> Assign ADD to ENVARC:.

I've done similar things with my BBS, so that incoming files get saved in
one location, but stored files can be retrieved from a more sensible
place.

JG> The only time this doesn't work is with programs like Miami and AWeb
JG> that use their own directory in ENV:. If their directory does not
JG> exist in ram:ENV the USE option will not work. The minimum you need
JG> in ENV: are the system prefs and the subdirectories for programs that
JG> use them. If I could figure out how to copy the entire ENVARC:
JG> directory structure (minus the files) without adding a bunch of
JG> MAKEDIR commands to my startup-sequence I'd do it that way. Does
JG> anyone know how to do that with only one or two AmigaDOS commands?

If you're just copying an existing directory, wouldn't the /copy/ make the
directory, as well as copy the files.

I suppose a few MakeDir commands in the startup file is going to be
quicker than lots of file copies from EnvArc: to Env:, though.

I'm not sure if you can specify a string of directories to be made with
one MakeDir command, though. I'll let you test out that idea. ;-)



Bye,
Tim.

http://www.picknowl.com.au/homepages/Tim_Seifert/
mailto:Tim_Seifert@picknowl.com.au
(Modbury, near Adelaide, South Australia)

Video productions, electronics engineering, service and technical
support, and more. For further information, visit the web site.

*** DO NOT SEND JUNK MAIL ***



Email majordomo@lss.com.au with 'help' in the body for help.
Members posting binaries to the mailing list will be removed!