Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!rutgers!pyrnj!pyrdc!uunet!mcvax!enea!kth!draken!liuida!mikhe From: mikhe@tragicomix.liu.se (Mike Henry) Newsgroups: comp.sys.amiga Subject: Re: ENV: variables (long) Message-ID: <933@tragicomix.liu.se> Date: 22 Sep 88 20:29:23 GMT References: <374@uwslh.UUCP> <5660014@hpcvca.HP.COM> <2629@sugar.uu.net> <4781@cbmvax.UUCP> Organization: CIS Dept, Univ of Linkoping, Sweden Lines: 44 [Munch, Munch, Munch... BURP!!] In article <4781@cbmvax.UUCP> jesup@cbmvax.UUCP (Randell Jesup) writes: > I'd greatly prefer it if people would use subdirectories (ex: >"Setenv foobar/width 10", "dir env:foobar".) > > I see subdirectories as one of the nice side effects of using a >filesystem for env variables (plus getting all those file manipulation >programs like copy, rename, dir, etc for free, instead of having to write >new ones just for the env variables.) > >-- >Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup Is this really an EFFICIENT idea ?? Please consider this: The example "Setenv foobar/width 10" will open a file "width" in the directory "foobar" with nothing more in it than the two characters "1" and "0" (well of course we get "\0" too, so make that three). How much space have we used to get a file that will hold just three characters ?? I smell a waste of space here, or have I missed something ?? Think about the MASS of environment variables that we all like to create for ourselves and the TIME it will take AmigaDOS to find the RIGHT variable among all of them. Wouldn't it be better (read: more efficient) if we tried to keep all variables in ONE file so that a certain program could read the file and (efficiently B^) extract the RIGHT variable and it's value without having AmigaDOS trash our floppies searching for an environment FILE with just THREE characters in it. [FLAME_OFF] Of course we could "C:Assign ENV: RAD:Env" and avoid trashing, but I speak for those that couldn't afford ASDG's 8Mb RAM expansion box. B^) --Mike Disclaim ? ME ? I don't even have an employer !! -- UUCP : mikhe@majestix.liu.se OR AMIGA /// {seismo,mcvax,munnari}!enea!liuida!majestix!mikhe /// ARPA : mikhe%majestix.{ida.liu.se,UUCP}@seismo.CSS.GOV \\\/// SNAIL: Mike Henry, Alsattersg. 3C:20, S-582 51 Linkoping SWEDEN \XX/ RULES