[comp.sys.ibm.pc] ^U Patch for CED

colin@vu-vlsi.UUCP (01/26/87)

Since a discussion of ^U in MS-DOS has cropped up again, I'm taking this
half-time opportunity to post a short patch to CED to make it accept ^U as
line kill (i.e. as a synonym for ESC).  This patch requires CED 1.0c,
available for any BBS...

--------------------------begin CEDCUESC.BAT--------------------------
goto begin

a 643
	call e35
	jnz 64c
	call 68a
	ret

e e20 "* (C) 1985 CJDunford" 0d

a e35
	cmp al,1b
	jz e3b
	cmp al,15
	ret

n cedcuesc.com
w
q

This file will patch CED 1.0c to use both ^U and ESCape as line kill
characters.  Above is a debug script which shortens the copyright message
a little to make room for code to check for 1b (ESCape) or 15 (^U).  You
can replace the 15 above with the hex ascii of any key you'd like for
line kill...

The modified file is written out as CEDCUESC.COM.  Make sure you
check that it works before copying it over your original CED.COM!
	-Colin Kelley ..{cbmvax,pyrnj,psuvax1,bpa}!vu-vlsi!colin

:begin
debug ced.com < cedcuesc.bat
--------------------------end CEDCUESC.BAT----------------------------