[comp.sys.ibm.pc] line editing

phil@amdcad.AMD.COM (Phil Ngai) (12/19/87)

In article <307@cognos.UUCP>, brianc@cognos.UUCP (Brian Campbell) writes:
<      In almost every version I used up to and including 3.1, there has
< been a Ctrl-U and Ctrl-W keystroke which is recognized.  [For those of
< you who didn't know of or didn't have these features, Ctrl-U erases the
< entire line (similar to ESC, but on the same line) and Ctrl-W erases
< backward to the last non-alphanumeric character]. 
<
<The following code fragment is identical in both DOS 3.10 and DOS 3.20 -- it
<is located at offset (using DEBUG) 1DB9 in former and 1E96 in the latter.
<
<   3C 17	CMP	AL,17
<   74 5E	JZ	$+60
<   3C 15	CMP 	AL,15
<   74 51	JZ	$+53

I found that this function is present (but often inactivated) in DOS
3.3 as well. The offset is 2119. 

-- 
"how long will the machine be down?"
"as long as you stand there and bother me"

Phil Ngai, {ucbvax,decwrl,allegra}!amdcad!phil or amdcad!phil@decwrl.dec.com