Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!lll-winken!csustan!polyslo!caus-dp!marcos From: marcos@caus-dp.UUCP (Marcos R. Della) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Setting PS1 prompt to show current directory. Message-ID: <300@caus-dp.UUCP> Date: Wed, 25-Nov-87 16:09:55 EST Article-I.D.: caus-dp.300 Posted: Wed Nov 25 16:09:55 1987 Date-Received: Sun, 29-Nov-87 09:48:41 EST References: <275@caus-dp.UUCP> <16549@topaz.rutgers.edu> <421@cimcor.UUCP> Organization: USPFO for CA - Data Processing Div., SLO, Ca Lines: 30 Keywords: How do you do it? Xref: mnetor comp.unix.questions:5095 comp.unix.wizards:5636 In article <421@cimcor.UUCP>, mike@cimcor.UUCP (Michael Grenier) writes: > In article <16549@topaz.rutgers.edu>, ron@topaz.rutgers.edu (Ron Natalie) writes: > > You can't. Plain and simple. > > > > -Ron > > I admit that I have 5.2 (Microport) but all I did was > > PS1=`pwd` > > -Mike The problem with what your doing with the PS1=`pwd` is that you are not accounting for the changing of directories. That is the main reason for trying to get the system to recognise the fact that there has been a directory change and the PS1 promt needs to be changed. Under the 'C' shell, we have had no problems putting this together, however the bourne shell under which almost everyone runs, it doesn't work at all. We will be installing a Sperry 5000/80 here in a month or so and will have a little better operating system, but so far, everyone thinks that its not going to work... Marcos -- ...!lll-crg -> !csustan -\ | Whatever I said doesn't ...!sdsu ----->->!polyslo!caus-dp!marcos | mean diddly as I forgot ...!ihnp4 -> !csun ----/ | it even before finishing ...!dmsd ---/ | typing it all out!!!