COMMAND PROCEDURES ------------------ Submitted by: Chris Doran Date: September 1988 Sira Ltd., South Hill, Chislehurst, Kent, BR7 5EH, England. Tel: +44 1 467 2636, Telex: 896649, FAX: +44 1 467 6515 A few useful command procedures. PLOT10.COM outputs the required escape sequence to set a VT24x or HP2648a terminal into/out of PLOT10 mode. CLS.COM outputs the required escape sequence to clear the alphanumeric screen on VT5x, VT1xx, VT2xx, and HP2648a (FT1) terminals. CLG.COM similarly, clears graphics on graphics terminals. DRAWTREE.COM displays a directory tree. This is from KMSKIT, with corrections from [VAX86A.BZL], and also, support for HP2648a terminals. Provide the name of the root directory that you want traced (it's a bit touchy about the directory format, try appending [000000] if in trouble). FREE.COM displays free space on a disk, including maximum blocks and blocks used. OLD.COM lists all old files, equivalent to DIRECTORY/EXCLUDE=*.*;0, which doesn't work (and isn't supposed to). Use OLD to find out what you are about to PURGE!!! OLD has special coding to handle ODS-1 disks and magtape. OPS.COM performs the same commands on all of a selected set of files. Effectively allows you to do things like FORTRAN *.FOR, but much more powerfully. REPLY_LABELS prints a specified number of labels giving your name and company address (currently OURS, so please change it, we get enough unwanted mail as it is). Formatted for 3-wide 102x36mm labels. Includes a FREEPOST option, or the standard address for meanies/overseas use. SECURE.COM modified version of a file on one of the SIG tapes (sorry, I've forgotten where!) which allows you to "lock" a terminal while you are out of the room. Uses the DISPLAY utility in the CAI directory of this submission for terminal type independence. It also assumes you have the BROADCAST recording utility from the 1985 UK SIG tape, [VAXUK85.DECUS.BROAD], installed as BROADCAST. Delete these lines if you don't. *.RNH HELP file sources giving more details where available. You can make most of these into foreign commands by just doing:- $ xxx :== @xxx the exception is PLOT10, for which, see the instructions at the end of the file. Bugs ---- Don't use CLG.COM on a VT220, it clags it up! The problem is that there is no simple way to tell the difference between a VT220 and a VT240, except by means of the Regis flag. PLOT10.COM uses this to say whether the terminal is in Regis or Tektronix mode. CLG assumes that if the terminal is /NORegis, then it's a VT24x in Tektronix mode, and sends out , which to a VT220 is a partial escape sequence, which causes it to wait for another character. If you never use Tektronix mode, just let a VT220 look like a VT100. In order for FREE * to work, you must edit it to include all the devices in your system. There is probably a way to make this automatic, but I haven't taken the trouble to look for it. OLD has a fixed length for its filename display, which means that the vital part gets truncated if you have long names or deeply-nested directories. CHANGES THIS RELEASE:- ---------------------- CLG.COM Added SET TERMINAL/NUMERIC_KEYPAD. SECURE.COM fixed bug that meant it wasn't secure!! Added an option to permit someone to log you out. REPLY_LABELS.COM is a new submission.