___ ___ _____ ___ ___ | \/ | / ____\ | | | | | \ / | \____ \ | |_| | SPRING 1991 VAX SIG TAPE SUBMISSION |_|\/|_| \_____/ \_____/ Memphis State University Harry Flowers Internet: FLOWERS@MSUVX1.MEMST.EDU 112 Admin Bldg Bitnet: FLOWERS@MEMSTVX1 Memphis, TN 38152 Phone: (901) 678-2663 +-------------------------------------------------------------------------+ | Disclaimer: The author, Memphis State University, and DECUS assume no | | responsibility for the use or reliability of this software. | +-------------------------------------------------------------------------+ SUBMISSION DIRECTORY ==================== AAAREADME.TXT - This text file. Most of these submissions require VMS V5.4 to run; in fact, many were modified to take advantage of new features. As I use most of these programs regularly, I would be interested in any problems of a general nature you may have with them, or enhancements which would prove generally useful. Enjoy! Corrections and enhancements to previous submissions: ----------------------------------------------------- DISK_WATCHER.COM - Monitors free disk space. Changed to use the F$DEVICE lexical instead of the old SHOW DEVICE /OUTPUT kludge. Since disk order is not important to DISK_WATCHER, this is not a problem. See command file for setup. RMSGLOBUF.COM - Shows files using RMS global buffers. Changed to use the F$DEVICE lexical; one less kludge in a kludgy but handy (if you take advantage of global buffering) program. The show device was used to take a name like DUA1: and translate it to HSC000$DUA1: or $1$DUA1: or something similar that DUMP would accept. F$DEVICE works very well for this. MENU.COM - DCL Menu System V2.1. Improvements over V2.0: now can space entries with blank lines between to group them; allows balancing columns any way you wish. See command file for full details. I don't know of any image activation off hand that the menu does, so it's pretty efficient. More efficient that SPAWNing commands (even if you have a "kept" subprocess to execute them), and more versatile. MEM.COM - Monitor free memory (esp. the last 10%) showing SYSGEN parameters. Made minor terminal-handling modifications. Good on memory-poor systems to see what's happening to your free and modified page lists. ASKOPER.BAS - Defines a symbol with an operator reply. What you wish REQUEST/REPLY could do. Works with any operator classes. This version will ignore slashes "/" within quotes for the request, the /LOG qualifier is now the default, and operator replies are uppercased. ASKOPER.DOC - Documentation for the above program. ASKOPER.OBJ - Object file for those without a BASIC compiler. New submissions: ---------------- ADD_CHECKSUM.COM - Adds an internal checksum check to a command file. Just rather interesting, I prefer to use VMS_SHARE for distributing files through the mail. Uses the undocumented CHECKSUM DCL command. The next two are very helpful if you subscribe to mailing lists and have a heavy volume of mail. MAIL_EDIT.COM - This command file allows: o Spell checking of outgoing mail before you send it; uses the Vassar spelling package (not included) or any other which is invoked with the SPELL command. o Quoting of messages you reply to or forward. You may choose the quote character(s). The default is "> ". Unlike most of these on the net, this one will work with EDT or TPU because it achieves this with DCL. It also filters out the internal mail header on messages received through the foreign mail interface (keys off the "%"). o Appending a signature file to the end of your mail message. Directions for set-up and customization are included in the command file. MAILMAINT.COM - Program to create mail subdirectories and file mail from existing folders to the subdirectories. Assumes you already use a subdirectory for your mail. What this program does is create a subdirectory of your mail subdirectory for each folder you have in your mail file. It gives the subdirectory the folder name, and creates a folder.MAI file with a folder inside of the same name. It files all mail over 90 days old in these files. This can speed up MAIL access as there are fewer files in your mail subdirectory. It also does a compress on the subdirectory mail files. It does a convert of the main mail file, but *not* a compress. You will get better performance if you do a compress after you run it the first time, then do no more compresses unless you get an unusual volume of mail between runs. Once a week would be a good frequency. SYSTAT.BAS - System status program. I finally wrote the one I was looking for; it shows the things I want to see as well as some things that are important at our site. I named it after a similar DEC program on RSTS/E (for nostalgia and because I couldn't come up with any better one). It keeps to 80 columns unless you ask for process rights information. It shows the PID, Username, elapsed time, CPU time, mode, state, global and total memory, and image for any or all nodes in a cluster. It optionally shows the process name (replaces elapsed and CPU time), the IO counts (replaces the global and total memory), and process rights. The documentation contains all the details. Requires VMS V5.4 or later. The BASIC$STARLET.TLB include modules must have been rebuilt after VMS V5.4 to compile. The executable may be installed with WORLD privilege. SYSTAT.OBJ - Object code for those with out a VAX BASIC compiler or a current version of the SYS$LIBRARY:BASIC$STARLET.TLB library. Just $ LINK/NOTRACE SYSTAT $ INSTALL CREATE dev:[dir]SYSTAT.EXE/PRIV=WORLD ! optional and add the SYSTAT symbol to your login. SYSTAT.TEX - LaTeX source for documentation. SYSTAT.PS - Postscript documentation for those without LaTeX. MASTER.BAS - Allows a nonprivileged holder of a nnn_MASTER identifier to grant/revoke any existing nnn_* identifier to any user. The program must be installed with CMKRNL, SYSPRV, and WORLD. This is intended to allow project managers to control access to their projects without having elevated privileges. (This is the primary reason for the SYSTAT program above showing process rights). Using ACLs with these identifiers allow very fine control over files and types of access. This program also requires VMS V5.4 and a current starlet to compile. MASTER.OBJ - Object file; see comments and directions for SYSTAT.OBJ above, except that this image must be installed or run with privileges: $ INSTALL CREATE dev:[dir]MASTER.EXE/PRIV=(CMKRNL,SYSPRV,WORLD) MASTER.TEX - LaTeX source for documentation. MASTER.PS - Postscript documentation for those without LaTeX. PMP.COM - Phone Message Pad. This mails a user a phone message. I find it very handy when I pick up for someone else. This way, I don't forget to give them the message. It's pretty simple. Just try it by sending a message to yourself. Some code to try another node is commented out; you may adapt for your site if not everyone is in the same SYSUAF. CSWING.EXE - Version of SWING written in C by S.J. Brown & modified by M. Akerberg. SWING is an extremely handy directory management tool. I have made several minor bug fixes to version 3.3 from Mats Akerberg. I'm calling this V3.4, but my version maintains the V3.2 key bindings that Mats changed in V3.2.x and V3.3. I think that the original V3.2 keys are much more intuitive to a VMS user than the V3.3 ones, so both of us will probably be maintaining slightly different versions. Mine also includes changes others have made from Mats' V3.2.2 which I got via FTP archives of vmsnet.sources. I'd like to thank the many hands which have maintained this code, and S.J. Brown, who did much more than just port this version from the original written in FORTRAN. CSWING.HLB - Help library for CSWING. Just put it in the same directory as CSWING.EXE or in SYS$HELP. CSWING.PS - Postscript documentation. See [.CSWING.DOC] for a runoff version. [.CSWING] - Contains sources for CSWING and has the following sub-directories: [.DOC] - Contains sources for help and documentation. [.OBJ] - Contains object files; the original is linked under VMS V5.4, so you'll need to go to the [.CSWING] directory and @LINK_V5 if you're running a previous version of VMS. If your site doesn't use CSWING, you're missing something. Even a "techie" such as myself finds it useful for browsing and cleaning up directories; it is even more valuable to a general user. Here are some of the bugs I fixed: o Did not handle disks in bound volume sets. o Couldn't exit from "@ - change file protection". o Disk quota ("&") option did not stay on screen until key pressed. o Quit option did not work on copy or move files or directory options. o More ("Y") option failed after invoking it a fixed number of times. o More ("Y") option ^W did not reset internally to normal from wide. o More ("Y") option searching did not work in case-insensitive mode unless a lower-case string was used for the search pattern. o More ("Y") option spacing problem with form feeds; now treated just like a non-printable character (replaces it with a "^" character). o More ("Y") option caused the file manager to display the file in lower case after it had been viewed. Please note: If your site makes heavy use of CSWING and you find any bugs, I'd like to hear about them (but I don't promise fixes :-). It appears that I'll be supporting it (at least locally) for some time. +-------------------------------------------------------------------------+