Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!ICARUS!wesommer From: wesommer@ICARUS.mit.edu (William E. Sommerfeld) Newsgroups: comp.unix.wizards Subject: Re: Symbolic Links Message-ID: <1374@bloom-beacon.MIT.EDU> Date: Thu, 27-Aug-87 15:30:08 EDT Article-I.D.: bloom-be.1374 Posted: Thu Aug 27 15:30:08 1987 Date-Received: Sat, 29-Aug-87 10:08:38 EDT References: <8731@brl-adm.ARPA> <2789@ulysses.homer.nj.att.com> <1781@munnari.oz> <6342@brl-smoke.ARPA> <2268@xanth.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: wesommer@athena.mit.edu (William E. Sommerfeld) Organization: Massachusetts Institute of Technology Lines: 25 In article <2268@xanth.UUCP> kyle@xanth.UUCP (Kyle Jones) writes: .. with respect to symlinks warping you through the filesystem space.. >Indeed it does depend on your point of view. I see symlinks as the >global jump to the distant place in the hierarchy, not "..". This >would be readily apparent if the C shell and other shells that keep >a 'current working directory' variable weren't ignorant of symlinks. > >kyle jones old dominion university, norfolk, va If you want to mean '..' to be 'back' rather than 'up', use pushd rather than cd. I find the following (csh) aliases useful: it puts the true absolute pathname of the working directory in your prompt. Unfortunately, it's a bit slower, but that's because pwd is an order N**2 crock. alias np 'chdir `pwd`; set prompt="{${cwd}}\\ % "' alias cd 'chdir \!*; np' alias pushd 'pushd \!*; np' alias popd 'popd \!*; np' Bill Sommerfeld ARPA: wesommer@athena.mit.edu UUCP: ...!mit-eddie!wesommer