text stringlengths 0 1.99k |
|---|
There are a few more that deal with the VT terminals, but as I've said |
already, there is really no need to list them. |
INTERRUPT |
========= |
The control character 'C' (CTRL/C or ^C -which it shall from now on be |
referred to as.) is used to halt the execution of the current TECO command, |
the same as it does in the BASIC monitor. If ^C is typed twice without a TECO |
command in between, the utility is aborted. (You are returned to the keyboard |
monitor whichever it was.. eg. BASIC, BASIC+2, RSX..) |
COMMAND EXECUTION |
================= |
When TECO is called, you will receive the * prompt. This is the command |
prompt. Almost all commands used by the editor are one or two characters in |
length and are typed in using a normal ASCII keyboard. To terminate a TECO |
command the <ESCAPE> sequence is used. When typed, it will echo back as a $ |
character. Two consecutive <ESCAPE>s must be entered before a command will be |
carried out. This allows you to string together a line of commands like: |
* [command1]$[command2]$[command3]$ ... $$ |
COMMANDS |
======== |
]Moving the Pointer[ |
The text pointer is used to represent where you are working, ie. if you |
were to enter a command, what part of the text it would affect. It's similar |
to the job your cursor does when writing a program on your micro. |
'J' |
The "J" command is used to move the text pointer to the beginning or end of |
the editing buffer. |
BJ Move to the beginning of the buffer. |
ZJ Move to end of the editing buffer. |
'L' |
The "L" command moves the text pointer from one line to another. Common |
forms of the command are: |
L Move to beginning of the next line. |
0L Move to front of current line. |
3L Move to the third line down from the current line. |
-1L Move back to previous line. (One above current.) |
... |
'C' |
The "C" command is used to move the text pointer past a specified number of |
characters, forward or backwards, on the current line. Common forms include: |
C Advance the pointer to the next character. |
5C Move the pointer forward five characters. |
-5C Move back five characters. |
... |
]Listing Text[ |
There is one command with a couple various forms to list the text within |
the editor; they follow. |
'T' |
The "T" is used to list text from the editing buffer. Commonly found forms |
are: |
HT Print the entire contents of the editing buffer. |
T Type text from the pointer to the end of the current line. |
0T Type text from the beginning of the line to the text pointer. |
5T Print the next five lines of text from the buffer, starting where |
the pointer is located. |
... |
]Entering Text[ |
What use is an editor if you can't add to the text? There is one command, |
insert, which allows you to write. If you are creating a file from scratch, |
you would enter the insert command each time you wanted to add a new line to |
your document. |
'I' |
The "I" command is used to insert text into the buffer. After issued, the |
text entered will be placed where the text pointer is located. The command is |
of the form: |
I <text> <ESCAPE> |
For example, to insert the sentence, "This is an example.", type: |
IThis is an example$ |
(Note: Remember that <ESCAPE> echoes back to your screen as $) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.