Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: havemann_l@spcvxb.spc.edu
Subject: Re: Changing the '$' prompt
Date: 6 Sep 91 11:10:44 GMT	[thread overview]
Message-ID: <1991Sep6.111044.1833@spcvxb.spc.edu> (raw)
In-Reply-To: 1991Sep6.104837.1832@spcvxb.spc.edu

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."                     


  reply	other threads:[~1991-09-06 11:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-09-05 17:28 Changing the '$' prompt to [default dir] similar to MSDOS $P$G U29970
1991-09-06  2:30 ` Yoda Junior
1991-09-06 10:48 ` havemann_l
1991-09-06 11:10   ` havemann_l [this message]
1991-09-09 21:38 ` Michael Vilain
  -- strict thread matches above, loose matches on Subject: below --
1991-09-06 19:11 Changing the '$' prompt Phil Daly, JAC, 665 Komohana St, Hilo HI 96720, USA
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox