Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!ames!uhccux!bt455s10 From: bt455s10@uhccux.uhcc.hawaii.edu (Carl "Art" McIntosh) Newsgroups: comp.sys.ncr Subject: Re: Aspen ksh Summary: unalias vi Message-ID: <6265@uhccux.uhcc.hawaii.edu> Date: 19 Jan 90 20:55:07 GMT References: <2136@texbell.swbt.com> Reply-To: bt455s10@uhccux.UUCP (Carl "Art" McIntosh) Organization: University of Hawaii Lines: 16 The ksh builtin command 'unalias' can be used to remove the vi alias from the environment. You can either enter in the command 'unalias vi' at the shell prompt, or put that command in your .env/.profile. You may want to verify that vi is being automagically aliased by ksh via the 'alias' builtin command. Enter 'alias -x' at the shell prompt, all exported aliases will be listed on your display. If the solution mentioned above doesn't work, you may try putting the following command in your .env file: alias -x vi='SHELL=/bin/ksh vi'. This is a waste of resource having to run a sub-shell just to run vi, but that's what it's doing anyway by running /bin/sh to run vi ... -- Art Neilson | ARPA: manapua!pilikia!root@trout.nosc.mil Bank of Hawaii Tech Support | UUCP: uunet!ucsd!nosc!manapua!pilikia!root