Free software BY Project Software & Development, Inc. This software is furnished for free and may be used and copied as desired. This software or any other copies thereof may be provided or otherwise made available to any other person. No title to and ownership of the software is hereby transferred or allowed. The information in this software is subject to change without notice and should not be construed as a commitment by PROJECT SOFTWARE AND DEVELOPMENT, INC. PROJECT SOFTWARE assumes no responsibility for the use or reliability of this software on any equipment whatsoever. Project Software & Development, Inc. 14 Story St. Cambridge, Ma. 02138 617-661-1444 Now residing at: Nothern Telecom Inc. Airport Road Concord, New Hampshire 03301 (603) 224-6511 X2024 Program: VTL Author: Robin Miller Date: Fall 1984 Description: This program is used to list file(s) on a VT100 family terminal. The file(s) are displayed one screen at a time for easy viewing. Various commands can be entered to change listing parameters or to position to a particular portion of the file. Many of the commands are the same as the Digital editor EDT. Commands can be entered either by using keys on the VT100 keypad, or by entering commands to the prompt at the bottom of the screen. Some of the major features of the program are outlined below: o CTRL/C detection for aborting searches, etc. o Delete the file being displayed. o Display a ruler along the top of the file. o Display the next file or next the directory. o Display record numbers along the left margin. o Display the file header of file being displayed. o Print the file being displayed. o Search (forward only) for a specified string. o Shift the display window left or right. o Split screen mode to display two files. o Teco compatible see-all mode. o Write portions of the file being displayed. The maximum record size that can be displayed is 512 characters. All commands have a repetition count of one. Relative and indexed files are not supported. The special wildcard characters "* and %" can be used with VTL on RSX-11M using FCS for I/O instead of RMS. Previously these were only valid on VMS since a native image was being called to lookup files. The Digital files ASCR50.MAC and PARSFN.MAC were modifed to allow this type of wildcard lookup. Unfortunatly, since they are Digital source files I can't submit them to the SIG Tape. I hope to submit an article on this to the RSX News Letter in the near future. These modified modules are in the object library (VTL.OLB) and can be extracted an used with other programs. Refer to module VTLOPE for further information on using these (must save the file name block). [ Note: the ASCR50 and PARSFN modules were disassembled and the disassembled versions from VTL.OLB included in case the VTL.OLB file should be lost or corrupted -- librarian.] [ File "VTL.MEM" contains full documentation for this program. ] VT100 File Listing Utility -------------------------- NEW VERSION: This is the second version of the VTL program. The new features added are listed below: o Multiple files seperated by commas can now be specified on VMS. For example: $ VTL [miller...]*.com,home:login.com,t.dat o The Find and Page commands will now search backwards through the file. The Find and Find Next commands display the direction of the search if the search string if not found. o The Page, Find, Number, and Bottom commands now display a working message every two seconds. The current record number is also displayed along with the working message to let you know how far through the file you are. o The control keys are now recognized. Control keys defined are: CTRL/U and CTRL/C deletes the command line and/or aborts a prompt, CTRL/R and CTRL/W refresh the screen, backspace backs up one line, and the delete key deletes the last character. o The return key no longer terminates the search string prompt. This was done to allow searching for carriage returns within the file. o The Print command now works on VMS. The compatibility mode print routine previously used doesn't work with RA81/RA60 disks. The print command is now performed by spawned the PRINT command to DCL. Only the logical names are copied during the spawn process. o The program no longer exits automatically at the end of file as you are scrolling through the file. You must use the EXIT/NEXT command or CTRL/Z to exit the program or display the next file. o Messages are now displayed if you try to scroll past the top or bottom of the file. o The margin indentation is now displayed when it is automatically indented to display a search string which is off the screen. The command "SHOW MARGIN" can also be used to display the indentation. o The program now presumes the terminal has the Advanced Video Option (AVO). This only affects files displayed in 132 column mode since only 14 lines can be displayed. If your terminal doesn't have the AVO option you must specify a /NOAVO switch on the command line or use the "SET NOAVO" command when you're displaying a file. o The ruler is now displayed properly if the line numbers are being displayed for each record. o The "SET LINES n" command allows a low limit of 2 lines to display. This is the smallest scrolling region that can be set on the VT100. o The "SHOW SECTION" command displays the current section size. This is the number of lines scrolled forward/backward when the keypad key 8 is pressed. Note that this size can be changed with the "SET SECTION size" command. By changing this to a large value, you can move through the file in large sections (i.e., every 100 lines). o The keyword ALL (same as WHOLE) can be used with the WRITE command to write the entire file to an output file.