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A'.U3I@:S!S1!0I.U2
G4-2D.-Q2U10IQ3,.X8Q3,.KOS'
Q7-n"E0U6!S!Q1U2Q5M8"F0U2'Q6"NQ6W'OA'
OA'
Q7"D0U5<!X!Q5*10+Q7-48U5M0Q7"DOX'0;>OV'
0U8
Q7-A"E-1U8'
Q7-B"E1U8'
Q8"NQ8"L-Q5U5'Q6"E0U7.U80L
Q8-.%6<0A-32"L0A-27"N0A-9"E6-(Q7&7)%6-2U7'%71%6''C%7>'
Q5L-Q6U90U7Q6<.-Z;0A-32"L0A-13"E0;'
0A-27"N0A-9"E6-(Q7&7)%9-2U7'%71%9''C%71%9"GR'Q9;>
0U4OB'
Q7-Q"EICommand: .-9,.X4-9DM6"FOA'.U3G4Q3,.X9Q3,.KWorking...OC'
Q7-27"E0U6!C!M9-1EU
Q6"NQ6W'OA'
Q7-R"E.U4G7.-Q4U2OA'
Q7-P"EQ4"E.+1U4'Q5LQ4-1,.X7.-Q4+1U20U6OB'
>
>M5YM523+320+32KM513Q0ET
!Z!Q3"N@/Exiting.../M1'
!Q-reg	Text		Numeric
0	read char	holds initial ET setting
1			length of last search string
2			length of last string gotten
3	deleted string	temp
4	arg to M6	cut buffer start
5	prints esc seq	repeat count
6	mini editor	# of lines destroyed at top
7	cut buffer	current char
8	search command	temp
9			arg to M5

Hacks:

ESCAPE is sent literally to the terminal via the 27+256^T command
which fakes out TECO into sending the character literally.
This avoids the necessity of doing a 0,1ET command which will swap
in an overlay on 16K machines.

Macro M0 is used to read a character and wait until it is available
even though read with no wait is enabled.
To temporarily turn off read with no wait via the 32,0ET command
would require swapping in an overlay on 16K machines.  Note that
the current algorithm is terribly inefficient on systems where
OS/8 is running under timesharing.  In such a case, OS/8 should be
run in a 20K partition and macro 0 should be initialized to
	32,0ET ^TU7 0,32ET
!