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:50:03 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 Message-ID: <1991Sep6.111044.1833@spcvxb.spc.edu> Date: 6 Sep 91 11:10:44 GMT References: <91248.122820U29970@uicvm.uic.edu> <1991Sep6.104837.1832@spcvxb.spc.edu> Organization: St. Peter's College, US In article <1991Sep6.104837.1832@spcvxb.spc.edu>, havemann_l@spcvxb.spc.edu writes: > 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") ^^^^^^^^^^^^^^^^^^^^^ This is the hostname prompt > $ SET PROMPT="''foo'::yername>" (or whatever you want) $ foo :== 'f$environment("default") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ $ SET PROMPT="''foo'::Yername>" (or whatever you want to add) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Woops - I forgot this part - thats the one that shows the default (current) directory 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."