Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!FHCRCVAX.BITNET!JOE From: JOE@FHCRCVAX.BITNET (Joe Meadows) Newsgroups: comp.os.vms Subject: RE: Re: Setting prompt to time Message-ID: Date: 19 Apr 88 16:18:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 21 >I notice that no-one yet has submitted a solution to the problem that >sets the prompt without running a command procedure 'shell'. I wanted >a more unobtrusive solution some time ago, and experimented with a >sub-process that would modify the prompt string in my process's TT_UCB. >Unfortunately, I couldn't find all the internals I needed, even after >hours of plowing through the fiches, and besides, I've always crashed >the machine when I've tried CHMK before, which this seems to require. >However, there are some people on this list who are capable of programming >this; anyone care to take up the challenge? Peter, If I wasn't doing several other things I'd take a stab at it. But, I think I would approach it a little differently.. Why waste a subprocess for such a little thing? Patch DCL. Or, jump into supervisor mode and grab some memory, put in a routine to set the prompt, and set up a repeating schdwk to call this routine.. Anyway, I'd approach it from DCL rather from the terminal drivers point of view. Cheers, Joe Meadows Jr. bitnet - JOE@FHCRCVAX arpa - JOE%FHCRCVAX.BITNET@OLY.ACS.WASHINGTON.EDU -------