home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / edsource.dif < prev    next >
Text File  |  1989-03-14  |  1KB  |  54 lines

  1. [ The following diffs, showing the changes made by Edward Lee, were
  2. accidentally omitted from v01i203.  -- R.D. ]
  3.  
  4. Here are diffs for ed.c:
  5.  
  6. 18c18
  7. < int    version = 3;    /* used only in the "set" function, for i.d. */
  8. ---
  9. > int    version = 4;    /* used only in the "set" function, for i.d. */
  10. 758,759d757
  11. <     int    i;
  12. 764,765c762,763
  13. <         for(i = from; i <= to; i++)
  14. <             prntln(gettxt(i), lflg, (nflg ? i : 0));
  15. ---
  16. >         for(CurLn = from; CurLn <= to; CurLn++)
  17. >             prntln(gettxt(CurLn), lflg, (nflg ? CurLn : 0));
  18. 1756d1753
  19. <         break;
  20. 2041d2037
  21. < #ifndef __TURBOC__
  22. 2043,2046c2039,2040
  23. <  *  Software signal 2 is caught and the result is to resume the main loop
  24. <  *  at the point where a command is prompted for.  Nothing in this code
  25. <  *  generates the software signal, so for TurboC / MSDOS it all seems
  26. <  *  pretty pointless.
  27. ---
  28. >  *  Software signal 2 or SIGINT is caught and the result is to resume
  29. >  *  the main loop at a command prompt.
  30. 2050a2045
  31. > #ifndef __TURBOC__
  32. 2055a2051,2057
  33. > #else
  34. > void Catcher(void)
  35. > {
  36. >     longjmp(env, 1);
  37. > }
  38. 2087d2088
  39. < #ifndef __TURBOC__
  40. 2089a2091,2092
  41. > #ifndef __TURBOC__
  42. 2092c2095
  43. <         putchar(':');        /*  The command-line prompt  */
  44. ---
  45. >         signal(SIGINT, Catcher);
  46. 2220d2222
  47. <
  48.  
  49.  
  50.