Path: utzoo!mnetor!uunet!husc6!rutgers!ucla-cs!zen!ucbvax!URVAX.BITNET!LUNDIN From: LUNDIN@URVAX.BITNET (John Lundin Jr) Newsgroups: comp.os.vms Subject: RE: Session Logs Message-ID: <8801060114.AA05559@ucbvax.Berkeley.EDU> Date: 5 Jan 88 16:44:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 49 > Date: Mon, 4 Jan 88 22:30:40 est > From: Danny Padwa > Subject: Session Logs > > Does anybody know of any ways, short of something along the lines of > SET HOST/LOG 0 > to get a copy of a terminal session (except, of course, a terminal printer). You might want to try PHOTO. There are two versions around, one in C and the other in Pascal (the C one has a few more features but wants LOG_IO priv to run - install it, don't give it out! :-) These capture everything printed to the screen by the program and system. They also ignore broadcasts (this could be changed). Both of them require installation of KVC's pseudo-terminal driver on your system first. If you decide to do this, DO NOT USE THE ONE OFF THE 1986 OR EARLIER DECUS TAPES!! IT CAN CRASH YOUR SYSTEM! It got ours. The one on the spring 1987 Vax Symposia tape appears to be current. > We are having trouble here in that many users... use the SET HOST/LOG command > to save a session, and... try it again, without closing the first session. > This creates tremendous overhead... PHOTO is also subject to the same problem of people logging into it again without closing the first session. It is easier to fix though. On Decnet logins, you can add logic to the systemwide login file to log out a user if there is already an RT device with the same owner, but this slows down the login procedure and would not allow logging parallel or remote sessions. With PHOTO you can put the logic in the program itself, and simply make it exit with an error message if anyone attempts to run it from a pseudo device. Also, if you decide to use pseudoterminals, be VERY CAUTIOUS of the driver each time you change VMS versions. It will probably break again with 5.0. We don't give out NETMBX by default (just as well as it turns out, considering the mail "hole" it opens up) and still haven't released PHOTO to general use. This is a "do as I say, not as I do" kind of message. :-) If you have VT102 or VT200 series terminals, there is the serial printer, but you didn't want to hear about that! We're using terminal printers... -------------------------------------------------------------------------- John Lundin, Jr. VAX785::LUNDIN (UR/MCV Decnet) Academic Computing LUNDIN@URVAX (BITNET) University of Richmond lundin%urvax.bitnet@cunyvm.cuny.edu (Internet) Richmond, VA 23173 ...!rutgers!urvax.bitnet!lundin (? Usenet) This note may not reflect the official policies of UR or Academic Computing.