[307,20] - USGS library contributions: MDINIT.COR RMDEMO (V3.2) correction files for the correct display of MDPAGE.COR IN: and OUT: tasks in systems with a resident task loader REMAP.COR and display of UP time in RSX-11M systems (conditionalized. RMDDEF.COR for R$$EIS, but not tested on a non-EIS machine.) UFD.COR Correction file to allow a non-privileged user to create UFDs with the same group number as the protection UIC. TIMER.FTN FORTRAN execution profiler subroutine and test driver. TIMERTEST.FTN (See upcoming Multi-Tasker article.) GETCMD.MAC FORTRAN access to system indirect command file processing. CSI.MAC FORTRAN access to system CSI parsing routines, including CSISV.MAC construction of switch tables and switch value tables. CSISW.MAC STOP.MAC Replacement FORTRAN STOP statement processor that eliminates STOP message. (See December 1979 Multi-Tasker article.) TCLOSE.MAC FORTRAN callable file close with truncation (after flushing the file buffers via a forced .POINT). TTYATA.MAC FORTRAN link to TT driver unsolicited input character AST ASTTST.FTN mechanism (via completion routines) and test driver. (See April 1979 Multi-Tasker article.) USERMAC.MAC USGS macro library sources and the library itself. The source USERMAC.MLB file may be of interest to MACRO programmers who would like macros for simple terminal I/O, ala FORTRAN TYPEs and ACCEPTs. The source file is heavily laced with comments. The rest of the files belong to the programs below: CRASH Used to force a system crash from a privileged terminal. (See March 1980 Multi-Tasker article.) CWD and PWD Change Working Directory and Print Working Directory. Combination of ASN ddnn:=SY: and SET /UIC=[g,m] in one command with lots of extras, e.g., warns you if the UFD does not exits, prints disk usage (blocks and percent). Type CWD /HE and PWD /HE for help. DAMMIT Cute messages (taken from old DECUS tape and converted for 11M). IDX FORTRAN IV/FORTRAN IV-PLUS cross reference generator. A substantial enhancement to the old IDX program that processes all FOR and F4P keywords (including INCLUDEs) and generates the correct line numbers for each compiler (with proper carriage control for appending to the compiler listing file). See IDX.DOC and README.IDX for help. PRINT 11M-PLUS style print command for the old print symbiont; accepts optional /DElete switch. Type PRI /HE for help. SNAP Snap dumps (almost) any running task by faking out PMD... into thinking the task asked for it. Accepts all the arguments available in the SNAP$ macro. Allows non- privileged users to dump their own tasks only. Type SNA /HE for help. (Try snapping PMD... sometime!) SQUISH Compresses imported text files by removing text beyond a specified column and trims trailing blanks and tabs. See SQUISH.TXT for help. UNDELETE Very dangerous program for recovering files accidentally deleted from a disk. Allows file specifications similar to SRD Select Entry patterns. Written to recover a system disk that had been completely (accidentally) wild card deleted (it works fine). For system programmers only. See UNDELETE.DOC for help. WHO Who is on the system (with names taken from the account file) and currently executing tasks with their status. Also allows query of account file info, such as WHO BAKER or WHO 100,1. (Makes only one pass through ATL and account file.) Type WHO /HE for help. Command files are available for each program by name (except PWD, which is really CWD installed as ...PWD), and there is a blanket command file, USGS.CMD, that will build the necessary libraries and all supplied tasks. If you choose to build each task manually, be sure to invoke @USGSLIB first to build the common libraries. The following files should be available for a build of all tasks: LB:[1,1]EXEMC.MLB LB:[1,24]MCR.OLB LB:[1,54]RSX11M.STB LB:[200,200]RSXMC.MAC Any comments, suggestions, complaints, or praise may be sent to either Larry Baker or Gary "Max" Maxwell at U. S. Geological Survey Office of Earthquake Studies 345 Middlefield Road M/S 77 Menlo Park, CA 94025 (415) 323-8111 x2703 FTS 467-2703 P.S. This tape was assembled at 3 a.m. after the machine's power supply was repaired from a failure earlier in the evening. We have tested the command files individually, but did not have time to test them all together. They should work in any UFD on your disk. Good luck.