Trailing-Edge
-
PDP-10 Archives
-
steco_19840320_1er_E35
-
10,5676/teco/manual/tecsum.rnm
There is 1 other file named tecsum.rnm in the archive. Click here to see a list.
.Chapter Command Summary
.HL1 Control A (_^^A)
.index ^Command >^Control ^A (_^^A)
The _^A (Control A) command will cause the text to be typed on the
users terminal. The text will be terminated by another _^A, it can not be
terminated by the _<Up-arrow_>A form of _^A.
.ts 20
Command format:
_^Atext_^A ; Output the text between the control As.
Example(s):
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^AText to be output_^A$$ This will cause the text "Text to be output"
to be printed on the user's terminal.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): ET
.index ^Commands ><ET
.;.hl1 Control B (_^^B)
.;.index ^Command >^Control ^B (_^^B)
.HL1 Control C (_^^C)
.index ^Command >^Control ^C (_^^C)
The Control C (_^C), in up arrow mode only, will cause TECO
to exit to command level. After TECO
has exited to command level it is possible to continue TECO by the CONTINUE
.index ^Operating ^System ^Commands ><CONTINUE
operating system command. If you are in video mode the terminal parameters
.index ^Video mode
will be restored before TECO exits. On the CONTINUE it will clear the screen
and restart the video mode processing.
It should be noted that if you do not CONTINUE the editing session all
editing will be lost for files still associated with Q-registers.
.ts20,28,32,40,48,56,64,72,80
Command format:
.b.i+5
_^C ; Stop the program
Example(s):
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^C$$ Exit to the monitor
.BREAK.I+5
&. Or @ for TOPS-20
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): EX, Control Z (_^Z)
.index ^Command >^Control ^Z (_^^Z)
.index ^Command ><EX
.HL1 Control D (_^^D)
.index ^Command >^Control ^D (_^^D)
The control D (_^D) command will move the pointer up or down the specified
number of lines as displayed on the CRT. This doesn't correspond to actual
lines if the lines wrap around on the display. This command will
take one argument, which is the number of
lines to move the cursor. A positive argument denotes movement down the
editing buffer and a negative argument denotes movement up the editing buffer.
If the argument is not present the command will default to one.
Command Format:
.b.i+5
n_^D
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*-5_^D$$ Move the cursor up five lines
.b.i-15
&*_^D Move the cursor down one line
.b.i-15
&*10_^D Move the corsor down ten lines
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): L
.index ^Command ><L
.HL1 Control E (_^^E)
.index ^Command >^Control ^E (_^^E)
This command will return the value of the form feed flag.
.ENTRY ^Flags
.index ^Flags >^Form ^Feed
The flag will be set to a minus one if the last buffer input into the
editing buffer ended on a form feed character (_^L). The flag will be
set to zero if the last buffer input into the editing buffer was not
a form feed (_^L, Control L).
.ts20,28,32,40,48,56,64,72,80
Command format:
.b.i+5
_^E ; Return the value of the form feed flag
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^E$=$$ Return the form feed flag and print it out
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): Control N (_^N)
.index ^Command >^Control ^N (_^^N)
.HL1 Control F (_^^F)
.index ^Command >^Control ^F (_^^F)
This command will return one of two parameters. If the Control F (_^F)
is given without any arguments it will return the value of the switch
register by doing a SWITCH UUO.
.entry <UUO
.index <UUO ><SWITCH
If the command is given with an argument it assumes that the argument is
a job number and it will do a TRMNO_. UUO to return the terminal UDX (Universal
.index <UUO ><TRMNO_.
.index <UDX
device index) for the job.
.ts 20
Command formats:
.b.i+5
_^F ; Return the value of the switch register
.b.i+5
n_^F ; Return the UDX for job n
Example(s):
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^F$=$$ This will return the value of the switch register
.b.i-15
&*5_^F$=$$ This will return the UDX for job 5
.lm-20.index <UDX
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): None
.HL1 Control G (_^^G)
.index ^Command >^Control ^G (_^^G)
The Control G command will return various items depending on the arguments
that are given it. If the command is given no arguments it will return the
current job number. If one argument is given then it will return the
result of a PEEK UUO using the argument as the address to peek on.
.index <UUO ><PEEK
If two arguments are given it will do a GETTAB UUO using the two arguments
.index <UUO ><GETTAB
as the table number and the item in the table.
Command format:
.ts20,28,32,40,48,56,64,72,80
.b.i+5
_^G ; Return job number
.b.i+5
n_^G ; Peek on location n
.b.i+5
n,m_^G ; Return value of GETTAB table m item n
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^G=$$ Will type out the current job number
.b.i-15
&*1000_^G=$$ Will PEEK on location 1000 and type the contents
.b.i-15
&*-1,2^G==$$ Will type the user project-programmer number in octal.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): None
.HL1 Control H (_^^H)
.index ^Command >^Control ^H (_^^H)
This command will return the time of day in jiffies. It will do a TIMER UUO.
The number of jiffies equals the ((hours * 24 + minutes) * 60 + seconds) *
the frequency of your power (either 50 or 60).
.index <UUO ><TIMER
.ts 20
Command format:
.b.i+5
_^H ; Return the time of day in jiffies.
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^^H=$$ This will type the time of day in jiffies.
.lm-20
.b2
Releated command(s): None
.HL1 Control I (_^^I)
.index ^Command >^Control ^I (_^^I)
The Control (tab) is identical to the insert command with an insert
string, except that the tab (Control I)) is treated as part of the insert
string.
.ts 20
Command format:
_<Tab_>Insert string$ ; Insert the tab and string
Example:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*######Text$$ Will insert "<tab>Text"
.lm-20
.ts 8,16,24,32,40,48,56,64,80
.b2
Releated command(s): I
.index ^Command ><I
.HL1 Control J (_^^J)
.index ^Command >^Control ^J (_^^J)
The Control J command does nothing. This is a formatting character only.
.;.Hl1 Control K (_^^K)
.;.index ^Command >^Control ^K (_^^K)
.HL1 Control L (_^^L)
.index ^Command >^Control ^L (_^^L)
The Control L command will cause a form feed to be typed on the
user's teminal if TECO is in non-video mode. If TECO is in video
.INDEX ^Video mode
mode then the screen will be refreshed.
.ts 20
Command format:
.b.i+5
_^L ; Refresh the screen or type a form feed
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*EVON$$ ; Turn of video processing
.break.i-15
&*5l_^L$$ ; Advance 5 lines and force a refresh
.break.i-15
&*EVOFF$$ ; Turn off video processing
.b.i-15
&*_^L$$ Type a form feed
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): EVREFRESH
.index ^Command ><EV ><REFRESH
.HL1 Control M (_^^M)
.index ^Command >^Control ^M (_^^M)
The Control M command does nothing. This is a formatting character only.
.HL1 Control N (_^^N)
.index ^Command >^Control ^N (_^^N)
This command will return the value of the end of file flag.
.index ^Flags >^End of file
.index ^Flags ><EOF
The flag will have the value of zero if there is no input file associated
with this text buffer or it is not at end of file. The flag will return
a minus one if we are at the end of file.
.ts20,28,32,40,48,56,64,72,80
Command format:
_^N Return the value of the end of file flag
Example:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^N=$$ Type out the value of the EOF flag
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): Control E (_^E)
.index ^Command >^Control ^E (_^^E)
.index ^Flags >^Form ^Feed
.HL1 Control O (_^^O)
.index ^Command >^Control ^O (_^^O)
The Control O (_^O) command will set the radix for the number following
the _^O to be octal. This will allow octal number processing in a command
line.
Command format:
.ts 20
.b.i+5
_^On ; Treat n as an octal number
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^O77=$$ Will print the octal number 77 as decimal
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: None
.HL1 Control P (_^^P)
.index ^Command >^Control ^P (_^^P)
The _^P command will cause a scan ahead for a given page number in the
file. When the command is given with no argument it will return the
current page number in the file. The page is considered to end with a
form feed (_^L).
This command is faster than the correct number of "P" commands, and
.index ^Command ><P
does not encounter any problems with pages in the file which contain more
characters than are normally read on a "P" command.
Command format:
.ts 20
.b.i+5
n_^P ; Position to the nth page
.b.i+5
_^P ; Return the current page number
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^P=$$ Print the current page number
.b.i-15
&*10_^P$$ Position to page number 10
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): Control Y (_^Y), P
.index ^Commands >^Control ^Y (_^^Y)
.index ^Commands ><P
.;.Hl1 Control Q (_^^Q)
.;.index ^Command >^Control ^Q (_^^Q)
.;.Hl1 Control R (_^^R)
.;.index ^Command >^Control ^R (_^^R)
.;.Hl1 Control S (_^^S)
.;.index ^Command >^Control ^S (_^^S)
.HL1 Control T (_^^T)
.index ^Command >^Control ^T (_^^T)
The command will do various terminal functions. If the command has
no colon it will input a character from the terminal and return the ASCII
value of the character. If the command has a colon modifier and the
argument is within the range of 0 to 17 it will to a TTCALL UUO.
.index <UUO ><TTCALL
If the command is colon modified and the argument has a negative value it will
do a special TECO function.
.TS 20
Command format:
.b.i+5
_^T ; Input a single character and return the ASCII value
.b.i+5
:+n_^T ; Do a TTCALL N, UUO
.b.i+5
:m,+n_^T ; Do a TTCALL N,[M]
.b.i+5
:-n_^T ; Do a special TECO function
.ts 8,16,24,32,40,48,56,64,72,80
.break
The negative functions are:
.lm+8
.b.i-8
-1 Clear echoing
.b.i-8
-2 Set echoing
.b.i-8
-3 Set packed image mode input
.b.i-8
-4 Clear packed image mode input.
.lm-8
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*:-3_^T$$ This will set packed iamge mode input
.b.i-15
&*^T=$$ This will input one character.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s):
.HL1 Control U (_^^U)
.index ^Command >^Control ^U (_^^U)
The Control U command will set the next block number to be read. This
can only be done for a file that has been ER'd.
.index ^Commands ><ER
This command takes only one argument, which is the block number to USET
to.
.ts20,28,32,40,48,56,64,72,80
Command format:
.b.i+5
n_^U ; Set the next block for input as n.
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*10_^U$$ Set the next block to be read as 10.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s):
.HL1 Control V (_^^V)
.index ^Command >^Control ^V (_^^V)
The _^V (Control V) command will clear the case conversion flag or set the
case conversion flag for lower case. To set the case conversion flag for
.index ^Flags >^Case ^Conversion
lower case the _^V command is given with no arguments. To clear the case
conversion flag a 0_^V command is given.
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^V$$ Set lower case conversion
.b.i-15
&*0_^V$$ Clear the case conversion flag
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): Control W (_^^W)
.index ^Command >^Control ^W (_^^W)
.HL1 Control W (_^^W)
.index ^Command >^Control ^W (_^^W)
The _^W (Control W) command will clear the case conversion flag or set the
case conversion flag for upper case. To set the case conversion flag for
.index ^Flags >^Case ^Conversion
upper case the _^W command is given with no arguments. To clear the case
conversion flag a 0_^W command is given.
.index ^Flags >^Case ^Conversion
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*_^W$$ Set upper case conversion
.b.i-15
&*0_^W$$ Clear the case conversion flag
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): Control V (_^^V)
.index ^Command >^Control ^V (_^^V)
.HL1 Control X (_^^X)
.index ^Command >^Control ^X (_^^X)
This command is used to determine whether the case of a letter is to
matter in a search. If an argument is given it is used to set/clear the
.index ^Flags >^Exact match
exact match flag. To set the exact match flag a non-zero argument is
given to the command. An argument of zero will clear the exact match flag.
If no argument is given the current value of the exact match
flag will be returned. If the flag is set a value of minus one will
be returned, otherwise a value of zero is returned.
Command Format:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
n_^X Set/clear the exact match flag
.index ^Flags >^Exact match
.b.i-15
_^X Return the exact match flag value
Examples:
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*5_^X$$ Set the exact match flag
.index ^Flags >^Exact match
.b.i-15
&*0_^X$$ Clear the exact match flag
.index ^Flags >^Exact match
.b.i+5
&*_^X$=$$ Print the value of the exact match flag
.lm-20
.index ^Flags >^Exact match
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): None
.HL1 Control Y (_^^Y)
.index ^Command >^Control ^Y (_^^Y)
The control-Y (_^Y) will cause TECO to read forward in the input file to a given
page, without outputting any text. This command is exactly equivalent
to the control-P (_^P)
.index Command >^Control-^P (_^^P)
command, except that no text is output.
Command format:
.ts20,28,32,40,48,56,64,72,80
.b.i+5
n_^Y ; Read forward to page "n"
.b
_^Y=$$ ; Return current page number and type it out
.b
Examples:
.lm+20
.b.i-15
10_^Y Skip to page number 10
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): Control-P (_^P), EY, Y
.index Command >^Control-^P
.index Command ><EY
.index Command ><Y
.HL1 Control Z (_^^Z)
.index ^Command >^Control ^Z (_^^Z)
The control-Z (_^Z) command is used to exit from TECO, closing all
output files, ^&without\& outputting any text.
Command format:
.ts20,28,32,40,48,56,64,72,80
.b.i+5
_^Z ; Exit from TECO
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
_^Z$$ Exit from TECO
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): EX
.index ^Command ><EX
.HL1 Space
.index ^Command >^Space
The space in TECO is treated the same as a addition operator (+).
.index ^Command >+
Command format:
.ts20,28,32,40,48,56,64,72,80
.b.i+5
n#m ; Add n to m
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*123#234$$ ; This will add 123 to 234
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): Plus (+)
.HL1 _!
.index ^Command >_!
An exclamation point (!) is used to start the beginning of a tag (label).
.index ^Tag
.index ^Label
The tag continues up to the next exclamation point. Tags are
used within TECO macros for transfers of control. Another purpose
of tags is as comments, since the text between the exclamation points
is not treated as commands.
Note that tags can contain any characters except exclamation points.
Tags can be as long as can be fit in available memory.
Command format:
.ts20,28,32,40,48,56,64,72,80
.b.i+5
!tag! ; Define a tag called "tag"
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
!This is the text of the tag!
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): O
.index ^Command ><O
.hl1 "
.index ^Command >_"
The double quote command is used for conditional execution of commands.
This command has three possible formats. One format is for checking
a single value, another for comparing one value against another and
for comparing strings against each other.
If the condition is true then the TECO commands that follow the
the condition character are executed, otherwise TECO will scan to the
matching single quote. The conditional will return a value if and only if the
character following the single quote is a double quote. This will allow
you to check to see if the condition has failed or succeeded, i.e., whether
it executed the commands before the single quote. This makes it possible
to construct an "IF...THEN...ELSE" type conditional.
.ts20,28,32,40,48,56,64,72,80
Command format(s):
.b.i+5
n"_<Char_> TECO-COMMANDS '
.b.i+5
n,m"_<Char_> TECO-COMMANDS '
.b.i+5
str,str"_<Char_> TECO-COMMANDS '
.lm+10
The following is a list of the individual commands the the function
that they perform.
.b.i-10
^&Command Purpose\&
.b2.i-10
"_< Determine if a single argument is less than zero. If two arguments
then detemine if the first is less than the second argument. If the arguments
are strings then: the shorter of the two strings is treated as if it were
padded with spaces to the same length as the longer string; the comparision
is done on a character by character basis.
.b.i-10
"_L Determine if a single argument is less than zero. If two arguments
then detemine if the first is less than the second argument. If the arguments
are strings then: the shorter of the two strings is treated as if it were
padded with spaces to the same length as the longer string; the comparision
is done on a character by character basis.
.b.i-10
"_= Determine if a single argument is equal to zero. If two arguments
then detemine if the first is equal to the second argument. If the arguments
are strings then: the shorter of the two strings is treated as if it were
padded with spaces to the same length as the longer string; the comparision
is done on a character by character basis.
.b.i-10
"_E Determine if a single argument is equal to zero. If two arguments
then detemine if the first is equal to the second argument. If the arguments
are strings then: the shorter of the two strings is treated as if it were
padded with spaces to the same length as the longer string; the comparision
is done on a character by character basis.
.b.i-10
"_N Determine if a single argument is not equal to zero. If two arguments
then detemine if the first is not equal to the second argument. If the
arguments are strings then: the shorter of the two strings is treated as if
it were padded with spaces to the same length as the longer string; the
comparision is done on a character by character basis.
.b.i-10
"_> Determine if a single argument is greater than zero. If two arguments
then detemine if the first is greater than the second argument. If the
arguments are strings then: the shorter of the two strings is treated as if
it were padded with spaces to the same length as the longer string; the
comparision is done on a character by character basis.
.b.i-10
"_G Determine if a single argument is greater than zero. If two arguments
then detemine if the first is greater than the second argument. If the
arguments are strings then: the shorter of the two strings is treated as if
it were padded with spaces to the same length as the longer string; the
comparision is done on a character by character basis.
.b.i-10
"A Alphabetic character value. This form only takes the single argument
version of the command.
.b.i-10
"V Lower case character value. This form only takes the single argument
version of the command.
.b.i-10
"W Upper case character value. This form only takes the single argument
version of the command.
.b.i-10
"C Symbolic (alphanumeric, dollar, percent or period) character value.
This form only takes the single argument version of the command.
.b.i-10
"D Digit (numeric) character value.
This form only takes the single argument version of the command.
.b.i-10
"S Successful. This form only takes the single argument version of the
command.
.b.i-10
"U Unsuccessful. This form only takes the single argument version of
the command.
.b.i-10
"T True. This form only takes the single argument version of the command.
.b.i-10
"F False. This form only takes the single argument version of the
command.
.lm-10
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
&*{A},{B}"L _^ALess than_^A'$$ This will print the text 'Less than'
because the comparision is true.
.b.i-15
&*0"G _^AWill fail_^A'$$ This condition will fail. It will not print
any text.
.b.i-15
&*_^O61"D _^AWill succeed_^A'$$ This text will succeed because 61 octal is
the character value for a 1.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _#
.index ^Command >_#
The _# operator is used to perform a logical or of the two operands.
Command format:
.ts20,28,32,40,48,56,64,72,80
.b.i+5
n_#m ; Logical or the values of n and m
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
1_#2=$$ Or 1 with 2 and type out the result (3)
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): _+, _-, *, _/
.index ^Command >_+
.index ^Command >_*
.index ^Command >_-
.index ^Command >_/
.;HL1 _$
.;index ^Command >_$
.HL1 _%
.index ^Command >_%
The _% command will add a value to a Q-register and return the new value.
Command format:
.ts20,28,32,40,48,56,64,72,80
.b.i+5
_%i ; Add one to Q-register &i and return the value
.break
n_%i ; Add &n to Q-register &i and return the value
.break
_%(q-reg) ; Add one to Q-register ^&q-reg\& and return the value
n_%(q-reg) ; Add &n to Q-register ^&q-reg\& and return the value
Examples:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
_%A=$$ Add one to Q-register A and type out the new value
.b.i-15
100_%(FOOBAR)= Add 100 to Q-register FOOBAR and type out the new value
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): None
.HL1 _&
The _& command will do a logical AND of the two operands specified.
.index ^Command >_&
Command format(s):
.b.i+5
n_&m
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
&*_^O77_&_^O7$ Will produce a value of 7, since 77 octal anded with
7 octal is 7 octal.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _'
.index ^Command >_'
This command indicates the end of a conditional portion of a TECO command.
See the description of the double quote (_") command.
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: _"
.HL1 _(
.index ^Command >_(
The open parenthesis command is the start of an expression. See
the chapter describing expressions.
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: _)
.HL1 _)
.index ^Command >_)
The close parenthesis command is the end of an expression. See the
chapter describing expressions in TECO.
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: _(
.HL1 _* (multiply operator)
.index ^Command >_*
The "*" is used as the multiplication operator for expressions.
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _+ (plus operator)
.index ^Command >_+
The plus sign is either the addition or unary plus operator in TECO.
If the plus sign is between two numeric values it is the plus operator.
If the plus sign is before a value it is considered to be the unary plus
operator.
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _,
.index ^Command >_,
The comma is used as a separator between the first and second arguments
for TECO commands which take two arguments.
.HL1 _-
.index ^Command >_-
The minus sign is the TECO subtraction or negation operator. See
the chapter on expressions.
.HL1 _.
.index ^Command >_.
The period command returns the value of the pointer for the current text
buffer.
It is often used as an argument for other commands.
.ts20,28,32,40,48,56,64,72,80
Example:
.lm+20
.b.i-15
_.,ZK$$ kill text from current position to end of buffer
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _:
.index ^Command >_:
The colon is used as a command modifier. For certain commands
it will totally change the effect of the command. For most other commands
it will suppress any error message which might be output by the command
and continue execution with the next TECO command. With this purpose
of the colon, the command being modified will always return a value. It
will either return a command dependant value (if the command would
return a value without the colon), or 0 to indicate that an error occured
or minus one to indicate that the command was successful.
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _;
.index ^Command >_;
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _<
.index ^Command >_<
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _=
.index ^Command >_=
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _>
.index ^Command >_>
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _/
.index ^Command >_/
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 _@
.index ^Command >_@
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 A
.index ^Command ><A
There are a number for forms to the A command. It is used for two basic
functions: appending text from the input file to the buffer, and returning
the ASCII value of a given character in the buffer.
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 B
.index ^Command ><B
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 C
.index ^Command ><C
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 D
.index ^Command ><D
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 E.
.index ^Command ><E.
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 E_$
.index ^Command ><E$
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 E_<
.index ^Command ><E_<
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 E_>
.index ^Command ><E_>
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 E_?
.index ^Command ><E_?
.entry <E_?
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL2 CURRENT-TEXT-BUFFER
.index <E_? ><CURRENT-TEXT-BUFFER
.HL2 DISPLAY-LINES
.index <E_? ><DISPLAY-LINES
.HL2 INPUT-FILE
.index <E_? ><INPUT-FILE
.HL2 LAST-SEARCH-STRING-LENGTH
.index <E_? ><LAST-SEARCH-STRING-LENGTH
.HL2 LEAVE-BLANK-LINE
.index <E_? ><LEAVE-BLANK-LINE
.HL2 OUTPUT-FILE
.index <E_? ><OUTPUT-FILE
.HL2 Q-DIRECTORY
.INDEX <E_? ><Q-DIRECTORY
.HL2 SCREEN-ADDRESS
.index <E_? ><SCREEN-ADDRESS
.HL2 TERMINAL-TYPE
.INDEX <E_? ><TERMINAL-TYPE
.HL1 EA
.index ^Command ><EA
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EB
.index ^Command ><EB
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EC
.index ^Command ><EC
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 ED
.index ^Command ><ED
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EE
.index ^Command ><EE
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EF
.index ^Command ><EF
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EG
.index ^Command ><EG
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EH
.index ^Command ><EH
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EI
.index ^Command ><EI
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EJ
.index ^Command ><EJ
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EK
.index ^Command ><EK
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EL
.index ^Command ><EL
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EM
.index ^Command ><EM
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EN
.index ^Command ><EN
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EO
.index ^Command ><EO
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EP
.index ^Command ><EP
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EQ
.index ^Command ><EQ
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 ER
.index ^Command ><ER
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 ES
.index ^Command ><ES
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 ET
.index ^Command ><ET
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EU
.index ^Command ><EU
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EV
.index ^Command ><EV
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL2 LINE
.INDEX ^Command ><EV ><LINE
.HL2 MODE
.INDEX ^Command ><EV ><MODE
.HL2 NODE
.INDEX ^Command ><EV ><NODE
.HL2 OFF
.INDEX ^Command ><EV ><OFF
.HL2 ON
.INDEX ^Command ><EV ><ON
.HL2 REFRESH
.INDEX ^Command ><EV ><REFRESH
.HL2 SCREEN
.INDEX ^Command ><EV ><SCREEN
.hl2 SCROLL
.index ^Command ><EV ><SCROLL
.HL2 TRMOP
.INDEX ^Command ><EV ><TRMOP
.HL2 UPDATE
.INDEX ^Command ><EV ><UPDATE
.HL2 WINDOW
.INDEX ^Command ><EV ><WINDOW
.HL1 EW
.index ^Command ><EW
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EX
.index ^Command ><EX
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EY
.index ^Command ><EY
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 EZ
.index ^Command ><EZ
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 FC
.index ^Command ><FC
The FC command is used to manipulate immediate command tables. The
FC command is used to defined, delete and modify these tables. The general
format of the command is:
.B
# FC(Q-register)key word$
For some of the key words the "(Q-register)" is optional, others it is required
and others it is not allowed. The description on the individual key words
will tell you which of the key words require what.
.HL2 PUSH
.INDEX <FC key words ><PUSH
.HL2 POP
.INDEX <FC key words ><POP
.HL2 DELETE
.INDEX <FC key words ><DELETE
.HL2 INSERT
.INDEX <FC key words ><INSERT
.HL2 REPLACE
.INDEX <FC key words ><REPLACE
.HL2 OVERLAY
.INDEX <FC key words ><OVERLAY
.HL2 REMOVE
.INDEX <FC key words ><REMOVE
.HL2 SAVE
.INDEX <FC key words ><SAVE
.HL2 RESTORE
.INDEX <FC key words ><RESTORE
.HL2 RESET
.INDEX <FC key words ><RESET
.HL2 OFF
.INDEX <FC key words ><OFF
.HL2 ON
.index <FC key words ><ON
.HL1 FD
.index ^Command ><FD
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 FI
.index ^Command ><FI
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 FK
.index ^Command ><FK
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 FN
.index ^Command ><FN
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 FS
.index ^Command ><FS
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 G
.index ^Command ><G
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 H
.index ^Command ><H
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 I
.index ^Command ><I
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 J
.index ^Command ><J
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 K
.index ^Command ><K
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 L
.index ^Command ><L
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 M
.index ^Command ><M
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 N
.index ^Command ><N
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 O
.index ^Command ><O
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 P
.index ^Command ><P
Command format(s):
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: None
.HL1 Q
.index ^Command ><Q
The Q command is used to return the value of the data in the specified
Q-register. The value can be either a string argument or a numeric.
The value in the Q-register is unchanged by the Q command.
Command format(s):
.b.i+5
QQ-reg
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
&*QA=$$ This will type the value of the item in Q-register A.
.b.i-15
&*Q(FOO),_{A}"E#...#' This will return the value in Q-register FOO and
compare the value against the string "A". This assumes the the contents
of Q-register FOO is a string, otherwise an error will occur.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: None
.HL1 R
.index ^Command ><R
The R command is used for moving the pointer in the text buffer. The
R command is the complement of the C command. That is the R command
.index ^Command ><C
takes one argument which will cause the pointer to be backed up that
many characters. If the argument is not present the default for the command
will be one.
Command format(s):
nR
.b.i+5
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
&*5R$$ This command will cause the pointer to be backed up five
characters.
.b.i-15
&*-4R$$ This command will cause the pointer to be advanced four characters.
This command is equivalent to the command 4C.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: C
.index ^Command ><C
.HL1 S
.index ^Command ><S
The S command allows the user to search for an arbitrary string that is
less than 36 characters in length. The string that is being searched for
or 'search string' can contain special characters that allow the matching
of various character groups (eg. digits). A full description of the search
faculity in TECO can be found in the chapter on SEARCHING.
This search will stop at the first occurance of the string.
The S search differs from the others in that it will stop searching for
the serch string at the end of the buffer.
Command format(s):
.b.i+5
nSsearch-string$
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
&*SFOO$$ This will search for the first occurance of the string 'FOO'.
.b.i-15
&*S.HL_^ED$$ This will search for the first occurance of the string '.HL'
followed by a digit.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related Commands: N, __, FD, FK
.HL1 T
.index ^Command ><T
The T command is used to type text on the user's terminal. This command
is normally only used in non-video mode. It can be used in video mode, but
the text will be typed only in the COMMAND-BUFFER area.
.index ^Q-register ><COMMAND-BUFFER
This command has two formats. One format is with one argument and the
other is with two arguments. The one argument version of the command specifies
the number of lines to type on the user's terminal. The one argument
version will default to a one.
The two argument version specifies the bounds for the text to be printed
from. The first argument specifies the beginning of the text to start
printing from and the second specifies the ending character address.
Command format(s):
.b.i+5
nT
.b.i+5
n,mT
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
&*0LT$$ This will cause the pointer to be positioned to the
beginning of the line and then the entire line printed out.
.b.i-15
&*HT$$ This will cause the entire contents of the editing buffer to be
printed out.
.b.i-15
&*B,.T$$ This will cause the text buffer to be printed from the start
of the buffer to the current position of point.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: None
.HL1 U
.index ^Command ><U
The U command is used for storing a value into a Q-register. The value
can either be a numeric value or a string. The value is specified as the
argument to the command as the Q-register name follows the U.
If a second argument is given it is passed through to the next command.
Command format(s):
.b.i+5
nUQ-reg$
.b.i+5
_{String_}UQ-reg$
.ts20,28,32,40,48,56,64,72,80
Examples:
.lm+20
.b.i-15
&*5UA$$ This will store the value 5 into Q-register A.
.b.i-15
&*{Text}U(ONE) This will store the text "Text" into the Q-register ONE.
.b.i-15
&*5,10UAUB This will store the value 10 into Q-register A and the
value 5 into Q-register B.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: X, _[
.index ^Command ><X
.index ^Command >_[
.HL1 V
.index ^Command ><V
This command will do two different things. If video mode editing is
on the command will cause the text on the screen to be moved up or
down. If video mode is off then it will two a specific number of lines
before and after the pointer. The format of the command is the same
for both editing modes.
In video mode this command will 'glitch' the screen up or down a specific
number of lines, or cause a character address to be frozen to a specific
line on the screen. To cause the text on the screen to be moved up or
down a single argument is given to the command which specifies the number
of lines to move the text. If the argument is positive then the text will
be moved toward the top of the screen and new text supplied from the bottom.
If the argument is negative then the text will be moved to the bottom of
the screen and new text filled in on the top of the screen.
Giving two arguments to this command will cause the specified character
address to be frozen to the specified line. The first argument is the line
number and the second argument is the character address. The line number is
relative to the section on the screen and starts with line zero.
If the V command is used in non-video mode then a single argument
is valid. The single argument is a numeric which specifies the number
of lines to view around point. This command is similar to the command
"-nT+nT" where "n" is the argument given to the V command.
Command format(s):
.ts20,28,32,40,48,56,64,72,80
.b.i+5
nV Glitch the screen or view around point.
.b.i+5
n,mV Freeze a point on the screen.
Examples (Video mode):
.lm+20
.b.i-15
&*5V$$ This will cause the screen to be moved up five lines.
.b.i-15
&*-3V$$ This will cause the screen to be moved down three
lines. New text will be filled in from top of the screen.
&*5,ZV$$ This will cause the end of the ending buffer to be
frozen to the sixth line of the section.
.lm-20
Examples (Non-video mode):
.lm+20
.b.i-15
&*8V$$ This will cause the eight lines around point to be viewed.
This command is equivalent to the command "-8T+8T".
.index ^Command ><T
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: T
.index ^Command ><T
.HL1 W
.index ^Command ><W
The W command will cause the text in the named Q-register to be executed.
.index ^Q-register >^Execution
This command is similar to the M command, except that the W command will
.index ^Command ><M
not continue executing commands after the W command when the Q-register
finishes execution if the W was executed from a Q-register.
The W command can be thought of as GOTO the
specified Q-register and start execution, while the M command can be
thought of as a procedure call (eg. FORTRAN CALL statement).
Any arguments that are present before the command are passed to the
TECO commands executed in the Q-register.
Command format(s):
.ts20,28,32,40,48,56,64,72,80
.b.i+5
WQ-reg
Examples:
.lm+20
.b.i-15
&*WA$$ This will cause the A Q-register to be executed.
.b.i-15
&*W(AUTO)$$ This will cause the Q-register AUTO to be executed.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: M
.index ^Command ><M
.HL1 X
.index ^Command ><X
The X command is used for placing text into Q-registers. There are
two forms of the X command. The first form of the command is with either
no arguments or one argument. If no arguments are given it is assumed that
one argument is given with a value of one. The single argument form specifies
the number of lines to be placed into the specified Q-register.
The other form of the command specifies the character address bounds to
be used to specify the first to the last charcter to be placed into the
Q-register.
Command formats:
.b.i+5
n,mX_$_$
.b.i+5
nX_$_$
The first format specifies the character bounds to be placed into the
Q-register, while the second specifies the number of lines to be placed
into the Q-register.
.index ^Q-register >Inserting text
Examples:
.ts 20
.lm+20
.b.i-15
&*3XA$$ This will place the current and next two lines into the Q-register
A.
.b.i-15
&*B,.X(TEXT) This will place the text from the start of the buffer to
the current position into the Q-register named TEXT.
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: None
.HL1 Y
.index ^Command ><Y
The Y command is legal only from macros. The Y command is the same as
the EY command.
.index ^Command ><EY
The use of the Y command should be avoided whenever possible.
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related commands: EY
.index ^Command ><EY
.HL1 Z
.index ^Command ><Z
The Z command will return the value of the last character position in the
current text buffer. This allows the user to use this symbol for
the end of the buffer instead of having to determine what it is before
using the value. This could be used in the case of deleting to the end of
the buffer, typing from the current position to the end, moving to the
end of the buffer or insert text into a Q-register where the end of the
buffer is one of the bounds.
.ts 20
Command format:
Z
Example:
.lm+20
.ts20,28,32,40,48,56,64,72,80
.b.i-15
&*ZJ$$ This will cause the character address of the last character to be
given to the J command. This has the effect of causing the pointer to
be positioned after the last character in the buffer.
.b
&*.,ZK$$ Delete from the current position to the end of the buffer
.lm-20
.ts 8,16,24,32,40,48,56,64,72,80
.b2
Related command(s): B, _. and Z
.index ^Commands ><B
.index ^Commands ><_.
.index ^Commands ><Z