At 12:36 PM 11/22/2010, Richard wrote:
I've been trying to execute the TECO commands in
Alice's PDP-10
<http://www.hactrn.net/sra/alice/alices.pdp10> and I keep getting an
error saying "?IFC Illegal character "^" after F". The two command
sequences given have the same form:
[1:i*^Yu14<q1&377.f"nir'q1/400.u1>^[[8
.-z(1702117120m81869946983m8w660873337m8w1466458484m8
)+z,.f^@fx*[0:ft^]0^[w^\
and
[1:i*^Yu16<q1&77.+32iq1f"l#-1/100.#-1&7777777777.'"#/100.'u1r>6c^[[6
.(675041640067.m6w416300715765.m6w004445675045.m6
455445440046.m6w576200535144.m6w370000000000.m6),.fx*[0:ft^]0^[w^\
I'm using tecoc.exe from <http://almy.us/files/tecow32.zip>.
From my reading of the documentation for TECO, the
f command is for
flow control and should be one of:
F' Flow to end of conditional
F< Flow to strt of conditional
F> Flow to end of conditional
F| Flow to else part of conditional
I'm guessing that the commands come from some sort of PDP-10 dialect of
TECO and these commands do something else in that dialect.
Those are MIT TECO commands.
<http://pdp-10.trailing-edge.com/mit_emacs_170_teco_1220/01/info/teco.primer.html>http://pdp-10.trailing-edge.com/mit_emacs_170_teco_1220/01/info/teco.primer.html
will help with interpreting it.
: is listed as modifying the next command, so is
:i*....* an old way
of modifying the insert command to use *'s as the delimiter for the
text?
No, :i is a q-register loading command. :i* "loads" the following
string not into q-register "*" but returns it as a string pointer.
f"n...' is a test command with "not equal" as the test.
Would I be better off pasting these commands into the
TECO on
pdpplanet?
If that machine is running MIT TECO versus TECO-10, yes, perhaps.
I've tried to figure out what the first macro does but no joy. It's too
far from DEC TECO for me to follow.
-Rick