James G. Downward KMS Fusion, Inc. PO BOX 1567 Ann Arbor, Mich. 48104 (313)-769-8500 December 2, 1984 Note to VAX Sig Librarian: I am supplying images also because last release many sites complained that they did not have Fortran and could not build the images. Note also, that some sources may have been duplicated on previous KMSKIT releases. My problem is that I have made so many changes this time around, that I can not tell which has changed and which hasn't. Moreover, since the VPW package operates as whole, supplying it with missing critical pieces, does not seem quite right. Note to VPW implementers. Some images are supplied on this directory without sources. Documentation for these images, and where they come from is normally found in SYSUTL.HLB. Most (if not all) these images come from past DECUS VAX Sig tapes. My philosophy for this, is that if the image is necessary for the mainline of VPW to work, I supply it unless the size of the images (ie Dennison Spelling package is huge) is very large. If you want sources you will then have to go back to the original DECUS tape and get them for yourself. Note to Security Conscious System Managers: To the best of my knowledge, no supplied image contains any "Trojan Horses". I feel confident that none of the images we developed pose security holes and for all but images linked against licensed libraries (ie TEKGRAPH) all sources are supplied. This is not the case with some images obtained from DECUS so as a rule, we never install images with privilege for which we do not have sources. If running the images non-installed (by potentially privileged users) poses security worries for you, you should modify the various command files to save the user's privileges, set minimal privileges, and then restore the privileges when the DECUS image is finished. The version of VPW supplied on another directory, does not incorporate this feature yet. This subdirectory contains useful system utilities. 1. CALC. VAX CALC is modified for online help. Any time CALC is prompting the user may type HELP and get help (or type HELP topic .....). The CALC help library is included. It is ment to be part of the help library SYS$SYSDEVICE:[SYSUTL]SYSUTL.HLB and CALC will print lots of nasty little messages telling you the library isn't there if it isn't. The updated Fortran source for the VAX CALC mainline and CALC.EXE are provided. CALC.EXE is on [KMSKIT.VPW]. If you want all the sources, get them from DECUS. Much more user friendly. 2. NOUNLOAD. We have a dual ported RK07. One port talks to our PDP-11/45 (running RSX) and the other talks to our VAX. If we mounted the RK07 from the VAX end (readonly) and dismounted it, it would spin down. This made the RSX side of the world very, very, very unhappy. NOUNLOAD is a freebe from the friendly VMS group (they sometimes answer SPRs with answers other than 'fixed in a future release') for the problem presented to them in Jan 1982. While written for VMS V2.x, it also correctly builds and works for VMS V3.0. To use it, after you mount a disk, type NOUNLOAD dduu: (NOUNLOAD must be a foreign command). Now the disk will not spin down when dismounted. Now to make the whole process bulletproof, the mount command is replaced by an indirect command procedure MOUNT.COM which checks to see if an RK07 or RA81 is specified, and if so issues the NOUNLOAD command transparently without the user suspecting a thing. Note however, emulating the mount command completely with a command procedure is impossible since leading qualifiers do not get handled correctly. Qualifiers must be appended to the device. 3. SETUIC. SETUIC allows users with group privileges to change UIC's within their groups, and users with world privileges to change UIC's accross groups as long as the group number is larger than a specified maximum. On our system this value is 300. This value is easily set in the code. Note SETUIC is a privileged image and should be rebuilt each time a new version of VMS goes in. SETUIC also displays the current UIC of the process. Please note that this UIC limit on this version of SETUIC is now set at 300. More importantly, please note, that the group number 340 (octal) is now 'magic', ie one needs SYSPRV to switch over to it. This is because the [340,*] UIC's on our system run with a higher degree of confidentiality than others. Normally all users are allowed to read all other user files on the system. However, administrative services files (with UIC [340,*]) have more restrictive read access rights. Consequently, the World Manager must is also restricted from setting his UIC to their account. 4. SETMODEM. SETMODEM allows the RTS and DTR bits on ports 0 and 1 of a DMF32 to be turned on. This is necessary if one wants to 1) connect a local terminal to port 0 or 1 of a DMF32, 2)use only a 4 wire cable, and 3)Use a special purpose pigtail on port 0 and 1 to strap one of the forced high lines (RTS or DTR) to Carrier Detect. If carrier Detect is not high, terminals will not talk to a DMF32 on ports 0 or 1. 5. AUTOLOG. Steve Moores (ASDU) originally wrote this. I modified it so that its timeout period is more reasonable (27 min) and settable and so that the user gets lots of warning messages prior to the terminal being logged off. The warning messages for subprocesses (idle) indicate that it is a subprocess getting warned (axed). This makes it a lot more friendly to use when using edit windows and VPWEDIT. 6. ZEUS. A modification to the ZEUS on the SIG tape such that two classes of users exist. There is the normal class of users (the good guys) and those who for some reason we choose to discriminate against (they are CPU hogs, they should go buy their own machine, etc.). This list of groups (account) is hard coded into a table in ZEUS. When ZEUS finds a user belonging to a normal user being a CPU hog, the priority of that user is droped to 3. However, if the user's account group is in the specified table, he/she is droped to priority 2. We call this group our Batch Class group. 7. TEKGRAPH. Read TEKGRAPH.RNO (make it a DOC file first). This program will plot data files on Tektronix 4014, VT125's or VT240 terminals. TEK 4014 terminals should be /DEV=FT1 and VT240 terminals should be set to be VT100 terminals with /REGIS/NOWRAP. The source for the mainline is included but not the graphics library it is linked with. It was linked with a modified version of the Tektronix Advanced Graphing II subroutines and I really can not distribute them since they are licenced software. However, most all of AGII is built into TEKGRAPH. 8. TVG. R. Grandle is probably submitting TVG to this tape. However, this version has been modified to work on VT240 terminals (as /NOWRAP/REGIS VT100's and 4014 terminals. Since it is used by VPW & GRFMASTER & TVGMAKER I am enclosing it because the my most current "official" TVG release still does not support REGIS termials in REGIS mode as well as my modified version supports VT240's in 4014 emulation mode. Terminals should be set in the following way $ SET TERM/PERM/LA120/SPEED=9600- ! /NOTAB/HOSTSYNC TTB2:! Tek 4014 Laser $ SET TERM/PERM/FT1/NOWRAP TTB2:! " " " $ SET TERM/PERM/DEVICE=VT00/REGIS/NOWRAP- /SPEED=9600 TXA2:! VT240 9. PLOTEDIT. Allows one to do line mode edititng (for video mode, use NOTEBOOK) on our x-y plot files. 10. POWERFAIL. POWERFAIL is a detatched process which wakes up if and when the system is hit with a power failure. The action it takes is completely user tailorable by changing the command file, SYS$SYSROOT:[SYSMGR.SYSBOOT]POWERFAIL.COM. To build POWERFAIL $ FOR POWERFAIL $ LINK/NODEBUG POWERFAIL To start it up as a detached process (from SYSTARTUP.COM) use RUNPOWRFL.COM. POWERFAIL will keep a current log of all power failures and the action it takes in [SYSMGR]POWERFAIL.LOG and composit log in POWERFAIL.ALL (built up each system boot). Because resetting the DMF32 modem bits was our prime concern in implementing this program, the command file SYS$COMFILE:RESETDMF.COM is also provided. If the terminal is free, it will use SETMODEM to reset the modem bits. If the terminal is logged on for interactive use (and is now hung by the power failure), it will stop the user's process, and then use SETMODEM to reset the modem control bits. 11. Lots of help files in SYSUTL.HLB. Note that the item F_Deallocate corresponds to help on the FD.EXE images which was found on the last VAX Sig tape under [.DEALLOC]. RESETDMF uses the Force_Deallocate command to deallocatat an active DMF32 line which must be reset if a powerfailure occurs yet someone is using it. 12. DGTAPE. A general purpose program to read Data General tapes. Written by Clare Russell at Columbia. 13. Images for FD (from [.DEALLOC]) and QD from the last SIG tape are provided since they are required by procedures supplied with this tape. (VPW needs the QD display for killing print jobs).