Setting EDITOR

Andy Wai accwai at maytag.waterloo.edu
Fri Sep 22 06:33:34 AEST 1989


In article <11520 at watcgl.waterloo.edu> lindsay at watnext.waterloo.edu (Lindsay Patten) writes:
>How can one set up one's EDITOR variable to pick the right emacs version
>even in the face of scripts which set their own paths?

setenv EDITOR `showpath findfirst=emacs`

>Previously, I set
>my path so that I got the right one but now some scripts set their own path
>and I end up getting the wrong emacs.  What is the best way of setting this
>variable?

That's a bug.  The script in question (icr-hardware-request I would
assume) has been fixed to restore PATH just before the editor is invoked.

Andy



More information about the Comp.unix mailing list