Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!jade!eris!spencer From: spencer@eris.BERKELEY.EDU (Randy Spencer) Newsgroups: comp.sys.amiga Subject: Re: The PATH that was missing experience Message-ID: <3079@jade.BERKELEY.EDU> Date: Tue, 7-Apr-87 16:11:34 EST Article-I.D.: jade.3079 Posted: Tue Apr 7 16:11:34 1987 Date-Received: Mon, 13-Apr-87 05:36:48 EST Sender: usenet@jade.BERKELEY.EDU Reply-To: spencer@eris.BERKELEY.EDU (Randy Spencer) Organization: University of California, Berkeley Lines: 43 In article <536@madvax.UUCP> richc@madvax.UUCP (Rich Commins) writes: >The PATH that was missing: >-------------------------- > After booting up my system with V1.2, I noticed that the path >that was specified in the startup-sequence, was not active when I started >up a new CLI with POPCLI II or with the CLI ICON. > Is this a bug with the path command or a feature. >I'm posting this in the hopes that the next guy who comes across this problem >(I think its a bug) won't have to spend time tracking it down. Could someone >confirm or comment on this? >Rich Commins (415)939-2400 \ /\ What you have there is not a bug. You have to think about this a little I guess, but path sets the path for its CLI only! Any CLIs started from this CLI inherit its path, but Path is not global (Although Assign is global). If you want to set a path for all your CLIs do it in your startup-sequence. I set all my paths before I run PopCLI. Then any CLIs started from there have my desired path. You will never be able to set the Path for a CLI started from the workbench, because there is no CLI for it to inherit its Path from. Of course, everybody is going to answer this question, I don't know why I bothered... Another hint for all you Startup-Sequence writers out there. Anything that is global can be done in a second CLI. All Assigns can be done by a file that is "run execute"ed. Of course you have to get the timing down so that you don't get all the head seeking. I have mine do a newcli with the "from" argument. This CLI executes all the commands contained in the "from" file. Echo Statements let me know how far along it has gotten. While the new CLI is assigning and binddrivering and copy c:#? to vd0:c-ing, I have the main CLI to enter commands in. The second CLIs last command is EndCLI so that it goes away, and I can still get other ones from PopCLI. Although I am writing a tiny program using Commodities.Library that does the same thing without putting something else hanging on the input handler. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Randy Spencer P.O. Box 4542 Berkeley CA 94704 (415)284-4740 I N F I N I T Y BBS: (415)283-5469 Now working for |||||||||||::::... . . BUD-LINX But in no way |||||||||||||||::::.. .. . Officially representing ||||||||||||:::::... .. ....ucbvax!mica!spencer s o f t w a r e spencer@mica.berkeley.edu -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-