TECO Version 29 This memo describes new features in TECO version 29. These features apply to RSTS/E, RSX-11, RT-11, and IAS. 1. The ^U TECO command may now take a numeric argument. n^Uq$ Stores the character whose ASCII code is n into the text storage area of Q-register q. n@^Uq// is an alternate form of this command. Either form may be colon modified, in which case the specified character is appended to the end of the text already in Q-register q. 2. F_text1$text2$ is now implemented. This is similar to FS and FN but uses the _ form of the search command. The command may take a numeric argument. It may be colon modified. It may be @ modified. This command does not work if there is text in the buffer and an output file is open and Yank protection is requested (ED bit 1 off). 3. The ^V (version number) command has been eliminated and replaced by the EO command. EO returns TECO's current version number (29 for this release). The old usage of ^V conflicts with case control commands on other implementations of TECO. 4. The ^R (replace) command has been eliminated. It is exactly equivalent to the FS command. 5. Vertical tab (executed as a TECO command) is now an error. In previous versions of TECO, the vertical tab command was ignored. 6. Two new string build characters are permitted inside search strings. ^V converts the next character (if it is alphabetic) to lower case. ^W converts the next character (if it is alphabetic) to upper case. 7. The string build construct ^^ has been eliminated. The search build construct ^V should be used instead. 8. The "V and "W commands have been interchanged to make them agree with other TECO implementations. n"Vcmds' executes the commands specified if n is the ASCII code for a lower case alphabetic character. n"Wcmds' executes the commands specified if n is the ASCII code for an upper case alphabetic character. 9. Two error messages have been changed. ?ICC (Illegal character after ") is now ?IQC . ?IQR (Illegal Q-register Name) is now ?IQN . This change only affects the 3-character code portion of the error message. 10. The ^W (Watch) command has been eliminated and replaced by the W command. n^W has been replaced by nW . The old usage of ^W conflicts with case control commands on other implementations of TECO. This change may require you to fix up any macros which you might have which are used to drive a VT52 or VT-11 scope. 11. The ^G and ^G* immediate mode commands have been changed so that when reprinting the command string, the first line is preceded by a "*" representing TECO's prompt character. 12. The A (Append) command may now be colon modified. :A appends one line of text from the current input stream to the end of the text buffer. A partial line might be read in if the text buffer is very full. (TECO will stop reading characters when there are only 128 character positions remaining in the text buffer.) 13. The format of the ED (Edit Level) flag has been changed. The flag has now been set up so that each bit has a meaning. Bit Bit value Meaning 0 1 if 0, up-arrow's in search strings convert the next character to the corresponding control character. if 1, up-arrow's in search strings are considered to be text. 1 2 if 0, Yank protection is instituted; this will cause the Y and _ commands to abort if there is text in the text buffer and an output file is open. if 1, all Y and _ commands are legal at any time. The other bits are reserved for future use and should always be 0 at this time. The 1ED command works the same as it used to. The function which used to be performed by the -1ED command is now performed by the 2ED command. 14. The ?NAY (Numeric Argument to Y command) error message has been added in case you perform an nY command. The proper syntax for this function is n . 15. The value of the EH command has been slightly modified. What used to be 3EH is now 4EH. 3EH is reserved for possible future use and currently acts the same as 2EH. Bit 2 of the EH flag is now independent from bits 0 and 1. Bits Bit Values Meaning 0,1 1,2 0 same as 2 1 error code only 2 error code plus one-line message 3 reserved 2 4 0 no auto-? 1 auto-? after errors 16. Two new match control constructs have been added. These may appear inside search strings. ^EV matches any lower case alphabetic character. ^EW matches any upper case alpabetic character.