Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!mips!twg.com!david From: david@twg.com (David S. Herron) Newsgroups: comp.sys.amiga Subject: Re: CDTV disk Message-ID: <7772@gollum.twg.com> Date: 17 Aug 90 17:03:16 GMT References: <11067@wehi.dn.mu.oz> <33cmN4w162w@valnet> <4562@jato.Jpl.Nasa.Gov> Reply-To: david@twg.com (David S. Herron) Organization: The Wollongong Group, Palo Alto, CA Lines: 36 In article <4562@jato.Jpl.Nasa.Gov> jdickson@jpl-mil.Jpl.Nasa.Gov (Jeff Dickson) writes: > The CLI/New Shell environment supports a search path that can be >altered via the 'Path' command. Is there such a way to get Workbench to >follow a similiar convention? Yeah.. easy.. With pathman, Bill (AREXX) Hawes' path handler.. I forget the details since they're buried in my startup-sequence and it's been awhile since that was written. Basically what pathman does is let a "device" (one of those ":" names) be a list of path specifications. On my system I have C: map to something like ram:c,sys:local/c,sys:c and all the other things like l:, libs:, devs:, fonts: and the like have a similar list. This lets me have the stock-standard amiga-dos stuff but to overlay it with my own stuff at will. You can also play tricks with file protection so that pieces of that list are write protected, for instance. This way a command like "copy file to c:file" will put it into the first directory in the c: list which gives write-priveledges. It works very very nicely and invisibly to almost all uses. The only problem I have is remembering to, when editing my startup-sequence, use the real path-name for it (sys:s/startup-sequence) rather than s:startup-sequence. This is because I have write protection on that part of s:'s list turned off and when I write the file out it ends up in sys:local/s and isn't found on reboot. -- <- David Herron, an MMDF weenie, <- Formerly: David Herron -- NonResident E-Mail Hack <- <- Sign me up for one "I survived Jaka's Story" T-shirt!