luke@cs.city.ac.uk (Luke Whitaker) (08/08/89)
I only got one mail reply, from Farhad Anklesaria <fxa@edu.umn.micro.boombox>, who suggested the following: on startUp --don't pass this. end startUp on openStack global stacks, savedUserLevel if stacks is empty then getHomeInfo get the userLevel put it into savedUserLevel set the userLevel to 2 -- or whatever you want... --any other initializations end openStack on closeStack global savedUserLevel set the userLevel to savedUserLevel -- be a good citizen now!!! --any other termination actions end closeStack This looks OK to me except that if the user has customised their home stack to expect "startUp" then they won't get it. It seems that it really isn't quite as trivial as it might (should?) be. I generally agree with the sentiment that the script shouldn't alter user preferences but I'm working on a project and other people take a different view. Thanks, Luke Whitaker, Computer Science, City University, London, EC1V OHB, England. JANET: l.whitaker@uk.ac.city.cs BITNET: l.whitaker%uk.ac.city.cs@ac.uk ARPA: l.whitaker@cs.city.ac.uk (or l.whitaker%uk.ac.city.cs@nss.cs.ucl.ac.uk) Uucp: ...!mcvax!ukc!citycs!luke (or luke@citycs.uucp)