Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!hubcap!ncrcae!ncr-sd!hp-sdd!ucsdhub!sdcsvax!ucbvax!CITHEX.CALTECH.EDU!carl From: carl@CITHEX.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.os.vms Subject: Re: Changing symbol info in spawned processes Message-ID: <870617081301.002@CitHex.Caltech.Edu> Date: Wed, 17-Jun-87 11:13:01 EDT Article-I.D.: CitHex.870617081301.002 Posted: Wed Jun 17 11:13:01 1987 Date-Received: Mon, 22-Jun-87 01:24:08 EDT References: <541@ubu.warwick.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 16 > I would like to modify my prompt in spawned subshells, particularly from > Eve. Is there an easy way to do this? The reason I want this facility is > so that I do not type "lo" one too many times and find myself logging in > again! It took me a while to realize that nobody responded to Steve Hunt's REAL question, and that somebody should. He really wants to avoid killing his top-level process, and setting the DCL prompt was simply a perceived means to that end. Since he appears generally to use the "logout" command to terminate his current process, executing the command $ SET COMMAND/DELETE=(LOGOUT,EOJ) in his LOGIN.COM should solve his problem. In order to log the top process out, he has his choice of "$ RUN SYS$SYSTEM:LOGINOUT" or "$ STOP/ID=0". Since spawning a subprocess entails reading the CLI table again, the LOGOUT and EOJ commands will still work for all but the top-level process.