Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sunybcs!canisius!healy From: healy@canisius.UUCP (Patrick Healy) Newsgroups: comp.os.vms Subject: Re: How to get multi-level command history to work? Message-ID: <1654@canisius.UUCP> Date: Tue, 30-Jun-87 22:02:18 EDT Article-I.D.: canisius.1654 Posted: Tue Jun 30 22:02:18 1987 Date-Received: Thu, 2-Jul-87 01:12:05 EDT References: <1150@copper.TEK.COM> <1292@briar.Philips.Com> Distribution: world Organization: Canisius College, Buffalo N.Y. 14208 Lines: 34 Keywords: terminal driver command history Summary: recall In article <1292@briar.Philips.Com>, klb@philabs.Philips.Com (Ken Bourque) writes: > The screen management stuff now gives you 20 lines (I think) of command > recall. Using it is probably the simplest way to get more than 1 line. My > understanding is that the terminal driver gives you one line, DCL gives you 20 > lines (using its own implementation) and SMG gives you 20 lines. The VMS > utilities which acquired 20 line recall got it by using SMG. > > klb@philabs.philips.com -or- seismo!philabs!klb Ken, this is undeniably correct other than the 20 lines that $SMG is merely a default. You can set an alternate value when you use the SMG$CREATE_ _VIRTUAL_KEYBOARD. The $SMG documentation gives a better description. I also have a related question. To use the SMG$RECALL_INPUT_LINE you must you must first have the Screen Management stuff running (ie. create a virtual keyboard, save the physical screen etc.). I'm trying to write a vms 'finger' and would like to get the person's last command instead of using $GETJPI to find their image. Is there a way to recall the last line of another process without using Screen Management utilities? Possibly through IO$ calls? Any chance of it being accessible through the device driver stuff? Thanks! ----------------------------------------------------------------------------- USMAIL: Patrick Healy / Canisius College / 2001 Main St. / Buffalo, NY 14208 OFFICE: 42 55m 32s N / 78 51m 10s W / basement VOICE: (716) 883-7000 Extensions 440, 441, 446, 447 Eastern Time UUCP: ...!{decvax|watmath|allegra|rocksvax}!sunybcs!canisius!healy " ...!ames!canisius!healy BITNET: HEALY@CANISIUS CSNET: healy%canisius@CSNET-relay -----------------------------------------------------------------------------