Trailing-Edge
-
PDP-10 Archives
-
steco_19840320_1er_E35
-
10,5676/teco/newsrc/readme.txt
There are 15 other files named readme.txt in the archive. Click here to see a list.
The following new items have been added in this version of TECO:
1) The FI command is now implemented. The format of the command is:
FI(q-reg)keyword$
Where:
q-reg contains the prompt, previous input, and will have the new
input appended to it. The prompt is the section between
0 and ".", previous input between "." and "Z". The previous
input may be edited during the FI command, but not the prompt.
keyword is on of (LINE, COMMAND-TEXT, INPUT-FILE, OUTPUT-FILE,
SINGLE-CHARACTER).
LINE will input up to a standard TOPS-10 EOL character.
COMMAND-TEXT will input up to two consectutive escapes (like
a normal TECO command).
INPUT-FILE and OUTPUT-FILE are currently the same as LINE,
but may be made to do some parsing of the name in the future.
SINGLE-CHARACTER will input a single character.
All of the keywords will handle at least the normal editing characters
(control-H, delete, control-U, and control-W). COMMAND-TEXT will
also handle the control-G's as they are handled in normal command
input.
The command also returns the text of the type-in as a string argument,
as well as storing the text in the Q-register.
2) There is a new special Q-register called 'COMMAND-PROMPT'. The contents
of this Q-register is used as the normal TECO prompt. If it contains
a numeric value, the value is treated as a single ASCII character.
If it contains text, the entire text is used as the prompt. The text
can be multiple lines long, or null, or any combination. Note that
in the multi line case, if the prompt is longer than the display
region for the command buffer, only the last n lines will be displayed
(n=length of display region).
3) There is a new Q-register called 'EXIT-COMMAND'. This Q-register will
be executed when an EX or ^C command is given. This can contain any
set of TECO commands, allowing the user to reset terminal parameters,
etc.
4) There is a new Q-register called 'CONTROL-C-INTERCEPT-COMMAND'. TECO
now has a control-C intercept enabled at all times (used to only be
for certain terminals). If this Q-register contains text when a ^C
is typed, the Q-register is executed instead of exiting to monitor.
The Q-register can contain a ^C command to cause TECO to exit, or
may just continue on as if a control-C was not typed. The commands used
inside this Q-register should be restricted to very simple commands.
In particular, no string arguments, long Q-register names, searches,
or inserts should be done. This is because TECO's memory management
is not interlocked, and it is quite possible to blow it out of the water
if the ^C is typed in just the right place and the intercept macro then
does something that needs to run through the memory management. I may
fix this at some point, but haven't had the ambition to go through all
of TECO putting in the proper interlocks.
Note that the 'EXIT-COMMAND' will not be executed on a ^C command done
within the 'CONTROL-C-INTERCEPT-COMMAND'.
5) Since it is now possible to write a TECO.INI that can reset the terminal
however one desires, TECO will no longer set smooth scroll mode on VT-100's.
That can be done by putting the proper sequences into the two new
Q-registers. TECO will still put the terminal into jump scroll when
started, and on continues, so the TECO.INI does not have to take care of
that.
6) Internal change - As part of the support for the FI command, there is
now a new module called TECCIN. It contains a number of the routines
that used to be in TECPRS.
7) The last saveset on this tape contains the current version of the TECO
manual we are working on. Comments will be appreciated.