DNORTH UTILITY Library contents summary: Summary of library: This library is a collection of miscellaneous utilities. Included are: a SETUP program to be used in place of most of LOGIN.COM, a CD utility A.K.A. MS-DOS with extenstions, a Data Security Facility to encrypt data using wildcards and optional DES, a privilege utility to set/reset your privileges in a shorthand form and to allow privileged users to set other processes' privileges, a command to change any date on any writable file, a program to remove an INSTALL'd file left open by a bug in V5.x INSTALL, a program to ENTER a file by ID, a procedure to 'pre-load' the typeahead buffer for terminal-driven applications, and a program to use LIB$SIGNAL to call SYS$PUTMSG (used by permission of the VAX Professional Technical Journal). Summary by file: (.EXE's, .OBJ's, build procedures etc. omitted) *[DNORTH.1LOGIN]1LOGIN.COM [DNORTH.1LOGIN]LOCKUSER.COM Selectively allows single login per username per vaxcluster. [DNORTH.1LOGIN]DCLDATES.COM Some simple DCL date tricks. [DNORTH.1LOGIN]KEPTSDA.COM Keeps an active SDA subprocess around [DNORTH.1LOGIN]RQSTID.COM DCL extraction of inbound network connect SYS$NET logical data [DNORTH.1LOGIN]XOR.COM Simple XOR operation performed in DCL. *[DNORTH.ALWAYS]ALWAYS.MAR Miscellaneous MACROs used by some of the programs. Includes a PRINTF macro to call $FAO with control string and arglist automatically, an INQUIRE macro and several others. [DNORTH.C]ASSUME.H $ASSUME macro for VAX C. Similar in intent and function to the MACRO-32 ASSUME statement. [DNORTH.C]FSCANSUB.C [DNORTH.C]HACKACL.C Blast all ACE's (except 'PROTECTED') off of a file. Wildcards supported (by FSCANSUB). [DNORTH.C]LEX.C [DNORTH.C]LEXTEST.C Lexical analyzer for C... parses out & identifies 1 token per call including REAL/INTEGER/IDENTIFIER/QUOTED_STRING/COMMENT and C operators. [DNORTH.C]PARSEDECL.C Neat tool from the K&R C book to parse a C declaration. [DNORTH.CD47D]CD.MAR [DNORTH.CD47D]CDMSG.MSG [DNORTH.CD47D]CDPARSE.MAR MSDOS-like CD command w/extra features. This command provides a CD command to VMS users that is similar in some ways to the MSDOS CD command. It also provides methods for a user to define 'format' symbols which allow brief specifications for structured directory path formats. Nice LIB$TPARSE example too! [DNORTH.DEDTACHED]IMAGEID.C [DNORTH.DEDTACHED]IMAGESUBS.MAR [DNORTH.DEDTACHED]IMAGEUP.MAR Some nifty little tools for enhancing available information from detached processes (if you write the server!). Lets you see image process & job info for a detached process easily, and lets a created process tell it's creator that it got started ok. [DNORTH.DO]DO.MAR 'DO' a DCL command. Comes right out of the 'stupid DCL tricks' grab-bag. Good only for not depositing a command into the recall buffer. [DNORTH.DSF41]DES.MAR [DNORTH.DSF41]DSF.DOC [DNORTH.DSF41]DSF.MAR [DNORTH.DSF41]DSFMSG.MSG [DNORTH.DSF41]DSFSUB.MAR [DNORTH.DSF41]ISASCII.MAR Data Security Facility This is a small encryption facility used to keep prying eyes and privileges out of your private data. DES, HEX, BLOCK, and wildcards are supported on the newest version. ISASCII is a simple- minded tester for files of non-ascii data. *[DNORTH.ENTER]ENTER.MAR Enter a specific file_id as a filename Used to enter a specific FID as a specified filename... useful for recovering TMD (marked for delete) files, or files that a user has $ SET FILE/REMOVEd. [DNORTH.PATCHER]PATCHER.COM [DNORTH.PATCHER]MBINST.MAR A PATCH procedure to force an image to call a shareable patch image. Included is a sample shareable patch image to force the calling image to be INSTALLed. This utility eliminates the hassles normally associated with using the VMS PATCH utility. *[DNORTH.PRV]PRV.MAR SET PRIVILEGE shortcut + set privileges for another process This procedure may be used as a much briefer way to do a $ SET PROC/PRIV=(list). It also may be used to alter the privileges of another user. Nice LIB$TPARSE example too! *[DNORTH.RMVFIL]RMVFIL.MAR [DNORTH.RMVFIL]INSPATCH_V51-1.COM [DNORTH.RMVFIL]INSPATCH_V53-1.COM Try to remove a leftover file from INSTALL bug VMS V5.1-1 and V5.3 (at least) have a bug in INSTALL that can leave files open on a drive, and no way to close them. This program may be used (as a last resort only) to force those files closed. Also included are patches for VMS V5.1-1 and VMS V5.3-1 INSTALL which will prevent the problem from occurring. *[DNORTH.SETDATE]SETDATE.MAR [DNORTH.SETDATE]SETDATEMSG.MSG Set any/all file dates for wildcard specification. Provides a user capability to set any date on any file they can write to. Two versions of the .CLD provided, one for managers, one for users. Manager version changes anything, user version can only 'touch' or 'reset' a file's dates. *[DNORTH.SETUP]SETUP.MAR [DNORTH.SETUP]SETUP.MEM [DNORTH.SETUP]SETUP.RNO [DNORTH.SETUP]SETUP.RNT [DNORTH.SETUP]SETUPMLB.MAR [DNORTH.SETUP]SETUPMSG.MSG Partial (in fact fairly complete) replacement for LOGIN.COM Implements most readily programmable aspects of what you need in a LOGIN.COM. It is also node and mode -sensitive in most operations performed. [DNORTH.SIGVEC]SIGVEC.MAR [DNORTH.SIGVEC]STD_HANDLER.MAR *** USED BY PERMISSION OF THE VAX PROFESSIONAL TECHNICAL JOURNAL *** Preprocessor for calls to LIB$SIGNAL and LIB$STOP that creates a signal array suitable for direct usage as a SYS$PUTMSG message vector w/little or no concern about what type of error is being signalled. Also, a sample condition handler is included for messaging and controlling program flow using SIGVEC's output. *** USED BY PERMISSION OF THE VAX PROFESSIONAL TECHNICAL JOURNAL *** *[DNORTH.TRACE]CRASH.MAR [DNORTH.TRACE]TRACETRAP.MAR Programmer callable utility to trap the output of TRACE.EXE caused by program traceback to a file. The program is then called back during image exit to allow the program to perform some action with the newly created trace dump such as using callable mail to mail the dump to a programmer. [DNORTH.TTFISW]TTFISW.MAR [DNORTH.TTFISW]TTFI.COM [DNORTH.TTFISW]TTFISW.COM These routines allow you to 'pre-load' the typeahead buffer for a terminal-driven application from DCL prior to starting the application. *[DNORTH.UWDIMGSTA]UWDIMGSTA.MAR User-written-debugger 'catcher' program. Modifies default behaviour of RUN command. May also be used to bypass INSTALL's prevention of running an image with /TRACEBACK. Misc. debugger control utilities. Force an image into debug even though it was linked /NOTRACE. * Indicates re-submission of Fall '90 code with no significant revisions.