Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!amdcad!phil
From: phil@amdcad.AMD.COM (Phil Ngai)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Change ESC to ^U in COMMAND.COM line editor
Message-ID: <21550@amdcad.AMD.COM>
Date: 11 May 88 06:40:03 GMT
References: <779@acornrc.UUCP>
Reply-To: phil@amdcad.UUCP (Phil Ngai)
Organization: Advanced Micro Devices
Lines: 28
Summary: here it is

In article <779@acornrc.UUCP> bob@acornrc.UUCP (Bob Weissman) writes:
>I can't take it any more!  After years of having systems which
>used CTRL-U as the line kill character, I simply cannot get used
>to using ESC, as the COMMAND.COM line editor wants.

I think this is of general interest so I'll repost this. 

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 in DOS 3.3 as well. The offset
is 2119.
-- 
Make Japan the 51st state!

I speak for myself, not the company.
Phil Ngai, {ucbvax,decwrl,allegra}!amdcad!phil or phil@amd.com