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-06 23:49:50 PST Path: gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!wupost!uwm.edu!psuvax1!rutgers!spcvxb.spc.edu!havemann_l From: havemann_l@spcvxb.spc.edu Newsgroups: comp.sys.dec Subject: Re: Changing the '$' prompt to [default dir] similar to MSDOS $P$G Message-ID: <1991Sep6.104837.1832@spcvxb.spc.edu> Date: 6 Sep 91 10:48:37 GMT References: <91248.122820U29970@uicvm.uic.edu> Organization: St. Peter's College, US 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 $ foo :== 'f$getsyi("NODENAME") $ SET PROMPT="''foo'::yername>" (or whatever you want) (Thanks Terry - he showed me this one 8-) Lee Havemann, Sys_op HSH Associates (201) 838-3330 Havemann_l@spcvxa.spc.edu - Havemann_l@spcvxa.bitnet "Any opinions expressed are not necessarily those of anyone else, including myself."