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

Re: #4009: /bin/edit causes error after ae removed (fwd)



[I reply to the public. Hope you don't mind.]

On Tue, 3 Feb 1998, Santiago Vila wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Could you please enlighten me?
> 
> There was a bug report saying:
> 
>   From: Daniel Quinlan <quinlan@charcoal.eg.bucknell.edu>
>   To: submit@bugs.debian.org
>   Subject: #4009: /bin/edit causes error after ae removed
> 
>   Package: base
>   Version: 1.1.0-14
> 
>   After forcing the removal of ae, /bin/edit was still installed, but
>   didn't call a suitable replacement editor such as vi.
> 
> And Current /bin/edit is like this:
> 
> #!/bin/sh
> no_exit_on_failed_exec=
> exec ${VISUAL:-${EDITOR:-ae}} "$@"
> exec vi "$@"
> exec emacs "$@"
> echo "Couldn't find an editor!" 1>&2
> echo "Please set the \$VISUAL environment variable to your desired
> editor." 1>&2echo "If your haven't done so, please install one of the
> editor packages." 1>&2
> exit 1
> 
> How should it be changed with respect to the new policy?
> Now we have an "editor". Do we need a /bin/edit at all?

Well, I didn't actually know that we had a /bin/edit :-) 

Does someone remember what this script was for? (The advantage over
/usr/bin/editor is that /bin/edit is in /bin, so it's available even if
/usr isn't mounted. Since "ae" is also in /bin, /bin/edit should always
work.)

It would be good if someone could comment on this.


Thanks,

Chris

--                 Christian Schwarz
Do you know         schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
Debian GNU/Linux?    schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
      
Visit                  PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
http://www.debian.org   http://fatman.mathematik.tu-muenchen.de/~schwarz/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: