Path: utzoo!attcan!utgpu!watmath!att!laidbak!obdient!simon!steve From: steve@simon.UUCP (Steven E. Piette) Newsgroups: comp.sys.apollo Subject: Re: Aliases for Aegis Commands Message-ID: <348@simon.UUCP> Date: 31 Jul 89 03:17:30 GMT References: <8907290144.AA22809@umix.cc.umich.edu> Organization: ACT, Inc., Dank Dark Cave, Algonquin, IL. Lines: 33 In article <8907290144.AA22809@umix.cc.umich.edu>, GBOPOLY1@NUSVM.BITNET (fclim) writes: > In article <1632@dover.sps.mot.com>, turner%dover%oakhill%cs.utexas > .edu.uucp@tut.cis.ohio-state.edu (Robert Turner) > > > What I'm looking for is a set of aliases for some of the more > > common Aegis commands. > > > > Robert > > However because cd is built-in to csh and wd is built-in to /com/sh > at SR10+ (hmm, wonder if there is a /com/wd), I have to > alias wd 'cd !*' > > fclim --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu In fact there used to be a /com/wd under AEGIS before SR10. At SR10 AEGIS processes changed to the UNIX single program per process model. An external wd command would have forked a process from the shell, changed the working directory in the new process space, and then exited back to the shell where the old working dir is still set. This is exactly what happened at prior OS releases when you were in a UNIX enviroment and used "WD" instead of the shell intrinsic "CD" to move the directory pointer. Many old AEGIS people use to take advantage of the fact that a program could change the enviroment of the parent. Not that this was a good practice, but it had lots of uses once I found out the rules had changed from other systems I had worked on. -- Steven E. Piette Applied Computer Technology Inc. UUCP: {smarthost}!simon!steve 1750 Riverwood Drive INET: steve@simon.CHI.IL.US or spiette@SUN.COM Algonquin, IL 60102 -------------------------------------------------------------------------------