Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!hao!noao!mcdsun!sunburn!dover!leivian From: leivian@dover.uucp (Bob Leivian) Newsgroups: comp.sys.amiga Subject: LESS unnecessary Workbench request (and note on getenv) Message-ID: <31@dover.uucp> Date: Mon, 10-Aug-87 13:28:11 EDT Article-I.D.: dover.31 Posted: Mon Aug 10 13:28:11 1987 Date-Received: Sun, 16-Aug-87 06:47:52 EDT Organization: Motorola CAD Mesa, AZ {Dover} Lines: 22 Keywords: LESS MANX GETENV I just fixed an annoying little problem that was just pointed out to me in LESS. I never ran across it and none of my friends had either but on a single disk system (ya' mean you don't have two!) LESS makes an unnecessary request for the workbench disk. After some digging I found out why, manx's getenv is stored in a library called "enviroment" that is checked on the "lib" disk if you haven't set up any variables (all my friends and I use env variables so it never showed up for me). Manx take note --- your runtime should set up a dummy lib the first time it is called, that way it won't request the WB disk for time 2 thru n. Anyone writing programs using env variables should be aware of this for single disk systems without the 'set' program BTW: I fixed LESS and Fred Fish has a copy if you need the update (1.2) --Bob L -- Bob Leivian Motorola, Dover Shores (CAD Support) 602-994-6778 ...{mcdsun, sun}!sunburn!dover!leivian Mesa, AZ