Skip to content

Latest commit

 

History

History
259 lines (258 loc) · 15.2 KB

index.md

File metadata and controls

259 lines (258 loc) · 15.2 KB

TECO-64 - Index of Commands and Special Characters

Character(s) Description
NUL Discarded on input; ignored in command
^A Output message to terminal
^B Current date
^C Stop execution
^D Set radix to decimal
^E Form feed flag
^E<n> (Match char) Match ASCII code n
^EA (Match char) Match alphabetics
^EB (Match char) Match separator character
^EC (Match char) Match symbol constituent
^ED (Match char) Match digit character
^EGq (Match char) Match contents of Q-register q
^EL (Match char) Match line terminators
^EQq (String char) Use contents of Q-register q
^ER (Match char) Match alphanumerics
^ES (Match char) Match non-null space/tab
^EUq (String char) Use ASCII code in Q-register q
^EV (Match char) Match lower case alphabetic
^EW (Match char) Match upper case alphabetic
^EX (Match char) Match any character
^F (Reserved for future use)
^G^G Delete entire command string
^G<SPACE> Retype current command line
^G* Retype current command input
^H Current time of day
BS Back up and type one line
TAB Insert tab and text
LF Advance and type one line
LF Line terminator
<CTRL/K> Reset display colors
VT Line terminator
FF Page terminator
CR End input line
^N End of file flag
^Nx (Match char.) Match all but x
^O Set radix to octal
^P Current page number
^Q Convert line argument to character argument
^Qx Use x literally in search string
^R Value of current radix
n^R Set radix to n
^Rx Use x literally in search string
^S -(length) of last referenced string
^S (Match char.) Match separator character
^T ASCII value of next input character
n^T Type ASCII character of value n
n:^T Output binary byte of value n
^U Kill command line
^Uq Put string into Q-register q
:^Uq Append string to Q-register q
n^Uq Put ASCII char. n to Q-register q
:n^Uq Append ASCII char. n to Q-register q
^V Enable lower case conversion
^Vx (String char.) Force x to lower case
<CTRL/W> Repaint display
^W Enable upper case conversion
^Wx (String char.) Force x to upper case
^X Search mode flag
^X (Match char) Match any character
^Y Equivalent to ".+^S,."
^Z Size of text in all Q-registers
ESC String and command terminator
^[ String and command terminator
^\ Causes TECO to immediately abort. Use with caution. No recovery is possible.
^] Repeats last command
^^x ASCII value of x
^_ One's complement (logical NOT)
SPACE Ignored in commands
!tag! Define label
! Logical NOT
" Start conditional
n"< Test for less than zero
n"= Test for equal to zero
n"> Test for greater than zero
n"A Test for alphabetic
n"C Test for symbol constituent
n"D Test for numeric
n"E Test for equal to zero
n"F Test for false
n"G Test for greater than zero
n"L Test for less than zero
n"N Test for not equal to zero
n"R Test for alphanumeric
n"S Test for successful
n"T Test for true
n"U Test for unsuccessful
n"V Test for lower case
n"W Test for upper case
# Logical OR
$ Not a TECO command.
n%q Add n to Q-register q and return result
n:%q Add n to Q-register q, but do not return result
& Logical AND
' End conditional
( Expression grouping
) Expression grouping
* Multiplication
*q Save last command in Q-register q
+ Addition
, Argument separator
- Subtraction or negation
. Current pointer position
/ Division yielding quotient
/ Type detailed explanation of error
// Division yielding remainder
0-9 Digit
: Modify next command
; Exit iteration on search failure
n; Exit iteration if n is positive
:; Exit iteration on search success
n:; Exit iteration if n is negative
n< Iterate n times
< Relational comparison for less than
<= Relational comparison for less than or equal
<< Arithmetic left shift
<> Relational comparison for inequality
= Type in decimal
== Type in octal
== Relational comparison for equality
=== Type in hexadecimal
:= Type in decimal, no CR/LF
:== Type in octal, no CR/LF
:=== Type in hexadecimal, no CR/LF
> End loop
> Relational comparison for greater than
<= Relational comparison for greater than or equal
>> Arithmetic right shift
? Toggle trace mode
? Type out command string in error
@ Modify next text argument
A Append to buffer
nA ASCII value of nth character in buffer
n:A Append n lines to buffer
B Beginning of buffer
nC Advance n characters
nD Delete n characters
m,nD Delete between positions m and n
E% Write file from Q-register
E1 Extended features flag
E2 Command restrictions flag
E3 File operations flag
E4 Display mode flag
EA Switch to secondary output stream
EB Edit backup
EC Close input and output files
nEC Set memory size
ED Edit level flag
EE Alternate command delimiter
EF Close output file
EG Exit and Go
:EG Read environment variables
EH Edit help flag
EI Execute indirect command file
EJ Get environment information
EK Kill output file
EL Open/close log file
EMq Type macro in Q-register q
EN Find next file
EO TECO version number
EP Switch to secondary input stream
EQ Read file to Q-register
ER Edit read
ER Switch to primary input stream
ES Edit search flag
ET Terminal flag
EU Upper/lower case flag
EV Edit verify flag
EW Edit write
EW Switch to primary output stream
EX Exit TECO
EY Yank w/o yank protection
EZ Execute system command
E_ Search w/o yank protection
F' Flow to end of conditional
F0 Edit buffer position at start of window
F1 Set command window colors
F2 Set edit window colors
F3 Set status window colors
F4 Set separator line colors
F< Flow to start of iteration
F> Flow to end of iteration
m,nFB Search between positions m and n
nFB Search, bounded by n lines
m,nFC Search and replace between m and n
nFC Search and replace over n lines
nFD Search and delete string
FF (Reserved for future use)
FH Equivalent to "F0,FZ"
FK Search and delete intervening text
FL Convert to lower case
FM Map key to command string
nFN Global string replace
FQq Map key to Q-register q
FR` Delete string from last insert or search
FRtext` Replace string from last insert or search
nFS Local string replace
FU Convert to upper case
FZ Edit buffer position at end of window
nF_ Destructive search and replace
F| Flow to ELSE part of conditional
Gq Copy string from Q-register q into buffer
G* Copy last filespec string into buffer
G_ Copy last search string into buffer
:Gq Type Q-register q
:G* Type last filespec string
:G_ Type last search string
H Equivalent to "B,Z"
I Insert text
nI Insert character
nJ Move pointer
nK Kill n lines
m,nK Delete between m and n
nL Advance n lines
n:L Count of buffer lines
Mq Returned value from macro
Mq Execute string in Q-register q
nN Global search
O Go to label
nO Computed goto
nP Advance or back up n pages
m,nP Write out chars from positions m to n
nPW Write buffer n times
m,nPW Write out chars from positions m to n
Qq Number in Q-register q
:Qq Size of text in Q-register q
nR Back up n characters
nS Local search
m,nS Search for nth occurrence within m characters
::S Compare string
nT Type n lines
m,nT Type from positions m to n
nUq Put number n into Q-register q
nV Type n current lines
m,nV Type lines before and after current line
W Enable or disable display mode
n:W Read display mode characteristics
m,n:W Set display mode characteristics
nXq Put n lines into Q-register q
m,nXq Put characters m to n into Q-register q
n:Xq Append n lines to Q-register q
m,n:Xq Append characters m to n into Q-register q
Y Read into buffer
Z End of buffer value
[q Push Q-register q onto stack
\ Value of digit string in buffer
n\ Insert digit string in buffer
]q Pop from stack into Q-register q
n_ Global search without output
` Not a TECO command
a-z Equivalent to upper case A-Z commands
{ Alternative text argument delimiter
| Start ELSE part of conditional
} Alternative text argument delimiter
~ Logical XOR
DEL Delete last character typed