From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Software/HD ecology Date: Fri, 13 Dec 2002 10:11:14 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84hedithal.fsf@lucy.cs.uni-dortmund.de> References: <041220020952400758%ajanta@no.spam> <56cfb0e3.0212041458.5eab182a@posting.google.com> <061220020416350201%ajanta@no.spam> <84bs3xsyi8.fsf@lucy.cs.uni-dortmund.de> <071220021155280606%ajanta@no.spam> <5ld6obj8il.fsf@rum.cs.yale.edu> <101220021125583826%ajanta@no.spam> <111220021253524057%ajanta@no.spam> <5l65u0i8zj.fsf@rum.cs.yale.edu> <111220022053507599%ajanta@no.spam> <84k7ifo3s2.fsf@lucy.cs.uni-dortmund.de> <121220021616385181%ajanta@no.spam> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039770969 11988 80.91.224.249 (13 Dec 2002 09:16:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Dec 2002 09:16:09 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18MlvT-000375-00 for ; Fri, 13 Dec 2002 10:16:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Mluw-0000z5-02 for gnu-help-gnu-emacs@m.gmane.org; Fri, 13 Dec 2002 04:15:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-peer.gip.net!news-lond.gip.net!news.gsl.net!gip.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!fu-berlin.de!uni-berlin.de!pd951f511.dip.t-dialin.NET!not-for-mail Original-Newsgroups: comp.sys.mac.apps,comp.sys.mac.advocacy,comp.text.tex,gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: pd951f511.dip.t-dialin.net (217.81.245.17) Original-X-Trace: fu-berlin.de 1039770676 36464882 217.81.245.17 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:1hYosPqUnChzMbLlVUaSEOu550Q= Original-Xref: shelby.stanford.edu comp.sys.mac.apps:348808 gnu.emacs.help:108080 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4610 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4610 Ajanta writes: > If it is /uar/sw/bin, I can imagine you can just put it in your path. > However, if it is /usr/sw/emacs/21.2/bin, then do you have to modify > the path each time you install a program? (I don't see either as a big > deal, I am just trying to figure out what actually happens.) I forgot one detail: after installing Emacs into /usr/sw/emacs/21.1, we create a file /usr/sw/emacs/21.1/.bashenv which contains commands to frob $PATH and $MANPATH and so on. Then people put . /usr/sw/emacs/21.1/.bashenv into their ~/.bash_profile. Additionally, one version of each program is declared the default version. So there would be a symlink /usr/sw/emacs/default pointing to /usr/sw/emacs/21.1. Then people can put the following into their .bash_profile to get the default version of all the programs: for f in /usr/sw/*/default/.bashenv; do . $f done Yes, this means that $PATH and $MANPATH grow quite long. But this only becomes a problem when you have lots of packages in /usr/sw. We do not have that many of them, so this scheme is still workable for us. We used to have a home-grown shell script which created a directory /usr/sw/bin and populated it with symlinks to programs in /usr/sw/*/default/bin. (And similar for /usr/sw/man and /usr/sw/info.) In the long run, we might wish to migrate to GNU Stow or a similar tool. -- ~/.signature is: umop ap!sdn (Frank Nobis)