DCLRB - Program To Format & Display Another Process's Recall Buffer Author: Hugh Kennedy. .sbttl Copyright Notice And License To Use ; ; Copyright (c) 1992, All Rights Reserved by ; Hugh A.J. Kennedy. ; ; A license to use and adapt this software without payment is hereby ; granted subject to the following conditions: ; ; 1) It may only be copied with the inclusion of this copyright ; notice in the program source with these associated conditions. ; ; 2) No title to or ownership of this software is hereby ; transferred. ; ; 3) The information in this software is subject to change ; without notice and should not be construed as a commitment by ; Hugh Kennedy. ; ; 4) The author assumes no liability for any damages arising from the ; use of this software, even if said damages arises from defects in ; this software. ; ; 5) No warranty as to merchantability or fitness of purpose is ; expressed or implied. ; ; 6) Any modifications to this source must be clearly identified as ; such and added to the modification history. ; ; If you can not comply with these conditions, you *must* contact the author ; and obtain permission other wise you are in violation of copyright. There are many utilities for examining what is being typed on another terminal. These are very useful, when trying to assist a user or observe a breakin. Unfortunately, they will only tell you what the user has done after you have started the utility - and have certain restrictions relating to DECnet remote terminal sessions. DCL maintains a 1K buffer for command history, of which the user can usually recall and edit the last 20 commands, although normally more than that are held there. This program allows you to display what is in the recall buffer of another user. The program is intended to be defined as a foreign command as follows: $ DCLRB:==$DCLRB and then can be used in a fashion similar to other process related commands, wither with a process id, e.g., DCLRB/id=, or with the name of another process in the same UIC group, e.g., DCLRB name. This program requires the privilege CMKRNL to do anything at all. It then requires no extra privileges to display the recall buffer of another process with the same username. It requires GROUP for other process in the same UIC group and WORLD for all remaining processes. Programmers may care to note that the code in DCLRB.MAR is adaptable to fetch any information from another process. Hugh A.J. Kennedy Oakweald Ltd, London, England. Internet: 70042.710@compuserve.com Compuserve: 70042,710