Geoff Bryant Schlumberger CAD/CAM 829 Middlesex Turnpike Billerica, MA 01821 This submission contains the latest version of APLTPU, a highly enhanced version of DEC's EDT Emulator. This version of APLTPU works under VMS V4.4-4.7 and VMS 5.0. Included are files to build APLTPU for whichever version of VMS you are using. The following enhancements have been made since the submission to the Spring '88 (Cincinnati) SIG tape: - VMS version 5.0 support - Initialization files to allow users to tailor APLTPU options, including their own word definitions, using APLTPU commands rather than programming in VAXTPU. - A DCL buffer to execute DCL commands - Wildcards for "reference" files in split screen edit - Margin support - Bug fixes and other minor new features Also included in this submission are two utilities, GBLSUBS and GBLSEARCH. GBLSUBS allows text substitution in multiple files with full support for wildcards in file names, and file and substitute confirmation. GBLSEARCH is used to search files for a given text string and to edit any files in which the string is found. More information follows about these utilities. If you have any suggestions, find a bug, or have a question, send it along. I can be reached either at the address above, or if you're on DECUServe, send mail to EISNER::BRYANT. ******************************************************************************* APLTPU - Enhanced EDT Emulator for TPU APLTPU is an enhanced version of the EDT Emulator for TPU which was distributed with VMS V4.x. The DEC version of the emulator has been enhanced to include features from EVE, EVEPLUS, DECUS, and many in house 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. 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 GOLD I - Issue initialization commands GOLD $ - Issue DCL commands CTRL/B - Toggle one/two windows GOLD CTRL/B - Open a reference file in second window 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 CTRL/V - Enter control characters 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 F - Toggle margin support ON/OFF GOLD < - Set left margin GOLD > - Set right margin GOLD TAB - Set TAB size GOLD V - Display TPU version number GOLD Z - Display the message buffer With this version of APLTPU, the user can tailor many of the defaults for APLTPU by placing APLTPU commands in an APLTPU$INIT initialization file. Documentation on APLTPU keys is provided through online HELP in APLTPU. A cheat sheet is provided as APLTPU.HLP. The source files included are: APLTPU.TPU - TPU source for APLTPU APLTPU.TXT - Source for the APLTPU help library APLTPU.HLP - A cheat sheet EDTSECINI.TPU - The source to DEC's EDT Emulator, included here with permission of Digital, since it is not distributed with VMS 5.0. APLTPU.COM - Procedures to invoke APLTPU with APLTPUR.COM filename recall and wildcards. BUILD.COM can be used to build and install APLTPU. Note that APLTPU has some minor conditional assemblies for VMS V5.0. If you want to give it a quick try, section files are included in this submission: APLEDTSECINI (VMS V4.X) and APLTPU$SECTION (VMS V5.x). ******************************************************************************* 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.