[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: virtual package (x-)editor ?



On 30-Nov-01, 09:03 (CST), Tomas Pospisek <tpo2@spin.ch> wrote: 

> What is needed is to be able to have something similar
> to "/usr/bin/sensible-editor but which is based on
> alternatives/virtual-package.

IT IS! Go read the script. It's only a few lines.

Do you see the first third line? The one that says

exec ${VISUAL:-${EDITOR:-editor}} "$@"

That says "Use $VISUAL. If it's not defined, use $EDITOR. If it's not
defined, use editor." Editor is an alternative. What more do you want?


Steve, who promises to give up on this thread after this...



Reply to: