Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mansfiel@gmuvax2.gmu.edu (Yoda Junior)
Subject: Re: Changing the '$' prompt to [default dir] similar to MSDOS $P$G
Date: 6 Sep 91 02:30:16 GMT	[thread overview]
Message-ID: <1991Sep6.023016.10769@gmuvax2.gmu.edu> (raw)
In-Reply-To: 91248.122820U29970@uicvm.uic.edu

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


  reply	other threads:[~1991-09-06  2:30 UTC|newest]

Thread overview: 5+ 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 [this message]
1991-09-06 10:48 ` havemann_l
1991-09-06 11:10   ` Changing the '$' prompt havemann_l
1991-09-09 21:38 ` Changing the '$' prompt to [default dir] similar to MSDOS $P$G Michael Vilain
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