From owner-freebsd-questions Sat Sep 14 17:11:53 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA19867 for questions-outgoing; Sat, 14 Sep 1996 17:11:53 -0700 (PDT) Received: from rosemary.fsl.noaa.gov (rosemary.fsl.noaa.gov [137.75.8.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA19861 for ; Sat, 14 Sep 1996 17:11:50 -0700 (PDT) Received: from rosemary.fsl.noaa.gov (localhost [127.0.0.1]) by rosemary.fsl.noaa.gov (8.7.5/8.6.9) with SMTP id SAA00446; Sat, 14 Sep 1996 18:11:34 -0600 (MDT) Message-ID: <323B49B6.41C67EA6@fsl.noaa.gov> Date: Sat, 14 Sep 1996 18:11:34 -0600 From: Sean Kelly Organization: NOAA Forecast Systems Laboratory X-Mailer: Mozilla 3.0b6Gold (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: hmmm CC: Henrik Johansson , questions@freebsd.org Subject: Re: Easy editors References: <1.5.4.16.19960914185310.290f2636@student.udd.htu.se> <323918CE.2828@alaska.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk hmmm wrote: > > hint: mv /usr/bin/vi /usr/bin/vivi, > mv /bin/ed /bin/eded, > cp /usr/bin/ee /usr/bin/vi, > cp /usr/bin/ee /bin/ed. > > this will probably gag a guru, but i haven't found a need > for that goofy stuff yet, i pray things stay that way! Gag indeed! Mucking with the /usr/bin distribution will really confuse the next person who happens to use your machine! Eyuck! I think this is probably a little nice way to do it---and best of all, it's on a per-user basis! alias vi ee alias ed ee setenv EDITOR /usr/bin/ee If you're not a csh/compatible user, then vi () { ee $*; } ed () { ee $*; } EDITOR=/usr/bin/ee; export EDITOR Next question: what the heck is ee? I've used FreeBSD for what is literally years now and never heard of it---yet there it is! The Easy Editor! :-) When did this thing appear? -- Sean Kelly NOAA Forecast Systems Laboratory Boulder Colorado USA