From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,bff10911bb6aa674 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-09-05 23:30:45 PST Path: gmdzi!unido!unidui!math.fu-berlin.de!fauern!iraun1.ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!uunet!europa.asd.contel.com!darwin.sura.net!gatech!purdue!haven.umd.edu!umbc3.umbc.edu!gmuvax2!mansfiel From: mansfiel@gmuvax2.gmu.edu (Yoda Junior) Newsgroups: comp.sys.dec Subject: Re: Changing the '$' prompt to [default dir] similar to MSDOS $P$G Message-ID: <1991Sep6.023016.10769@gmuvax2.gmu.edu> Date: 6 Sep 91 02:30:16 GMT References: <91248.122820U29970@uicvm.uic.edu> Organization: George Mason University, Fairfax, Va. In article <91248.122820U29970@uicvm.uic.edu> U29970@uicvm.uic.edu writes: >Could someone please tell me how to change the '$' prompt to another prompt >displays the current default directory. I am using VMS 5.3. Thank you. >I'm looking for something like MS-DOS "SET PROMPT $P$G>" > >Neil Bhattacharyya >u29970@UICVM.BITNET Use the lexical f$directory. Help will give you more specific info on it, but it goes basically something like $ temp = f$directory() $ set prompt = 'temp' I just ^z ed and checked and that works. That may only set it once. I don't know how to get it to change it as your directory changes. Steve "Yoda Junior" Mansfield Mansfiel@gmuvax2.gmu.edu Mansfield@gmuvax.gmu.edu ------------------------------------------------------------------------------- "Strange how laughter looks like crying with no sound, raindrops taste like tears without the pain." - Queensryche