General Research Corporation Scientific Computer Network P.O. Box 6770 5383 Hollister Avenue Santa Barbara, CA 93160-6770 (805)964-7724 The contributing authors are: David W. Deley [.GRC.DAVID...] Greg Janée [.GRC.GREG...] [.GRC.DAVID.AUTOLOGIN] An example program which causes a terminal to be logged in automatically as if a user had entered their username and password at the terminal. The terminal "jumps to life" by itself. [.GRC.DAVID.DEALLOC] An example program which queues an AST to a target process causing the target process to deallocate a device it has allocated. [.GRC.DAVID.DOC] Miscellaneous possibly useful documentation. ANALYZE_CRASH.DOC An example analysis of a system crash using the Symbolic Dump Analyzer. ANALYZE_PROCESS.DOC An example of how to analyze any process on a running system using the Symbolic Dump Analyzer. DCL.DOC It is not always necessary to spawn a subprocess to execute a DCL command from within a program. Often the same result can be achieved much more quickly by using the appropriate system service routines. DCL.DOC matches DCL commands with the equivalent VMS operating system provided routines. FORTRAN_ARRAY_ADDRESSING.DOC The correct way to traverse multi-dimensional arrays in FORTRAN. LOGIC.DOC A quote about logic. MODEM.PORTS Information on connecting up modems to computers. RANDOM_NUMBERS.DOC A quote about random numbers. [.GRC.DAVID.EDX] The very latest version of the EDX editor which now includes a built-in spelling checker and the ability to edit modules in VMS text libraries. EDX is a powerful EDT-style TPU based text editor which supports all the major functions of the EDT editor plus many other advanced features not available in the EDT editor or the newer EVE editor. It is intended for users familiar with the EDT editor who would like to switch to a faster, more powerful editor without having to learn a new editor all over again. EDX also supports a WPS-style keypad mode for users who prefer the WPS-style keypad. Following are some of the advanced features of the EDX editor which are not available in EDT or EVE: · Built in spelling checker with 70,000 word dictionary. Spell check a buffer, range, word, or display the dictionary and browse. Includes guessing algorithms and personal supplemental dictionary support. · Edit modules within VMS text libraries. · Obtain a directory listing Include optional /SIZE and /DATE qualifiers. Read in a selected file from the directory listing, delete a selected file, or lock a selected file. · Wildcard search and replace mode, with optional string to exclude as a match, case sensitive or insensitive. · List all lines containing a specified string or wildcard pattern along with the corresponding line number. (The EDT 'TYPE ALL' command) · Search for and highlight matching parenthesis. · Lock files, preventing others from editing them while you do. · Sort a buffer, range, or columnar range. · Columnar cut and paste in insert or overstrike mode. 7 Garble or ungarble buffers to hide from browsers. · Translate a buffer from EBCDIC to ASCII, and vice versa. · Compare two buffers line by line. · Translate DCL symbols and logical names. · Create DCL symbols and logical names. Note that all of the above features are performed within the editor, without spawning a subprocess. EDX is built on the VAX Text Processing Utility (VAXTPU). Users familiar with VAXTPU can dynamically extend the editor's abilities by adding new functions which perform complex tasks. EDX makes this job easier by defining over 40 general purpose functions not available in VAXTPU itself. The EDX editor is also available from the DECUS library as program #V00385. New updates are submitted to the DECUS library. [.GRC.DAVID.FRAG] FRAGMENT and DEFRAG are programs which assist in transferring very large files over flaky telephone lines. The idea is to create a backup save set of the files you want to transfer, run FRAGMENT to break the big backup save set file into many little files, transfer all the little files using kermit set to FILE TYPE FIXED with a wildcard filename, run DEFRAG to reconstruct the backup save set file from all the little files, and recover all the files you wanted to transfer from the backup save set. This way if the phone line flakes out during one of the file transfers, you haven't lost everything you've achieved up to that point. [.GRC.DAVID.SHODIR] SHODIR.FOR is a FORTRAN example subroutine which will display a directory listing of a specified directory the same as the DCL DIRECTORY command does. It can also optionally display a /SIZE and /DATE listing. This subroutine may be placed within a larger user program to allow the user program to quickly display directory listings without spawning a subprocess. [.GRC.DAVID.ZEROACC] We like to give our users a discount for using the computers during non prime time hours. Unfortunately the VMS accounting facility does not provide a convenient way of doing this. So we developed this tool to solve that problem. ZEROACC.EXE is run once every time the rates change. For each process on the system it writes an accounting record and then resets the accounting data fields for that process back to zero. (Updated since previous submission.) [.GRC.GREG.EXCEPTION_INTERCEPTOR] Allows programs written in ADA to handle exceptions as they are intended to be handled under VMS using the VMS Condition Handling Facility. Exceptions are part of the ADA language, but ADA does not have nearly the power of VMS's Condition Handling Facility.