APLTPU/APLEVE (V00374)
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.x. Included are files to
build APLTPU for whichever version of VMS you are using.
This submission also includes APLEVE, which is APLTPU converted
to be based on EVE rather then the EDT Emulator. APLEVE also
contains enhancements over and above APLTPU. APLEVE is intended
to replace APLTPU. APLEVE requires VMS version 5.0 or later.
The following enhancements have been made to APLTPU since the
submission to the Spring '89 (Atlanta) SIG tape:
- Bug fixes
The following enhancements were made in the conversion from APLTPU
to APLEVE:
- GOLD U supports capitalize in addition to upper/lower
- PRINT has been added to line mode to print a "cheat sheet"
- "Multi window" support for more than 2 windows
- Setting of wildcard/normal FIND
- GOLD R provides a mroe useful ruler
- Unlimited number of saved positions
- Of course EVE functions and keypads are also available
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.
APLEVE - Enhanced EVE
APLEVE is an enhanced version of EVE. APLEVE includes home
grown features, requests from users, and features gratefully
borrowed from EVEPLUS, APLTPU, and Encompass.
To use APLEVE you should define the following symbols:
$ EVE :== @SYS$LIBRARY:APLEVE
$ EVER :== @SYS$LIBRARY:APLEVER
and then type
$ EVE filename
or
$ EVE
to edit a file. If you don't specify a filename, the last
file that you edited will be used. EVER will edit a file in
read only mode. APLEVE will also allow wildcards in filenames.
In addition to the keys defined by EVE, the following keys are
defined by APLEVE:
HELP - Give help on APLEVE and EVE 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
CTRL/N - "Nuke" a multi 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 APLEVE version number
GOLD Z - Display the message buffer
The following commands are available from APLEVE initialization files,
as DO commands, as GOLD_I key commands, or as line mode commands:
{ENABLE|DISABLE} BOX - Enables BOX mode SELECT/CUT/PASTE
{ENABLE|DISABLE} DISPLAY DEFAULT_FILE - Enables display of default filename
{ENABLE|DISABLE} MARGIN - Enables APLEVE margin support
{ENABLE|DISABLE} MULTI WINDOWS - Enables APLEVE multi windows
{ENABLE|DISABLE} WILDCARD FIND - Enables wildcard FINDs
HELP - If interactive, provides help
MESSAGE message - Displays user message
PRINT HELP file - Writes help to file
SET CURSOR top:bottom - Controls scrolling
SET DCL {ERASE|NOERASE} - Erase DCL buffer between commands
SET INSERT - Sets MAIN buffer to INSERT mode
SET LEFT_MARGIN n - Left margin - APLEVE margin support
SET OVERSTRIKE - Sets MAIN buffer to OVERSTRIKE mode
SET QUIET - Disables APLEVE command verification
SET RIGHT_MARGIN n - Right margin - APLEVE margin support
SET SCREEN width - For 80/132 column screen width
SET SEARCH {GENERAL|EXACT|EVE} - Set case sensitivity for search
SET TAB EVERY number - Set tab sizes for APLEVE TABs
SET VERIFY - Enables APLEVE command verification
SET WORD {EDT|NON-ALPHANUMERIC|user} - Sets WORD definition
SET WRAP number - Sets WRAP column for EDT wrapping
TPU command - Executes the specified TPU command
Documentation on APLEVE keys is provided through online HELP
in APLEVE. A cheat sheet is provided the PRINT HELP command.
BUILD.COM can be used to build and install APLEVE.
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, Encompass,
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.
Click on FTP to download from the FTP archives.
![[FTP]](http://www2.encompassus.org/hidedecus/graphics/i_ftp.gif)