Subject: Re: CVS commit: othersrc
To: None <source-changes@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: source-changes
Date: 05/04/2000 17:47:13
[ On Friday, May 5, 2000 at 00:42:53 (+0930), Brett Lymn wrote: ]
> Subject: Re: CVS commit: othersrc
>
> According to Perry E. Metzger:
> >
> >Maybe "edit" should be a program that invokes your favorite editor
> >depending on your EDITOR variable? Sure, it is not what people might
> >expect in some contexts, but it may be better overall....
> >
> 
> This would be a very good thing to do - if EDITOR is not set just use
> the basic editor 

Doing this in an entirely new and separate program seems extremely
wasteful and inelegant to me.

Why not just put appropriate aliases/functions in the system-wide
startup profiles?!?!?!?

Personally I've been using this (or its csh equivalent) for at least a
dozen years now, if not more:

	$ alias e
	e='${VISUAL:-$EDITOR}'

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>