[net.micro.cpm] Strange behavior

MBECK@mit-ml@sri-unix.UUCP (08/25/83)

From:  Mark E. Becker <MBECK@mit-ml>

Here's a code fragment -
START:	LXI	H,080H		; use default dma area
	MVI	M,40H		; allow max 64 characters
	XCHG
	MVI	C,0AH		; use CP/M Console Read function
	CALL	5
	JMP	START

When I run this, I can type in text no problems.  However, ^R behaves
strangely.  If I type in 4 characters, <CR>, another 4 characters, then
^R, CP/M places the cursor at the 5th column, echos back the second set
of 4 characters, and waits for input.

     But there was a CR in the input stream.  Shouldn't the cursor really
be at the fifth column instead of the nineth?

					MARK@MIT-ML.ARPA

P.S.	^U and ^X work as advertised.