From owner-freebsd-questions Sun Sep 15 13:53:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA13477 for questions-outgoing; Sun, 15 Sep 1996 13:53:37 -0700 (PDT) Received: from alaska.net (root@calvino.alaska.net [206.149.65.3]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA13471 for ; Sun, 15 Sep 1996 13:53:31 -0700 (PDT) Received: from hmmm.alaska.net by alaska.net (5.x/SMI-SVR4) id AA20683; Sun, 15 Sep 1996 12:52:49 -0800 Message-Id: <323A63E2.1156@alaska.net> Date: Sat, 14 Sep 1996 00:50:59 -0700 From: hmmm X-Mailer: Mozilla 2.02 (Win16; I) Mime-Version: 1.0 To: Sean Kelly Cc: freebsd-questions Subject: Re: Easy editors References: <1.5.4.16.19960914185310.290f2636@student.udd.htu.se> <323918CE.2828@alaska.net> <323B49B6.41C67EA6@fsl.noaa.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > 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? i made a mad dash for it as soon as i got 2.0! :) i apologize. aliasing is better. you can do that with sh also! just add >alias "sh cmd sequence"< in profile or whatever. actually, i think the ultimate answer to this question is JOE. it's a unix version of the infamous Qedit for DOS. and it's even more powerful than vi/ed. ps. why do i see so much of csh? from everything i read and hear it broken from the design end on up and it's only benefit is a C like inequality op?