Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!husc6!mit-eddie!ll-xn!cit-vax!ucla-cs!zen!cory.Berkeley.EDU!schung
From: schung@cory.Berkeley.EDU
Newsgroups: comp.sys.ibm.pc
Subject: CED1.0d Patches -- Solution and Summary
Message-ID: <3052@zen.berkeley.edu>
Date: Fri, 10-Jul-87 16:30:14 EDT
Article-I.D.: zen.3052
Posted: Fri Jul 10 16:30:14 1987
Date-Received: Sun, 12-Jul-87 12:22:21 EDT
Sender: news@zen.berkeley.edu
Reply-To: schung@cory.Berkeley.EDU
Distribution: world
Organization: University of California, Berkeley
Lines: 64


I posted a request for a CED 1.0d patch a while ago.  Several people gave me 
clues and pointers.  I finally figured out where things are in respect with 
version 1.0c of the same program.  So here is the patch that I adapted to enable
^U and ^W to work in CED 1.0d as they do in c-shell (UN*X).  It is exactly the 
patch for version 1.0c with the addresses changed.  Credits, especially for the
^W implementation, should go to Doug Landauer, who would tell you that the 
patch is in some way related to Colin Kelly.  Most important though, it was 
Steve Grandi who pointed the way to the addresses.  Thank's to all.

In case you don't know already, CED is a command interpreter for MS-DOS that
have some sort of history and aliasing mechanism.  It also allows you to edit
your present and old commands before executing them.  

(Do you know of any command interpreter that can do what CED does
*and* also supports c-shell's command history substitution?  
I heard that somebody has written something like that as an extension to 
the c-shell, and called it ** TC-SHELL **.  You have to have c-shell's source 
code to be able to use tc-shell though.  No, I don't know who has it.  
Refer to comp.questions.unix, and ask them there, if you are interested.  
I certainly would like to know if there is something similar for MS-DOS.)

Again, in case you don't know already, you can download CED1.0D.ARC from 
simtel20.arpa PD: (There is also a patch there, CEDINS.ARC, that
will make insert mode the default and that will preserve the mode you are in
when you along the command stack.)

Here's an annotated version of the patch.  (Annotated by Launder.)
Remove the annotations and cut at the line below to get CED1DCUW.DBG.
Do "debug ced.com