{"id":63,"date":"2008-07-18T02:54:23","date_gmt":"2008-07-18T02:54:23","guid":{"rendered":""},"modified":"2008-07-18T02:54:23","modified_gmt":"2008-07-18T02:54:23","slug":"alternatives","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/lu_zero\/2008\/07\/18\/alternatives\/","title":{"rendered":"Alternatives&#8230;"},"content":{"rendered":"<p>Here some ideas about alternatives and gentoo possible alternative implementation (refer to Diego&#8217;s post):<\/p>\n<p>&#8211; implemented as an eselect module, possibly with an alternatives interface for those who like it<br \/>\n&#8211; will work just on executables you directly run<br \/>\n&#8211; it will be backed by an eclass to handle post-inst\/post-uninst (registration and removal to the alternatives list)<br \/>\n&#8211; it will use the environment, a separate config dir, a C wrapper [pick one or all]<br \/>\n&#8211; the wrapper will check his argv[0], look at the config dir for the string to call and run it.<\/p>\n<p>Probably even those 5 lines have conceptual bugs but I guess that&#8217;s enough for a draft.<\/p>\n<p>lu<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here some ideas about alternatives and gentoo possible alternative implementation (refer to Diego&#8217;s post): &#8211; implemented as an eselect module, possibly with an alternatives interface for those who like it &#8211; will work just on executables you directly run &#8211; it will be backed by an eclass to handle post-inst\/post-uninst (registration and removal to the &hellip; <a href=\"https:\/\/blogs.gentoo.org\/lu_zero\/2008\/07\/18\/alternatives\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Alternatives&#8230;<\/span><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[3],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1aGWH-11","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts\/63"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/comments?post=63"}],"version-history":[{"count":0,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts\/63\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/media?parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/categories?post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/tags?post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}