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

Re: alternatives and priorities



Hello!

On Fri, 19 May 2006 08:46:28 -0500, Wouter Verhelst wrote:
> On Fri, May 19, 2006 at 02:28:30PM +0100, Jon Dowland wrote:
>> At 1148052328 past the epoch, Wouter Verhelst wrote:
>> >  Using popcon would ensure that the applications which most
>> >  people prefer would be the default; this is a fair and objective
>> >  criterion.
>> > 
>> > Thoughts?
>> 
>> Interesting idea, but by my reckoning that would make "ed" the
>> default editor for most people, which I don't think is a good idea:
>> 	    <http://popcon.debian.org/main/editors/by_inst>
>
> That's not an issue. First, ed doesn't install an alternatives for
> "editor". Second, there's also 'by_vote', which puts vim on top.

ed is installed as an alternative "editor":
=====
luca@gismo:~$ su
Password:
gismo:/home/luca# update-alternatives --list editor
/bin/ed
/usr/bin/emacs21
/usr/bin/mcedit-debian
/usr/bin/emacs-snapshot
/usr/bin/vim.tiny
gismo:/home/luca#
=====

And the postinst script says so, too:
=====
luca@gismo:~$ grep alternatives /var/lib/dpkg/info/ed.postinst
 update-alternatives --quiet --install /usr/bin/editor editor /bin/ed -100 \
luca@gismo:~$
=====

Thx, bye,
Gismo / Luca

Attachment: pgpqxy62XOndc.pgp
Description: PGP signature


Reply to: