Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!lll-tis!ames!necntc!dandelion!ulowell!apollo!mishkin From: mishkin@apollo.uucp (Nathaniel Mishkin) Newsgroups: comp.sys.apollo Subject: Re: Prompt and EC2_WAIT Message-ID: <3a79b848.c366@apollo.uucp> Date: 24 Feb 88 14:18:00 GMT References: <8802220318.AA04482@ATHENA.CS.YALE.EDU> Reply-To: mishkin@apollo.UUCP (Nathaniel Mishkin) Organization: Apollo Computer, Chelmsford, MA Lines: 25 In article <8802220318.AA04482@ATHENA.CS.YALE.EDU> firby-james@YALE.ARPA (James Firby) writes: >Okay, I give up. I've been trying every way I can think of to do the >following simple thing: I want to print a prompt to an aegis shell >standard output (ie. IOS_$STDOUT) so that it shows up in the shell input >widnow and then WAIT until either a line is typed in, or a GPR event occurs. >I can't find any way to do this right. Prompt forcing. What a mess. I don't know if any variants of the contortions you went to can be made to work, but simpler relief is at hand though. From "/sys/ins/pad.ins.pas": PROCEDURE pad_$force_prompt( IN sid: stream_$id_t; OUT sts: status_$t ); EXTERN; This may have appeared only starting at sr9.7 (I'm not sure). In any case, what it does is force any current partial output line to be stuck into the input window. Enjoy. -- -- Nat Mishkin Apollo Computer Inc. Chelmsford, MA {decvax,mit-eddie,umix}!apollo!mishkin