On Tue, 10 Dec 2002, Andre Poenitz wrote: > On Tue, Dec 10, 2002 at 08:35:53AM +0100, Alfredo Braunstein wrote: > > > The preference of an external editor should be stated by setting the > > > EDITOR environment variale to an appropriate value. No need to re-invent > > > the wheel... > > > > That's how it's implemented right now. The problem is that we don't know if > > $EDITOR needs a terminal (typically) or not. > > As only $(whoami) knows for sure, he should put the logic into a script and > put the name of the script into $EDITOR...
$VISUAL is supposed to be the name of a $EDITOR that doesn't require a terminal. Save some pain and just use $VISUAL instead of $EDITOR to invoke your editor. Allan. (ARRae)
