schung@cory.Berkeley.EDU (07/05/87)
Hello, I have an article that shows how to make ^U and ^W work in CED 1.0c as they do in UNIX. Unfortunately, the CED I have is version 1.0d. I remember noticing similar patches posted a while ago. Could somebody please e-mail it to me? If you want the patch I have, I can send it to you. Thanx. Sugih Jamin
brianc@cognos.uucp (Brian Campbell) (07/10/87)
In article <2987@zen.berkeley.edu> schung@cory.Berkeley.EDU writes:
! Hello,
! I have an article that shows how to make ^U and ^W work in CED 1.0c as they do
! in UNIX. Unfortunately, the CED I have is version 1.0d. I remember noticing
! similar patches posted a while ago. Could somebody please e-mail it to me?
! If you want the patch I have, I can send it to you.
!
! Thanx.
!
! Sugih Jamin
Hello!
The only patch I saw for CED versions 1.0[cd] was to make ^U work. I
have never seen one to make ^W work. Anyway, the patch that was previously
posted for CED 1.0d required modifying the author's copyright information.
The following patch is a little cleaner (IMHO). The following is a context
diff of DEBUGs output of the disassembly (unassembly) of the affected region.
[That sounds a little long and complicated, but it should be possible to
figure out what I meant].
*** old Fri Jul 10 12:42:18 1987
--- new Fri Jul 10 12:42:18 1987
***************
*** 1,15 ****
-u 663
0663 3C08 CMP AL,08
! 0665 7406 JZ 066D
0667 3C7F CMP AL,7F
! 0669 7402 JZ 066D
! 066B EB05 JMP 0672
! 066D E8CE01 CALL 083E
! 0670 EB10 JMP 0682
0672 3C1B CMP AL,1B
0674 7505 JNZ 067B
! 0676 E8A100 CALL 071A
! 0679 EB07 JMP 0682
067B 3C0A CMP AL,0A
067D 7403 JZ 0682
067F E85F01 CALL 07E1
--- 1,16 ----
-u 663
0663 3C08 CMP AL,08
! 0665 7404 JZ 066B
0667 3C7F CMP AL,7F
! 0669 7503 JNZ 066E
! 066B E9D001 JMP 083E
! 066E 3C15 CMP AL,15
! 0670 7404 JZ 0676
0672 3C1B CMP AL,1B
0674 7505 JNZ 067B
! 0676 E9A100 JMP 071A
! 0679 90 NOP
! 067A 90 NOP
067B 3C0A CMP AL,0A
067D 7403 JZ 0682
067F E85F01 CALL 07E1
BTW, is this easier to follow, and possibly more acceptable than a list
of address and byte values to change?
--
Brian Campbell uucp: decvax!utzoo!dciem!nrcaer!cognos!brianc
Cognos Incorporated mail: 3755 Riverside Drive, Ottawa, Ontario, K1G 3N3
(613) 738-1440 fido: sysop@163/8