Path: utzoo!mnetor!uunet!husc6!yale!decvax!ucbvax!FHCRCVAX.BITNET!JOE From: JOE@FHCRCVAX.BITNET (Joe Meadows) Newsgroups: comp.os.vms Subject: RE: getting current dir in dcl prompt Message-ID: Date: 28 Jan 88 19:34:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 18 > The logical thing to do would be: > >$TEMP = "show default" >$SET PROMPT = 'TEMP' Actually, the "logical" thing to do would be: $ SET PROMPT="''F$ENVIRONMENT("DEFAULT")' $ " Or some such mess. But why? I mean, when you're down a few levels you could have a prompt that fills up a whole line, or several even.. I could see writing it to a status line if your terminal supports one (mine doesn't, so I prefer to just remember where I'm at). Cheers, Joe Meadows joe@fhcrcvax -------