Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!NUSVM.BITNET!GBOPOLY1 From: GBOPOLY1@NUSVM.BITNET (fclim) Newsgroups: comp.sys.apollo Subject: Re: Aliases for Aegis Commands Message-ID: <8907290144.AA22809@umix.cc.umich.edu> Date: 29 Jul 89 01:45:46 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 53 X-Unparsable-Date: Sat, 29 Jul 89 09:44:06 SST In article <1632@dover.sps.mot.com>, turner%dover%oakhill%cs.utexas .edu.uucp@tut.cis.ohio-state.edu (Robert Turner) > First I know this is a wimpy question, but what the heck. I'm > an old Aegis kind of guy slowing migrating to BSD on SR10+. > What I'm looking for is a set of aliases for some of the more > common Aegis commands, e.g. cpf, dlf, dlt, crd, crl, wd, etc. > My fingers keep typing Aegis commands while my brain is saying > BSD, BSD, BSD! > > Yes I know it would be a good learning exercise to create them > myself, but being a good and lazy programmer I'd like to steal > from someone else. > > Any suggestions? > > Robert I have setup my path to include /com in my ~/.cshrc : set path = (.... /com) This way, I do not need aliases for Aegis commands. 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 !*' Futhermore, because ld (in /bin) is homonymous with /com/ld, I have alias ld 'ls !*' Note you could use alias ld '/com/ld !*' However, my ls has an alias of alias ls 'ls -AF !*' which tells whether an object is a sub-dir, executable file, FIFO, symbolic links or just a plain file. Another pair of homonymous commands is help (/usr/bin/help for SCCS and /com/help). Sometimes, I need help on ACLs, so I need to type in help protection rights To get the right "help", I have the alias alias help '/com/help !*' If you are worried that you do not have the security of cpf, mvf, chn, etc, use alias cp 'cp -i !*' alias mv 'mv -i !*' alias rm 'rm -i !*' This will not copy files over existing ones. Hope this helps. fclim --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu computer centre singapore polytechnic dover road singapore 0513.