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-10 00:05:14 PST Path: gmdzi!unido!unidui!math.fu-berlin.de!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!mips!apple!well!vilain From: vilain@well.sf.ca.us (Michael Vilain) Newsgroups: comp.sys.dec Subject: Re: Changing the '$' prompt to [default dir] similar to MSDOS $P$G Message-ID: <27187@well.sf.ca.us> Date: 9 Sep 91 21:38:32 GMT References: <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>" As with Unix systems, you can hack a DCL symbol (e.g. SD or CD) which will set your prompt to your current default. A simple matter of programming... See the lexical function f$environment("DEFAULT") /MeV/