Subject: Re: HEADS UP: Alternatives system added
To: Julio M. Merino Vidal <email@example.com>
From: Hisashi T Fujinaka <firstname.lastname@example.org>
Date: 01/25/2005 08:17:10
On Tue, 25 Jan 2005, Julio M. Merino Vidal wrote:
> On Tue, Jan 25, 2005 at 04:27:14PM +0100, Juan RP wrote:
>> On Tue, 25 Jan 2005 16:23:22 +0100
>> "Julio M. Merino Vidal" <email@example.com> wrote:
>>> You have to choices:
>>> 1) Make your path use /usr/bin before /usr/pkg/bin.
>>> 2) Adjust the vi wrapper to run /usr/bin/vi:
>>> pkg_alternatives -w manual /usr/pkg/bin/vi /usr/bin/vi
>>> after that, no package will modify your setting.
>>> Oh well... I can add a variable that affects the _registering_ of
>>> alternatives at install/deinstall time. That should be enough for
>>> anyone that doesn't want to use this system at all.
>> Much better... because I don't want to modify my PATH for this...
>> and probably I won't use the alternatives stuff.
> You won't generally notice that the alternatives are there; it's not
> something you have to "use".
> But anyway it's already done. Just set PKG_ALTERNATIVES=NO in your
> environment and/or mk.conf.
I haven't checked the files yet (since I'm in the middle of downloading
them) but is PKG_ALTERNATIVES=NO the default? I think that's the better
idea, since when I install vim, I want it to be vim, not vi. I also want
sh to be sh and not bash, unlike leetnix.
Hisashi T Fujinaka - firstname.lastname@example.org
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte