Geoff Bryant Schlumberger CAD/CAM 829 Middlesex Turnpike Billerica, MA 01821 This submission includes three TPU based utilities. The first, APLTPU, was first submitted on the Dallas VAX SIG tape, and has been enhanced to support VMS version 4.4 and to include many new keys. If you are running VMS version 4.2/4.3, you must use the BUILD.COM procedure to generate a VMS version 4.2/4.3 compatable version of APLTPU. The second utility, GBLSUBS, allows text substitution in multiple files with full support for wildcards in file names, and file and substitute confirmation. The third utility, GBLSEARCH, is used to search files for a given text string and to edit any files in which the string is found. ******************************************************************************* APLTPU - Enhanced EDT Emulator for TPU This is an updated version of APLTPU for VMS version 4.4/4.7 and has many new keys defined. APLTPU is an enhanced version of the EDT Emulator for TPU which is distributed with VMS. There are many features borrowed from EVE and EVEplus, along with some new enhancements. To use APLTPU you should define the following symbols: $ TPU :== @SYS$LIBRARY:APLTPU $ TPUR :== @SYS$LIBRARY:APLTPUR and then type $ TPU filename or $ TPU to edit a file. If you don't specify a filename, the last file that you edited will be used. TPUR will edit a file in read only mode. TPU will also allow wildcards in filenames. The source file for APLTPU is APLTPU.TPU and the help files are APLTPU.TXT and APLTPU.HLP. APLTPU can be built using BUILD.COM. In addition to the keys defined by the EDT Emulator from DEC, the following keys are defined by APLTPU: HELP - Give help on APLTPU keys and EDT emulator keys CTRL/B - Toggle one/two windows GOLD CTRL/B - Open a reference file GOLD UP - Move to top window GOLD DOWN - Move to bottom window GOLD W - Adjust window sizes GOLD C - Center a line of text GOLD U - Set case upper/lower GOLD J - Selected substitution GOLD S - Convert tabs/spaces GOLD E - Trim spaces/tabs at line end GOLD T - Convert non-printable chars GOLD O - Toggle overstrike/insert mode GOLD B - Toggle box SELECT/CUT/PASTE GOLD X - Toggle word definition GOLD Y - Toggle graphics display CTRL/K - Start learn sequence CTRL/R - End learn sequence GOLD M - Save current position GOLD G - Go to saved position GOLD L - Go to specified line GOLD Q - Display current line/column GOLD R - Display a "ruler" GOLD V - Display TPU version number GOLD Z - Display the message buffer ******************************************************************************* GBLSUBS - Utility to substitute text in multiple files This utility allows you to replace all occurances of a string with another string in a list of files. GBLSUBS is invoked as follows: $ @TOOLS:GBLSUBS file(s) search_string replace_string You will be prompted for any unspecified parameters. Options are specified as switches for a file: /Confirm - will ask you to confirm each file /Exact - will do a case sensitive search /Query - will ask you to confirm each substitution ******************************************************************************* GBLSEARCH - Utility search and edit/read files This utility allows you to SEARCH files for a string and to edit files containing the string. GBLSEARCH is invoked as follows: $ @TOOLS:GBLSEARCH file(s) search_string edit/read You will be prompted for any unspecified parameters. Options are specified as switches for a file: /Confirm - will ask you to confirm each file /Exact - will do a case sensitive search /Names - will display the names of all files searched The default is to edit files read only.