Re: CFT: new BSD-licensed sort available

看板FB_current作者時間14年前 (2012/03/17 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串12/19 (看更多)
--TYecfFk8j8mZq+dy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 16, 2012 at 09:08:52PM -0700, Doug Barton wrote: > On 03/16/2012 18:47, Eric van Gyzen wrote: > > On 03/16/2012 08:25 PM, Doug Barton wrote: > >> On 03/14/2012 15:14, Jonathan Anderson wrote: > >>> In fact, the runtime behaviour of the Debian "alternatives" system is > >>> simpler than that: > >>> http://segfault.in/2010/04/using-the-debian-alternatives-system/ > > [...] > >> This sounds like a good solution to more than one problem. Does anyone > >> know why they indirect through 2 sets of symlinks? That article doesn't > >> touch on the "why?" only the what. > >=20 > > Do you mean, why do they do > > /usr/bin/vim -> /etc/alternatives/vim -> /usr/bin/vim.gtk > > instead of > > /usr/bin/vim -> /usr/bin/vim.gtk > > ? > >=20 > > Someone's choice of a vi-like editor would be considered configuration, > > so it belongs in /etc. >=20 > If that's the *only* reason then it seems to me that it would be better > solved by being able to express that in a config file in /usr/local/etc > which the alternate-updater script takes into account. But I need to > install debian for other reasons anyway, so I'll look at this in more > detail. Thanks. >=20 As I already said I started working on something equivalent for freebsd: http://people.freebsd.org/~bapt/alternative.txt but never found time to fin= ish. Why to symlink, this is 1/ because it concerns user/admin configuration, 2 = it allows to change it even with your /usr/local/bin mounted RO. regards, Bapt --TYecfFk8j8mZq+dy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9kZvUACgkQ8kTtMUmk6EwmWACgms2qPCVdeEmcCEh0+s6zgl6o kjUAoLjl6CzO+5OR42m4nAx0v+iOdpDK =MAdC -----END PGP SIGNATURE----- --TYecfFk8j8mZq+dy--
文章代碼(AID): #1FP6WZPG (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FP6WZPG (FB_current)