Digital PDFs
Documents
Guest
Register
Log In
AV-D530A-TK
2000
24 pages
Original
9.3MB
view
download
OCR Version
9.4MB
view
download
Document:
TECO Pocket Guide
Order Number:
AV-D530A-TK
Revision:
0
Pages:
24
Original Filename:
OCR Text
NOTATION TECO-8 TECO-10 TECO-11 RSX-11 refers to OS/8 TECO V5 refersto TOPS-10 TECO V24 refersto TECO-11 V29 encompasses RSX-11/D, RSX-11/M, IAS and VAX represents an ESCAPE (ASCII code 33, $ which is traditionally referred to as @ ALTMODE) represents a single control character (CONTROL/x) X represents either or the two-character sequence CARET-x (TM x) n represents a numeric value specified by a digit string or TECO command that returns avalue Color Coding black represents features of all DEC TECO's [exceptions noted in brackets] red represents features of TECO-10 only blue represents features of TECO-11 only Order No. AV-D530A-TK Copyright @ 1978 by Digital Equipment Corporation INVOKING TECO Effective Initial Command 0S/8 R TECO RUN dev: TECO MAKE filespec TECO filespec TECO filespec1< TECO MUNG filespec EWfilespec$ EBfilespec$Y filespec2 ERfilespec2$EWfilespect1$Y MUNG filespec,text [note 1] ERfilespec$YHXYHKMY ERfilespec$YHXYHKItext$MY RT-11 R TECO RUN dev:TECO EDIT/TECO filespec EBfilespec$Y [note 2] Switches on EDIT Command: /CREATE /INSPECT /OUTPUT :filespec2 /EXECUTE /EXECUTE:text EWfilespec$ ERfilespec$Y ERfilespecSEWTilespec2$ ERfilespec$YHXZHKMZ ERfilespec$YHXZHK Itext$MZ RSTS/E TECO RUN $TECO RUN dev: TECO|[p,pn] TECO filespec TECO filespec1=filespec2 TECO/INSPECTfilespec MAKE filespec MUNG filespec MUNG filespec,text [note 1] EBfilespec$Y ERfilespec2$EWfilespec1$Y ERfilespec$Y EWfilespec$ Elfilespec$ ltext$E|filespec$ RSX-11 TECO TECO filespec EBfilespec$Y MAKE filespec MUNG filespec MUNG filespec,text EWfilespec$ Elfilespec$ ltext$EIfilespec$ TECO filespec1=filespec2 ERfilespec2$EWfilespec1$Y TOPS-10 R TECO RUN dev:TECO [p,pn] MAKE filespec TECO filespec TECO filespec1=filespec2 MAKE filespec1=filespec2 TECO MAKE [note 3] EWfilespec$ EBfilespec$Y EBfilespec1$Y ERfilespec2$EWfilespec1$Y [note 1] [note 4] IMMEDIATE MODE EDITING COMMANDS Executes command string $$ <rubout> De.letes last character in command string @ Exits from TECO [note 5] @ Deletes current line in command string @@ Deletes the entire command string @ <space> Types current line of command string @ [not in TECO-10] Types entire command string * IMMEDIATE MODE AIDS You must type these immediate mode commands as the first command after TECO's prompt. ? Types command string up to command that caused / Types detailed explanation of error *q Stores previous command string in Q-register q an error [note 6] [note 7] [not in TECO-8] EXECUTION-TIME COMMANDS @ Stops command execution [note 8] Turns off type out; nullified by a second @ Freezes terminal output; nullified by a [note 9] FILE SPECIFICATION COMMANDS ERfilespec$ Opens file for input EWfilespec$ Opens file for output [note 10] EBfilespec$ Opens file for input and output with backup protection EZfilespec$ Zeros (non-disk) directory and opens file for output nEM Positions Magtape: ENfilespec$ EM Rewinds 1TEM Rewinds 3EM Writes EOF 6EM 7EM 8EM Skips one record Backspaces one record Skipsto EOT 9EM Rewinds and unloads 11TEM Writes 3 inches blank tape 14EM Advances one file 15EM Backspaces one file Sets up wildcard file specification [notin RT-11] EN$ Gets next wildcard match into filespec buffer. :ERfilespec$ [notin RT-11] Same as ERfilespec$ but returns value: -1 if file found, O if file not found :EBfilespec$ Same as EBfilespec$ but returns value: -1if file found, O if file not found ‘ENS$ Same as EN$ but returns value: - 1 if next file found, O if no more files match FILE TERMINATION COMMANDS AND EXIT EF Closes the output file EC Moves the remainder of the input file to the output file, then closes the out- put file EX [not in TECO-10] Same as EC but exits from TECO EK Kills the output file [not in TECO-10] EG$ Same as EX but re-executes the last compile-class command [note 11] EGcommand$ Same as EX but executes the operating system command specified [not in TECO-10] 1C Exits from TECO [note 12] tZ Closes output file and exits from TECO , [not in TECO-10] AUXILIARY FILE SUPPORT [notin RT-11] (See illustration below) EP Switches to secondary input stream ER$ Switches to primary input stream EA Switches to secondary output stream EW$ Elfilespec$ Switches to primary output stream Opens file for command input; effective at end of current command string EI$ Switches command input to terminal and discards remainder of command file after current command string FILE TERMINAL 3 bt Elfilespec$ + EI$ PRIMARY ] ERS COMMANDS )——e] INPUT ] SECONDARY EP EWS PRIMARY = OUTPUT [% TECO-11 EA (. SEcONDARY FILE SPECIFICATIONS [note 3] 0S/8 Output Input System dev:name.ex dev:name.ex TOPS-10 dev:name.ext[p,pn] RT-11 dev:name.ext RSTS/E dev:[p,pn] name.ext RSX-11 dev: [p,pn] name.ext;ver dev:name.ext[p,pn] <prot> dev:name.ext[len] dev: [p,pn] name.ext<prot> dev:[p,pn] name.ext;ver FILE SPECIFICATION SWITCHES TOPS-10 /GENLSN Generates line sequence /SUPLSN Suppresses line sequence numbers numbers RSTS/E Uses nonstandard open /MODE:n mode /CLUSTERSIZE:n Specifies output file cluster size Edits a BASIC-PLUS file Edits a BASIC-PLUS-2 file /B+ /B2 (same as /72) Handles BASIC-PLUS /n RSX-11 continuation character (&) in column n Rewinds before opening file [magtape only] Implied carriage control /RW /CR /-CR No (internal) carriage control FORTRAN carriage con- /FT trol . INVOCATION SWITCHES RSTS/E /SIZE:n /SIZE:+n RSX-11 /INC=n starts with nK word editing area starts with extra nK words of editing area starts with extra nK words of editing area PAGE MANIPULATION COMMANDS Appends next page of input file to text buffer Appends next line of input file to text buffer Same as HKA Outputs current page and appends a form feed Same as n<PW> m,nPW Outputs the characters between text buffer pointer positions m and n (without a form feed) Outputs the text buffer, clears the buffer, and reads the next page of the input file into the buffer; a form feed is appended to the output file if the last read was terminated with a form feed nP m,nP Same as n<P> Same as m,nPW BUFFER POINTER POSITIONING COMMANDS nJ Moves pointer to immediately following the nth character in the text buffer 0J Moves pointer to beginning of buffer J Same as 0J nC -C Advances pointer n positions Same as 1C Sameas-1C nR Backs up pointer n positions (same as - nC) L R Same as 1R -R Same as - 1R nL Moves pointer to beginning of nth line from current pointer position L Same as 1L -L Sameas-1L INSERTION COMMANDS The pointer is positioned after the inserted text. ltext$ Inserts the text specified nl$ Inserts character whose ASCII code is n <tab>text$ Inserts specified text preceded by a tab T text$ Inserts specified text preceded by a tab n\ Inserts current radix representation of n in text buffer (signed if current radix is deci- FRtext$ mal, unsigned if octal) [note 13] Same as 1SDltext$ ARITHMETIC OPERATORS Operators are evaluated from left to right. +n Same as n -n Negative of n m-+n Addition [note 14] m-n m#*n m/n Subtraction Multiplication m&n Bitwise logical AND m#n Bitwise logical OR (m) nt_ Performs enclosed operations first One’s complement of n Division, remainder discarded ARITHMETIC PRECISION " TECO-8 TECO-11 TECO-10 1-22<n<2!?_1 -25<n<2ts 1 -235<n<2%5_1 TYPE—-OUT COMMANDS nT Types out all the text from the current pointer position to the beginning of the nth line from the current pointer position T Sameas 1T -T Sameas-1T m,nT Types the characters between pointer nV V positions m and n Same as (1-n)TnT Same as OTT n= Types value of n in decimal (signed) T Atext @ Types the text specified followed by n== <CR> <LF> Types value of n in octal [note 15] n:= Types value of n in decimal (signed) n:== Types value of n in octal (unsigned) followed by <CR> < LF> [not in TECO-10] [not in TECO-10] ntT Types out the character whose ASCI| L code is n Types a form feed [not in TECO-10] [not in TECO-8] DELETION COMMANDS nD Deletes n characters following the current pointer position -nD D Deletes n characters preceding the current pointer position Same as 1D -D Same as -D m,nD Same as m,nK nK Deletes all characters in the text buffer from the current pointer position to the beginning of the nth line from the current pointer position. K Same as 1K -K Same as - 1K m,nK Deletes all characters in the text buffer between pointer positions m and n; the pointer moves to position m BUFFER POSITIONS B Z First pointer position; same as 0 Last pointer position; equal to number of characters in text buffer Current pointer position; equal to number of characters to the left of the pointer m,n (m+1)st through nth characters in the text buffer H Y Same as B, Z Same as .+1S,. SEARCH COMMANDS Searches that fail leave the pointer at position 0 Successful searches leave pointer after text found nStext$ Searches for the nth occurrence of the specified text (following the pointer), but does not go beyond the end of the current text buffer Stext$ -nStext$ Same as 1Stext$ Same as nStext$ but the search proceeds backwards nNtext$ Same as nStext$, except that if the text is not found on the current page, pages are input and output until it is found Ntext$ n_ text$ Same as TNtext$ Same as nNtext$, except that it does input only, no output _text$ Sameas 1_text$ nFStext1$text2$ Executes the nStext1$ command, then deletes text1 and replaces it with text2 FStext1$text2$ Same as 1FStext1$text2$ nFNtext1$text2$ Executes the nNtext1$ command, then deletes text1 and replaces it with text2 FNtext1$text2$ Same as 1FNtext1$text2$ nF_text1$text2$ Executes the n__text1$ command, then deletes text1 and replaces it with text2 F_text1$text2$ Same as 1F_text1$text2$ BOUNDED SEARCH Bounded searches that fail leave the pointer unchanged m,nStext$ Same as nStext$, but the search does not continue across more than |m|-1 characters. 0,nStext$ Same as nStext$, but the pointer position m,Stext$ m,- Stext$ ::Stext$ Same as m,1Stext$ Same as m,- 1Stext$ Same as 1,1:Stext$ (anchored search) remains unchanged on search string failure COLON MODIFIED SEARCHES Any search commmand preceded by a colon (:) modifier returns a value as follows: -1 If the search succeeds 0 If the search fails NUMERIC QUANTITIES 0A ASCII code for character following pointer nA ASCII code for the (.+n+1)th character in the buffer [note 16] [not in TECO-10] Equal to the value of the digit string (if any) that follows the pointer in the text buffer (interpreted in the current radix [note 13], and optionally signed); pointer is positioned after the digit string. Equal to O if no digit string is present. B Operating-system dependent encoding of current date RT-11: (((month*32)+day)*32)+year—1972 RSTS/E: ((year—1970)*1000)+day within year RSX-11: ((year—1900)*16+month)*32+day TF Value of console switch register TH Operating system dependent encoding of time of day 0S/8: 0 RT-11: O RSTS/E: minutes until midnight RSX-11: (seconds since midnight)/2 TOPS-10: 60ths of a second since midnight :Qq ntQ Number of characters stored in Q-register g Number of characters between the buffer pointer and the nth line separator from the current pointer position tQ 1S Same as 11Q Negative of length of last insert, string found, or string inserted with G command, whichever occurred last 1T ASCII code for the next character typed at the terminal X 1 ASCII code for the character (x) specified ITERATION AND FLOW CONTROL n<commands> Performs the enclosed command string n times; skips the commands if n<0 <commands> Performs the enclosed command string n; an indefinite number of times If n>0, jumps out of the current iteration field Jumps out of the current iteration field ; if the last search executed failed [note 17] Defines a position in the command string with the name, tag Itag! Otag$ @ @ Jumps to the position defined by !tag!; must be in same macro level [note 18] MODIFIER Modifies the next command that takes a text argument to use the delimiter form; text is surrounded by a delimiter (shown here as /) that cannot appear inside the text The format of the commands becomes: @nS/text/ @nN/text/ @n_ /text/ @nFS/text1/text2/ @nFN/text1/text2/ @l /text/ @nl// @ER/filespec/ @EW/filespec/ @EB/filespec/ @t Uq/text/ @EG/text/ @EG// @EN/filespec/ @E|/filespec/ @FR/text/ @t A/text/ @!/tag/ @0O/tag/ @ntUq// [not in TECO-10] [ not in TECO-10] [ not in TECO-10] [not in TECO-10] [ not in TECO-10] [ not in TECO-10] CONDITIONAL COMMANDS n’’ Acommands’ n‘’Ccommands’ Executes the commands if n is the ASCII code for an alphabetic character (A-Z or a-z) [not in TECO-8] Executes the commands if n is the ASCII code for a symbol constituent | A-Z, a-z, 0-9 A-Z,az 09,.,9% A-Z,az 09,.,%,% Executes the commands if n is the ASCII code for a digit (0-9) [not in TECO-8] Executes the commands if n=0 Executes the commands if n represents FALSE; same as n’’Ecommands’ Executes the commands if n>0 Executes the commands if n<0 Executes the commands if n#0 Executes the commands if n is the ASCII code for an alphanumeric TECO-8: TECO-11: TECO-10: n’‘Dcommands’ n’'Ecommands’ n’'Fcommands’ n’’Gcommands’ n'’Lcommands’ n‘’Ncommands’ n‘’Rcommands’ (A-Z, a-z, 0-9) [not in TECO-10] Executes the commands if n repre- n’’'Scommands’ sents SUCCESS; same as n‘’Lcommands’ Executes the commands if n repre- n’Tcommands’ sents TRUE; same as n’Lcommands’ Executes the commands if n repre- n’’Ucommands’ sents UNSUCCESSFUL; same as n‘'Ecommands’ Executes the commands if n is the n’’Vcommands’ ASCIl code for a lower case alpha- betic (a-z) n’'Wcommands’ n’’<commands’ n''>commands’ [not in TECO-8] Executes the commands if n is the ASCII code for an upper case alphabetic (A-Z) [not in TECO-8] Same as n“’Lcommands’ [not in TECO-10] Same as n“’Gcommands’ [not in TECO-10] Q—REGISTER LOADING [note 19] nUq Stores integer n in Q register q %q Adds 1 to the number in Q-register gq and returns this value Adds n to the number in Q-register g and returns this value [note 20] [not in TECO-10] n%q nXq -:Xq Stores, in Q-register g, all characters from the current pointer position to the beginning of the nth line from the current pointer position Stores, in Q-register q, all characters between text buffer pointer positions m and n Same as 1Xqg Same as - 1Xq Same as nXqg, but appends to Q-register Same as m,nXq, but appends to Q-register Same as 1:Xq Same as - 1: Xq tUqgtext$ Stores the specified text in Q-register q [not in TECO-10] :+ Uqgtext$ Same as t Uqgtext$, but appends to ntUq$ n:tUq$ Q-register Stores character whose ASCII code is n in Q-register q Appends character whose ASCII code is n to contents of Q-register q lqg Pops from the Q-register push-down list into Q-register q [note 21] [not in TECO-8] :1q Same as ] g, but returns value (-1 if successful, 0 if push down stack was L empty) Q—REGISTER RETRIEVAL [note 19] Qq Gq :Gq Mq nMg Returns the numeric value stored in Q-register q Places the text in Q-register g into the text buffer before the current pointer position Types the contents of the text stored in Q-register g on the terminal [not in TECO-10] Executes the text in Q-register g as a command string Executes the text in Q-register g as a command string and uses n as a numeric argument for the first command executed 9 m,nMg Executes the text in Q-register q as a command string and uses m,n as a pair of numeric arguments for the first command executed [q Pushes the contents of Q-register g onto G* the Q-register push-down list [note 21] Places the text from the filespec buffer into the text buffer before the current pointer position G_ i Types the contents of the filespec buffer on the terminal Places the text from the search string buffer into the text buffer before the current pointer position Types the contents of the search string buffer on the terminal RETRIEVING MODE CONTROL FLAGS Name Form feed flag End-of-file flag Search Mode Flag X ED Initial Value 0 0 0 Edit level flag EH Help level flag EO Version number flag ES Search verification flag ET Terminal mode flag TECO-10: TECO-8: e Flag = N 0 0 1 2 0 2 5 29 [RT-11] [RSTS/E] [RSX-11] [TECO-10] [other systems] [TECO-10] [TECO-8] [TECO-11] 0O 0 0 ifSET TTY NOSCOPE 2 iFSET TTY SCOPE TECO-11: Bit Value 1 2 4 Initial Value 0 0O if terminal is a scope if terminal is not a scope 1 if terminal has lower case 1 input O 8 0 16 0 a2 0 64 0 128 if terminal does not have lower case input 1 before TECQO's prompt 0 after TECO's prompt 256 0 512 1 0 1024 T :G¥ 1 0 if terminal is VT52 and VT52 support is available if VT52 support is not available if VT11 is present and VT11 support is available if VT11 support is not available EU Upper/lower case flag -1 if terminal supports lower case O if terminal does not support lower case [note 22] EV Edit verify flag 0 SETTING MODE CONTROL FLAGS Command Bit Value nED 1 Meaning 0 T in search arguments means next character is CTRL 1 T in search arguments means 1 2 0 disables Y or ___ if data would be lost nEH 1,2 1 no Yank protection O sameas? 1 types 3-letter error code 2 types error code and short 3 types error code and long 1 Simulates ? after error only message message 4 nEQ Allows EO version n features to work m*256+nES if n=0, nothing is typed out after searches; if n=-1, an effective mV command is executed when a search is completed. If n is between 1 and 31, < LF> represents the pointer; if n is between 32 and 126, it is ASCII code for character to represent the pointer. [TECO-10 ignores m]. If m< 0, m is treated as 1. nET Sets terminal characteristics [note 23] Bit Value Meaning if 1 1 type-out is in image mode 2 terminal is a scope 4 reads lower case 8 1T reads with no echo 16 cancels @ on type-out 32 1T reads with no wait 64 128 detached flag aborts on error 256 truncates output to terminal width terminal is VT52 and VT52 support (1T returns - 1 if no input) 512 is available 1024 32768 nEU VT11 is present and VT11 support is available Traps @’s (Reset if @ typed) O flags lower case characters >0 flags upper case characters <0 no case flagging on output [note 22] 11 nEV Same as nES but lines to be viewed appear before TECQO'’s prompt 0 —_— ntX either case matches in searches exact case matches required [not in TECO-8] RADIX CONTROL [note 13] 10 D Switches to octal radix [note 24] Switches to decimal radix [not in TECO-10] TRACE CONTROL ? Enters trace mode; nullified by a 2nd ? VT52 SCOPE CONTROL -1W OW Updates window into text buffer Resets cursor line to default position nW 1 If n>0, sets cursor to linen If n<-1, “forgets’ top In|-1 lines of screen VR12, VT11, or VS60 SCOPE CONTROL [not in TECO-10] w nW {s Updates window into text buffer Sets window display to n lines on either side of pointer CASE CONTROL tV Enters translate to lower case mode W Enters translate to upper case mode MATCH CONTROL CONSTRUCTS (Match control constructs are valid inside search strings) @ @ @ Accepts any character Accepts any non-alphanumeric separator [note 25] Accepts any character except a char- acter matched by the following character (or match control construct) @A Accepts any alphabetic character @C Accepts any symbol constituent @D Accepts any digit (0-9) @Gq Accepts any character in Q-register q @L @R @S @V (A-Z or a-z) TECO-11: A-Z,a-z,09,.,9% [not in TECO-8] Accepts any line terminator (<LF>, <VT>,<FF>) [notin TECO-8] Accepts any alphanumeric (A-Z, 0-9) Accepts any non-null string of spaces and/or tabs [not in TECO-8] Accepts any lower case alphabetic (a-z) [not in TECO-8] 12 . { P P @W Accepts any upper case alphabetic (A-Z) @X [not in TECO-8] Same as @ @ <nnn> Accepts the character whose ASCI| code (in octal) is nnn @ [abe....] Accepts exclusive OR of the characters or match control constructs specified SEARCH STRING BUILDING CHARACTERS The following characters have special meaning when used ® ECENORONEOIONONENOI® inside a search string. Uses the next character literally [note 26] Converts next character, if alphabetic, to lower case [not in TECO-8] Converts next character, if alphabetic, to upper case [not in TECO-8] Converts next character (if itis@, [,\, ], 1, or _) to lower case Uses the next character literally Converts all following alphabetic characters to lower case Converts all following alphabetic characters to upper case : Treats all succeeding control characters except and @ as text; nullified by a second Accepts either case for all succeeding alphabetic characters; nullified by a second If ED&1=0, converts the following alphabetic character to the corresponding control character @ Qq @ Q* @ Q_ Uses the string stored in Q-register g at this position Uses the string stored in the filespec buffer at this position Uses the string stored in the search string buffer at this position INSERT STRING BUILDING CHARACTERS The following characters have special meaning when used inside insert strings on TECO-10. They have the same meaning that they have when used inside search strings. @) (W) O W - D, - © 13 ERROR MESSAGES Explanation Code ?ARG Improper arguments ?BAK Cannot delete old backup file ?BNI > not in an iteration ?COR Same as ?MEM ?CCL CCL not found or EG argument too big Contradictory output switches Cannot pop Q-register Invalid device Directory 1/O error ?COS ?CPQ ?DEV ?’DIO ?’DTB Delete too big ?EBD Bad EB device ?EBF Bad EB filename ?EBO Same as 7OFO ?EBP EB illegal because of protection fEEE Unable to read error message file EM with illegal argument ?EMA ?EMD EM with no input device open ?ENT Enter error ?EOA Bad argument to EO ?ERR RSTS/E monitor call failed ?FER File error ?FNF File not found Output command would have overflowed ?FUL ?|AB ?ICE device (In TECO-10, same as ?NRO) Invalid nestingof<...>or(...) [llegal CTRL/E command in search argument ?2IDV Illegal control character in text argument Bad input device ?1EC [llegal character after E ?IEM Re-init failure after EM Illegal character after F 2ICT ?21FC ?IFN Bad filename ?IA [llegal insert argument 21LL Illegal command ?ILN Same as ?70CT ?ILR Cannot lookup input file to rename it ?INP Input error - ?10S Illegal character in 1/0 switch [llegal character after *’ 21QC ?1QN Illegal Q-register name ?IRB Cannot rename input filename ?IRN Failure in rename process ?ISA Illegal search argument ?1SS Illegal search string ?MAP Missing ' Macro ending with E ?MEE ?MEF Macro ending with F ?MEM Storage capacity exceeded ?’MEO Macro ending with O ?MEQ ?MEU Macro ending with * Macro ending with U ?MFN Missing filename ?MIQ Missing Q-register name as ?BN| Same ?MLA ?MLP ( Missing ?MRA Missing > ?MRP ) Missing ?MUU Macro ending with 11 ?’NAB No argument before t__ ?NAC TECO-11: No argument before , TECO-8: Negative argument to, ?NAE No argument before = ?NAI -No altmode after nl ERROR MESSAGES (Cont.) Code Explanation ?NAP TECO-11: Same as ?MLP ’NAQ TECO-8: Negative or O argument to P No argument before * ’NAS TECO-11: No argument before ; TECO-8: Negative or 0 argument to search ’NAU No argument before U ’NAY Numeric argument with Y ?NCS No command string seen prior to *q ’NFI No file for input ’NFO No file for output ’NNQ No number in Q-register ?NRO No room for output ’NTQ No text in Q-register ’NYI Command not yet implemented ?0CT 8 or 9 in octal digit string 0DV Output device not available ?0F0O Output file already open ?0OLR Cannot lookup output file to rename it 20UT Output error ?PAR Confused use of parentheses ?PDO Push-down list overflow POP Attempt to move pointer off page ?PPN Illegal PPN QMO Q-register memory overflow ?RNO Cannot rename output file ?SAL Second argument less than first ’SNA Initial search with no argument ?SNI :not in an iteration ?SRH Search failure 1STC Search string has too many characters 78TL Search string too long ’TAG Missing tag ?TAL Two arguments with L ?TTL Tag too long dTTY [llegal TTY device ?UCA Unterminated * A command ?UEA Unimplemented EA ?UEI Unimplemented E| ?UEN Unimplemented EN 2LUEP Unimplemented EP 2UFS Macro ending with unterminated file select ?UIN Unterminated insert command 2UIS Undefined I/O switch ?USR Unterminated search command JUTC Unterminated command UTG Unterminated tag PUTM Unterminated macro ?UUO [llegal UUO WLO System device is write locked ?XAB Execution aborted by 1C ?YCA Y command aborted ’nnn RSX-11 monitor call failed 000 TA 001 001 B 002 002 1C 003 003 D 004 004 i = 005 005 T+F G 006 006 007 007 *H 010 008 tab 009 vt 011 012 013 f 014 012 cr 015 016 013 P 020 016 1Q 'R 021 017 022 018 +S 023 T 024 tU 025 TV 026 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 X 030 Y 4 031 032 esc 033 fs 034 gs 035 rs 036 us 037 040 041 042 043 044 047 037 038 039 050 040 051 052 041 053 043 054 044 055 045 056 046 057 047 060 048 061 062 049 063 051 064 052 065 053 066 054 045 042 050 055 056 071 057 ” /\s. .. 067 070 072 058 073 059 074 060 075 .vv OCONOOPLPWN—-0O TM" 046 076 061 062 077 063 065 102 066 L 027 101 o W 064 !~ —mN<X$<E=*® TQTO0O33 AT TTAQHFCA0CTY 017 014 015 TN 10 DEC 100 | 010 011 -— | OCT = DEC 000 g OCT nul (0)) chr >~~~ —N<LKXS<CANITIOTVOZIrA-—"IOTMUOB®P>® OCTAL AND DECIMAL ASCII CODES 103 067 104 068 105 106 069 070 107 071 110 072 111 112 113 073 114 115 116 074 075 076 077 117 078 079 120 080 121 122 081 082 123 083 124 084 125 085 126 086 127 087 130 088 131 089 132 090 133 091 134 092 135 093 136 094 137 095 140 141 096 142 098 143 099 100 144 145 146 147 150 151 097 101 102 103 104 105 153 106 107 154 108 155 109 152 156 110 157 111 160 112 161 113 162 114 163 115 164 165 116 166 118 117 167 119 170 120 171 121 172 122 173 123 174 124 175 125 176 126 177 127 NOTES (1] [2] [3] Re-executes last TECO command. Ignores filespec2, if present on previous command /TECO switch not necessary if SET EDITOR TECO command has been previously specified SFD’s allowed in TOPS-10 [4] Re-executes last MAKE command (5] TECO under RSTS/E and OS/8 requires two s @ is not an immediate mode command in RT-11 and RSX-11 (6] TECO-10 types the last 10 characters of the command string before the error occurred Not an immediate mode command in TECO-10 (execution is deferred until next wake-up character). In TECO-8, the immediate mode command (8] is the same as *Z Two @ s may be necessary on systems that support type-ahead [9] Only if feature is enabled in the operating system [10] TECO-10 closes any previous file. [11] Not in RSTS. TECO-10 does not require $ [12] On TECO-11, 4+ C in a macro returns control to TECOQO's prompt [13] [14] [15] TECO-10 has no general octal radix mode In TECO-10, a space between two numbers also acts as an addition TECO-10 prints signed result; TECO-8 and TECO-11 print unsigned result [16] On TECO-10, nA is the same as OA [17] Must immediately follow search in TECO-11 [18] Cannot jump to before start of current iteration in TECO-8 or TECO-11 TECO-10 stores either text or numeric data (but not both simultaneously) in a single area within the Q-register Same as 1%q in TECO-10 Arguments ““pass through’’ this command in TECO-11 On TECO-10, no case flagging occurs if the terminal supports lower case, regardless of state of EU flag [23] TECO-10 uses only bit value 1, TECO-8 uses only bit values 1, 2, and 8 [24] In TECO-10, 1O must be followed by a digit string and the octal radix mode applies only to this string TECO-10 allows begin of buffer, ., $, and % to match Cannot quote $ on TECO-10 17 NOTES NOTES NOTES NOVICE SUBSET OF TECO These commands allow you to do most common editing jobs on all versions of TECO. MAKE file Creates a new file (under RT-11, use. TECO file Edits an existing file (under RT-11, use EDIT command) CREATE command) : Moves pointer to beginning of buffer ZJ Moves pointer to end of buffer L Advances pointer to beginning of next nL -nL Advances pointer n lines Moves pointer back n lines oL Moves pointer to beginning of current C Advances pointer across one nC Advances pointer across n characters line line character -nC Moves pointer backwards across n characters T nT Types text from current pointer position to end of current line Types n lines on terminal HT Types entire content of text buffer OTT Types current line ltext$ Inserts text before current poiriter position K Deletes text from current pointer position to end of line nkK Deletes n lines of text HK Deletes entire content of text buffer Deletes the character following the D pointer Deletes n characters after the pointer Deletes n characters before the pointer Outputs the current page and reads in the next page Executes the P command n times Append the next input page to the end of the buffer EX Stext$ Moves the remainder of the input file to the output file, closes the output file, and exits from TECO Beginning at the current pointer position, searches for the specified text on the current page. The buffer pointer is positioned after the specified text if it is found. If the text is not found, an error message is given and the buffer pointer is left at the beginning of the page Ntext$ FStext1$text2$ Same as Stext$ except that the search continues across page boundaries, if necessary, until the string or the end of the input file is encountered Searches for text1 and, if found, replaces it with text2
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies