Public bug reported:
Binary package hint: debianutils
This wishlist item came about because I used select-editor to select an
editor, and it didn't work for all programs.
It only works if an application has been modified to use /usr/bin
/sensible-editor by default. Some applications have been modified to do
this (eg. crontab in LP bug #222830; cvs in Debian bug #154957), but
many others in Debian point to /usr/bin/editor. It seems to me like this
defeats the purpose of /usr/bin/editor somewhat. A better policy might
be for all applications to search in this order:
1. Use EDITOR environment variable, if set and functional
2. Use VISUAL environment variable, if set and functional
3. Use /usr/bin/editor
This used to be the Debian policy, I believe. The new part is that
debianutils should update /usr/bin/editor to point to /usr/bin/sensible-
editor by default. This way, the user experience works like this:
* The system administrator can set a default using update-alternatives
* The first time a user needs an editor, sensible-editor will prompt them to
select one.
* Subsequent times, it will use their selected editor.
* If the user wants to change their editor, they can use select-editor.
1)
[EMAIL PROTECTED]:~$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
2)
[EMAIL PROTECTED]:~$ apt-cache policy debianutils
debianutils:
Installed: 2.29ubuntu2
Candidate: 2.29ubuntu2
Version table:
*** 2.29ubuntu2 0
500 http://ubuntu.media.mit.edu intrepid/main Packages
100 /var/lib/dpkg/status
** Affects: debianutils (Ubuntu)
Importance: Undecided
Status: New
--
/usr/bin/editor should point to /usr/bin/sensible-editor by default
https://bugs.launchpad.net/bugs/304172
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs