Trailing-Edge
-
PDP-10 Archives
-
walsh_goodStuff_1600
-
more-uns/vted.mem
There are no other files named vted.mem in the archive.
VTED
Editor For Video Terminals
Version 23, 25-OCT-76
1.0 INTRODUCTION
VTED is a text and program editor designed specifically for use with
Digital's VT05, VT06, VT50, and VT52 terminals. The motto of the
editor is:
"What You See Is What You Get"
The text you see IS the contents of the file. The cursor (a blinking
underline)
_
shows your place at any time. VTED commands let you :
1. Delete characters or lines,
2. Change your position in the file,
3. Set an automatic left margin,
4. Decide whether an up-arrow is printed before capital letters,
5. Search for the next occurrence of a string of characters,
6. Exit from VTED with options of running programs afterward,
and
7. Recognize text stored in a file.
2.0 STARTING VTED
Type VTED and press the RETURN key; the system prints the version of
VTED and the type of terminal you are using.
@VTED
VTED V23 for a VT52 terminal
Want tutorial?
VTED User's Guide Page 2
If you want a tutorial on VTED, type a Y and read the ensuing text;
otherwise, type an N.
Want tutorial? N
Name of file to be edited or created?
Type the name of your file and press the RETURN key after VTED asks
for the file name. You may type a full TOPS-20 file specification.
Name of file to be edited or created? T.FIL
VTED prints "CREATING NEW FILE" if you will be entering a new file.
In certain cases VTED will then ask the question:
Preceed all upper case letters with an up-arrow?
Type a Y to make VTED print an up-arrow before capital letters;
otherwise, type an N.
After you answer the initial questions, VTED prints a few blank lines
and then places you at the beginning of the file. If you are creating
a new file, you can start typing it at this time. If you are editing
an existing file, Press a few down-arrows to look at the beginning of
the file.
You may follow the initial command with a space and the file
specification to avoid the initial questions.
@VTED T.FIL
3.0 ENDING VTED
Type a CTRL/C to end VTED. VTED prints the message "CLOSING FILE"
followed by the name of your file. When the file is completely
closed, VTED prints the word "DONE!."
CLOSING FILE T.FIL.2
DONE!
@
4.0 IF THE SYSTEM CRASHES
If the system crashes while you are editing a file, you will lose only
a few seconds worth of editing. If you use the file with another
program, run the file through VTED first.
VTED User's Guide Page 3
@VTED T.FIL
;Type a CTRL/C
CLOSING VTED.FIL.3
DONE!
@
5.0 SUMMARY OF VTED COMMANDS
The next few paragraphs list the VTED commands according to the
function they perform.
1. Delete - the current character (CTRL/E)
- the last character (RUBOUT)
- the next word (CTRL/F)
- the last word (CTRL/D)
- ahead through the End Of the next line (LOCK/EOL, or the
middle key on the top row of a VT52, not available on
VT50's)
- back one line (CTRL/U)
2. Move - ahead one character (CTRL/A)
- back one character (CTRL/B)
- right one word (right-arrow, or CTRL/X)
- left one word (left-arrow, or CTRL/Y)
- up one line (up-arrow, or CTRL/Z)
- down one line (down-arrow, or CTRL/K)
- to the beginning of the file (HOME, ESC P on VT50's, top
left key on VT52's)
3. Set the automatic margin (CTRL/P)
When you type past the right margin, VTED automatically starts
a new line for you. If you want VTED to automatically indent
this new line, move to the column where you want the lines
indented and type a CTRL/P. VTED also indents to this
position when you press the LF key.
VTED User's Guide Page 4
4. Save the file and end VTED (CTRL/C)
Type a CTRL/C to end the editing session and save the file.
5. Change case (CTRL/V, CTRL/W)
You can use the CTRL/V and CTRL/W commands if your terminal
cannot type lowercase letters. These commands are especially
useful on VT50 terminals.
CTRL/V Type a single CTRL/V to convert the next letter you
type to lowercase. VTED ignores the CTRL/V If the
next character you type is not a letter.
Type TWO CTRL/V's in sequence to convert all
subsequent letters to lowercase.
CTRL/W Type a single CTRL/W to convert the next letter you
type to uppercase. VTED ignores the CTRL/W if the
next character you type is not a letter.
Type TWO CTRL/W's in sequence to cancel two CTRL/V's.
For example, if you wanted to type the line:
There are just a few VTED commands. Try to list them.
You would type two CTRL/V's after the "T". Then, after typing
the word "few ", type two CTRL/W's and type the word "VTED",
and then type two CTRL/V's to return to lowercase. Type a
single CTRL/W before the "T" in Try.
6. Recognize text from a file (CTRL/R)
Whenever you type a CTRL/R, VTED takes the current word and
finds out if it is a valid abbreviation of one of the words
stored in a file you associate to the logical name VTED:. If
it is a valid abbreviation, VTED fills in the rest of the
word. The file must contain the words in alphabetical order.
Words can be 39 characters long and should be entered on
separate lines. There may be up to 250 lines.
For instance if you create the file VTED-TEST.TXT and it
contains:
ABLE
BAKER
CHARLIE
You must associate the file specification with the logical
name VTED:
VTED User's Guide Page 5
@DEFINE (LOGICAL NAME) VTED: (AS) VTED-TEST.TXT
@
Then run VTED. If you type:
We sent a message to B_
!
CTRL/R
VTED will fill in the rest of the word (AKER).
We sent a message to BAKER_
7. Enter VTED command mode (two ALT's, or two ESC's)
Start VTED command mode by pressing the ESC (or ALT) key
twice. VTED prints:
Enter command!
You may type any one of the following letters:
S Searches the file for a text string. VTED prints
Search for:
Type the text you want VTED to look for and then press
the ESC (or ALT) key. VTED prints the word
"Searching...". VTED starts at your current place in
the file and looks for the text; once it is found
VTED prints a few lines and the line containing the
text, up to the text itself.
If VTED cannot find the text, it leaves you at the end
of the file. Note that you can easily move to the end
of your file by looking for some text that you know is
not in the file.
E Ends VTED and saves the file (same as CTRL/C).
C Ends VTED, saves the file, and gives your last
COMPILE, LOAD, EXECUTE, or DEBUG command.
G Ends VTED, saves the file, and runs it through RTRANS
and RUNOFF. You output file is in a file with the
same file name, but it has a file type of .MEM.
VTED User's Guide Page 6
T Changes the way you want uppercase and lowercase
letters treated. VTED prints:
Convert lower case input to upper case?
Type a Y to convert any lowercase letters you type to
uppercase letters; otherwise type an N to do no
conversion. Next VTED prints:
Preceed all upper case letters with an up-arrow?
Type a Y to have VTED print an up-arrow (^) before any
uppercase letters.
M Changes the new line feature. VTED prints:
Want automatic right margin feature enabled?
Type a Y if you want VTED to start a new line once you
type past the right margin; type an N if you want
VTED to leave the line alone (this is useful when you
are typing tables that get within a character of the
right margin). VTED then prints:
Set right margin at (default is 70):
Type the value of the right margin you want VTED to
use when deciding whether to start a new line. The
default is 70, but you may type any integer up to 71.
R Returns you to VTED input level.
A Ends the editing session without saving the file.
**** Remember that the prime feature of VTED is that if the system
crashes, the most you lose is a few characters. ****