home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume16 / ecu3 / patch04 < prev    next >
Encoding:
Internet Message Format  |  1991-02-02  |  21.3 KB

  1. From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  2. Newsgroups: comp.sources.misc
  3. Subject: v16i088:  ECU 3 Patch 4
  4. Message-ID: <1991Jan29.013147.21817@sparky.IMD.Sterling.COM>
  5. Date: 29 Jan 91 01:31:47 GMT
  6. Approved: kent@sparky.imd.sterling.com
  7. X-Checksum-Snefru: 84731202 c5af3b24 51cd7ca7 99427d27
  8.  
  9. Submitted-by: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  10. Posting-number: Volume 16, Issue 88
  11. Archive-name: ecu3/patch04
  12. Patch-To: ecu3: Volume 16, Issue 25-59
  13.  
  14. ECU 3 PATCH 4 - miscellaneous, 1 serious
  15.  
  16. 1. fix bug in non-ANSI key handling causing core dump fairly
  17.    often (but not on my sys :-<)
  18.  
  19. 2. duplicate definiton of ECULIBDIR in ecu.h fixed 3.  cosmetic
  20.    fix in 'fi' interactive command prompt
  21.  
  22. 4. comm line flusher lflush() was flushing console tty instead
  23.  
  24. 5. illegal color name in 'color' procedure command caused
  25.    hi_white on hi_white instead or error
  26.  
  27. 6. prototypes for strchr/strrchr in stdio_lint.h caused problems
  28.    on some systems
  29.  
  30. 7. procedure sz was not reporting proper results if files skipped
  31.  
  32. 8. miscellaneous cosmetic fixes and maintenance/experimental rearrangements
  33.  
  34. created by gendiff x1.03 on 28 Jan 1991 00:29 UTC
  35.  
  36. *** /u4/src/ecu3.03/ecu.c    Thu Jan 10 14:04:57 1991
  37. --- ecu.c    Fri Jan 18 00:27:08 1991
  38. ***************
  39. *** 151,157
  40.       setbuf(stderr,NULL);
  41.   
  42.   /* get this off quick, cause we'll be busy for a little while on 286 */
  43. !     sprintf(hello_str,"ecu %s.%02d%s (pid %d) by wht@n4hgf",
  44.           numeric_revision,PATCHLEVEL,revision_modifier,xmtr_pid);
  45.       ff(se,"%s\n",hello_str);
  46.   
  47.  
  48. --- 151,157 -----
  49.       setbuf(stderr,NULL);
  50.   
  51.   /* get this off quick, cause we'll be busy for a little while on 286 */
  52. !     sprintf(hello_str,"ecu %s.%02d%s (pid %d)",
  53.           numeric_revision,PATCHLEVEL,revision_modifier,xmtr_pid);
  54.       ff(se,"%s\n",hello_str);
  55.   
  56. *** /u4/src/ecu3.03/ecu.h    Tue Jan 22 14:37:39 1991
  57. --- ecu.h    Fri Jan 25 06:08:44 1991
  58. ***************
  59. *** 3,8
  60.       wht@n4hgf.Mt-Park.GA.US
  61.   ------------------------------------------------------------------------*/
  62.   /*+:EDITS:*/
  63.   /*:01-22-1991-14:33-wht@n4hgf-XENIX calloc/memmove fix */
  64.   /*:01-01-1991-21:36-wht@n4hgf-add GCC implies STDC */
  65.   /*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */
  66.  
  67. --- 3,9 -----
  68.       wht@n4hgf.Mt-Park.GA.US
  69.   ------------------------------------------------------------------------*/
  70.   /*+:EDITS:*/
  71. + /*:01-25-1991-06:08-wht@n4hgf-mulltiple #define of ECULIBDIR */
  72.   /*:01-22-1991-14:33-wht@n4hgf-XENIX calloc/memmove fix */
  73.   /*:01-01-1991-21:36-wht@n4hgf-add GCC implies STDC */
  74.   /*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */
  75. ***************
  76. *** 7,14
  77.   /*:01-01-1991-21:36-wht@n4hgf-add GCC implies STDC */
  78.   /*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */
  79.   
  80. - #define ECULIBDIR "/usr/local/lib/ecu"
  81.   #if defined(__STDC__)    /* sigh ... malloc and such types */
  82.   #define VTYPE void
  83.   #else
  84.  
  85. --- 8,13 -----
  86.   /*:01-01-1991-21:36-wht@n4hgf-add GCC implies STDC */
  87.   /*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */
  88.   
  89.   #if defined(__STDC__)    /* sigh ... malloc and such types */
  90.   #define VTYPE void
  91.   #else
  92. ***************
  93. *** 50,55
  94.   
  95.   #include "ecuhangup.h"
  96.   #include "ecushm.h"
  97.   
  98.   /* already in ecushm.h */
  99.   /* #if !defined(ushort) */
  100.  
  101. --- 49,55 -----
  102.   
  103.   #include "ecuhangup.h"
  104.   #include "ecushm.h"
  105. + #include "smap.h"
  106.   
  107.   /* already in ecushm.h */
  108.   /* #if !defined(ushort) */
  109. *** /u4/src/ecu3.03/ecufinsert.c    Tue Jan  1 23:05:11 1991
  110. --- ecufinsert.c    Fri Jan 18 17:05:53 1991
  111. ***************
  112. *** 129,135
  113.           ff(se,"--> (S)ingle line at a time\r\n");
  114.           ff(se,"    (E)cho pacing\r\n");
  115.           ff(se,"    (F)ull speed transmission\r\n");
  116. !         ff(se,"    (P)aced transmission (20 msec/schar)\r\n");
  117.           ff(se,"    (Q)uit (or ESC):             ");
  118.           xmit_mode = ttygetc(0) & 0x7F;
  119.           if(xmit_mode > 0x20)
  120.  
  121. --- 129,135 -----
  122.           ff(se,"--> (S)ingle line at a time\r\n");
  123.           ff(se,"    (E)cho pacing\r\n");
  124.           ff(se,"    (F)ull speed transmission\r\n");
  125. !         ff(se,"    (P)aced transmission (20 msec/char)\r\n");
  126.           ff(se,"    (Q)uit (or ESC):             ");
  127.           xmit_mode = ttygetc(0) & 0x7F;
  128.           if(xmit_mode > 0x20)
  129. *** /u4/src/ecu3.03/ecuicmd.c    Thu Jan 10 14:05:01 1991
  130. --- ecuicmd.c    Wed Jan 23 16:02:46 1991
  131. ***************
  132. *** 432,437
  133.           fputs(hello_str,se);
  134.           fputs("\r\n",se);
  135.           ff(se,"%s\r\n",makedate);
  136.           break;
  137.   
  138.           case CTtime:
  139.  
  140. --- 432,440 -----
  141.           fputs(hello_str,se);
  142.           fputs("\r\n",se);
  143.           ff(se,"%s\r\n",makedate);
  144. + #if defined(WHT) && !defined(NOMEMCHECK)
  145. +         _dump_malloc();
  146. + #endif
  147.           break;
  148.   
  149.           case CTtime:
  150. *** /u4/src/ecu3.03/eculine.c    Thu Jan 10 14:05:03 1991
  151. --- eculine.c    Fri Jan 25 05:57:26 1991
  152. ***************
  153. *** 35,40
  154.   
  155.   ------------------------------------------------------------------------*/
  156.   /*+:EDITS:*/
  157.   /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  158.   /*:01-09-1991-21:26-wht@n4hgf-don't prototype nap() (ISC port) */
  159.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  160.  
  161. --- 35,41 -----
  162.   
  163.   ------------------------------------------------------------------------*/
  164.   /*+:EDITS:*/
  165. + /*:01-25-1991-05:57-wht@n4hgf-cringe - lflush was flushing console not line */
  166.   /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  167.   /*:01-09-1991-21:26-wht@n4hgf-don't prototype nap() (ISC port) */
  168.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  169. ***************
  170. *** 528,534
  171.       switch(flush_type)
  172.       {
  173.           case 0:
  174. !             ioctl(TTYIN,TCFLSH,(char *)0); break;
  175.           case 1:
  176.               ioctl(TTYIN,TCFLSH,(char *)1); break;
  177.           case 2:
  178.  
  179. --- 529,535 -----
  180.       switch(flush_type)
  181.       {
  182.           case 0:
  183. !             ioctl(shm->Liofd,TCFLSH,(char *)0); break;
  184.           case 1:
  185.               ioctl(shm->Liofd,TCFLSH,(char *)1); break;
  186.           case 2:
  187. ***************
  188. *** 530,536
  189.           case 0:
  190.               ioctl(TTYIN,TCFLSH,(char *)0); break;
  191.           case 1:
  192. !             ioctl(TTYIN,TCFLSH,(char *)1); break;
  193.           case 2:
  194.               ioctl(TTYIN,TCFLSH,(char *)2); break;
  195.       }
  196.  
  197. --- 531,537 -----
  198.           case 0:
  199.               ioctl(shm->Liofd,TCFLSH,(char *)0); break;
  200.           case 1:
  201. !             ioctl(shm->Liofd,TCFLSH,(char *)1); break;
  202.           case 2:
  203.               ioctl(shm->Liofd,TCFLSH,(char *)2); break;
  204.       }
  205. ***************
  206. *** 532,538
  207.           case 1:
  208.               ioctl(TTYIN,TCFLSH,(char *)1); break;
  209.           case 2:
  210. !             ioctl(TTYIN,TCFLSH,(char *)2); break;
  211.       }
  212.   }    /* end of lflush */
  213.   
  214.  
  215. --- 533,539 -----
  216.           case 1:
  217.               ioctl(shm->Liofd,TCFLSH,(char *)1); break;
  218.           case 2:
  219. !             ioctl(shm->Liofd,TCFLSH,(char *)2); break;
  220.       }
  221.   }    /* end of lflush */
  222.   
  223. *** /u4/src/ecu3.03/ecuphone.c    Thu Jan 10 14:05:17 1991
  224. --- ecuphone.c    Wed Jan 16 23:59:44 1991
  225. ***************
  226. *** 1647,1653
  227.                   case 0:        /* CONNECTED */
  228.                       tpde->redial = 0;
  229.                       pde_marked_for_redial_count--;
  230. - #if defined(M_SYSV)
  231.                       bell_notify(XBELL_C);
  232.   #endif
  233.                       return(1);
  234.  
  235. --- 1647,1652 -----
  236.                   case 0:        /* CONNECTED */
  237.                       tpde->redial = 0;
  238.                       pde_marked_for_redial_count--;
  239.                       bell_notify(XBELL_C);
  240.                       return(1);
  241.                   case 2:        /* INTERRUPTED */
  242. ***************
  243. *** 1649,1655
  244.                       pde_marked_for_redial_count--;
  245.   #if defined(M_SYSV)
  246.                       bell_notify(XBELL_C);
  247. - #endif
  248.                       return(1);
  249.                   case 2:        /* INTERRUPTED */
  250.                       ff(se,"\r\ndial interrupted: abort cycle (y,n)?  ");
  251.  
  252. --- 1648,1653 -----
  253.                       tpde->redial = 0;
  254.                       pde_marked_for_redial_count--;
  255.                       bell_notify(XBELL_C);
  256.                       return(1);
  257.                   case 2:        /* INTERRUPTED */
  258.                       ff(se,"\r\ndial interrupted: abort cycle (y,n)?  ");
  259. *** /u4/src/ecu3.03/ecurcvr.c    Thu Jan 10 14:05:18 1991
  260. --- ecurcvr.c    Thu Jan 17 00:00:04 1991
  261. ***************
  262. *** 1103,1109
  263.       {
  264.           shmr_set_xmtr_bn_1();
  265.           want_bell_notify = 1;
  266. - #if defined(M_SYSV)
  267.           bell_notify(XBELL_3T);
  268.   #endif
  269.       }
  270.  
  271. --- 1103,1108 -----
  272.       {
  273.           shmr_set_xmtr_bn_1();
  274.           want_bell_notify = 1;
  275.           bell_notify(XBELL_3T);
  276.       }
  277.       else if(rchar == 7)
  278. ***************
  279. *** 1105,1111
  280.           want_bell_notify = 1;
  281.   #if defined(M_SYSV)
  282.           bell_notify(XBELL_3T);
  283. - #endif
  284.       }
  285.       else if(rchar == 7)
  286.       {
  287.  
  288. --- 1104,1109 -----
  289.           shmr_set_xmtr_bn_1();
  290.           want_bell_notify = 1;
  291.           bell_notify(XBELL_3T);
  292.       }
  293.       else if(rchar == 7)
  294.       {
  295. ***************
  296. *** 1109,1115
  297.       }
  298.       else if(rchar == 7)
  299.       {
  300. - #if defined(M_SYSV)
  301.           bell_notify(XBELL_ATTENTION);
  302.   #endif
  303.           return(0);
  304.  
  305. --- 1107,1112 -----
  306.       }
  307.       else if(rchar == 7)
  308.       {
  309.           bell_notify(XBELL_ATTENTION);
  310.           return(0);
  311.       }
  312. ***************
  313. *** 1111,1117
  314.       {
  315.   #if defined(M_SYSV)
  316.           bell_notify(XBELL_ATTENTION);
  317. - #endif
  318.           return(0);
  319.       }
  320.   
  321.  
  322. --- 1108,1113 -----
  323.       else if(rchar == 7)
  324.       {
  325.           bell_notify(XBELL_ATTENTION);
  326.           return(0);
  327.       }
  328.   
  329. *** /u4/src/ecu3.03/ecuutil.c    Thu Jan 10 14:05:24 1991
  330. --- ecuutil.c    Fri Jan 25 16:23:25 1991
  331. ***************
  332. *** 31,36
  333.   
  334.   ------------------------------------------------------------------------*/
  335.   /*+:EDITS:*/
  336.   /*:12-26-1990-14:32-wht@n4hgf-use memmove or Duff's Device in mem_cpy() */
  337.   /*:12-04-1990-00:58-wht@n4hgf-allow alternating between str/arg_token */
  338.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  339.  
  340. --- 31,37 -----
  341.   
  342.   ------------------------------------------------------------------------*/
  343.   /*+:EDITS:*/
  344. + /*:01-25-1991-16:23-wht@n4hgf-source name wrong in headers */
  345.   /*:12-26-1990-14:32-wht@n4hgf-use memmove or Duff's Device in mem_cpy() */
  346.   /*:12-04-1990-00:58-wht@n4hgf-allow alternating between str/arg_token */
  347.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  348. *** /u4/src/ecu3.03/ecuxenix.c    Thu Jan 10 14:05:24 1991
  349. --- ecuxenix.c    Thu Jan 17 00:01:09 1991
  350. ***************
  351. *** 20,25
  352.     This module is a grab bag for historical reasons.  Needs reorg.
  353.   ------------------------------------------------------------------*/
  354.   /*+:EDITS:*/
  355.   /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  356.   /*:12-04-1990-03:55-wht@n4hgf-bell_notify only if on multiscreen */
  357.   /*:09-19-1990-19:36-wht@n4hgf-ecu_log_event now gets pid for log from caller */
  358.  
  359. --- 20,26 -----
  360.     This module is a grab bag for historical reasons.  Needs reorg.
  361.   ------------------------------------------------------------------*/
  362.   /*+:EDITS:*/
  363. + /*:01-16-1991-23:54-wht@n4hgf-if WHT, bell_notify always available */
  364.   /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  365.   /*:12-04-1990-03:55-wht@n4hgf-bell_notify only if on multiscreen */
  366.   /*:09-19-1990-19:36-wht@n4hgf-ecu_log_event now gets pid for log from caller */
  367. ***************
  368. *** 471,476
  369.   bell_notify(xbell_type)
  370.   int xbell_type;
  371.   {
  372.   extern int tty_is_multiscreen;
  373.   
  374.       if(tty_is_multiscreen && want_bell_notify)
  375.  
  376. --- 472,478 -----
  377.   bell_notify(xbell_type)
  378.   int xbell_type;
  379.   {
  380. + #if defined(M_SYSV)
  381.   extern int tty_is_multiscreen;
  382.   
  383.       if(
  384. ***************
  385. *** 473,479
  386.   {
  387.   extern int tty_is_multiscreen;
  388.   
  389. !     if(tty_is_multiscreen && want_bell_notify)
  390.           bell_alarm(xbell_type);
  391.   
  392.   }    /* end of bell_notify */
  393.  
  394. --- 475,486 -----
  395.   #if defined(M_SYSV)
  396.   extern int tty_is_multiscreen;
  397.   
  398. !     if(
  399. ! #ifndef WHT
  400. !         tty_is_multiscreen &&
  401. ! #endif
  402. !              want_bell_notify)
  403. !     {
  404.           bell_alarm(xbell_type);
  405.       }
  406.   #endif
  407. ***************
  408. *** 475,481
  409.   
  410.       if(tty_is_multiscreen && want_bell_notify)
  411.           bell_alarm(xbell_type);
  412.   }    /* end of bell_notify */
  413.   
  414.   /*+-------------------------------------------------------------------------
  415.  
  416. --- 482,489 -----
  417.                want_bell_notify)
  418.       {
  419.           bell_alarm(xbell_type);
  420. !     }
  421. ! #endif
  422.   }    /* end of bell_notify */
  423.   
  424.   /*+-------------------------------------------------------------------------
  425. *** /u4/src/ecu3.03/nonansikey.c    Thu Jan 10 14:05:32 1991
  426. --- nonansikey.c    Sun Jan 27 19:27:11 1991
  427. ***************
  428. *** 10,15
  429.   
  430.   ------------------------------------------------------------------*/
  431.   /*+:EDITS:*/
  432.   /*:12-01-1990-12:51-wht@n4hgf-creation, borrowing from and using ecufkey.c */
  433.   
  434.   #include "ecu.h"
  435.  
  436. --- 10,16 -----
  437.   
  438.   ------------------------------------------------------------------*/
  439.   /*+:EDITS:*/
  440. + /*:01-10-1991-23:15-wht@n4hgf-string overflow rptd by spooley@compulink.co.uk */
  441.   /*:12-01-1990-12:51-wht@n4hgf-creation, borrowing from and using ecufkey.c */
  442.   
  443.   #include "ecu.h"
  444. ***************
  445. *** 58,64
  446.   register char *bufptr;
  447.   {
  448.   register itmp;
  449. ! register token_number;
  450.   KDE *tkde;
  451.   int KDEt;
  452.   int done = 0;
  453.  
  454. --- 59,65 -----
  455.   register char *bufptr;
  456.   {
  457.   register itmp;
  458. ! register token_number = 0;
  459.   KDE *tkde;
  460.   int KDEt;
  461.   int done = 0;
  462. ***************
  463. *** 62,68
  464.   KDE *tkde;
  465.   int KDEt;
  466.   int done = 0;
  467. ! char token_separator[2];
  468.   char *token;
  469.   char *arg_token();
  470.   char *str_token();
  471.  
  472. --- 63,69 -----
  473.   KDE *tkde;
  474.   int KDEt;
  475.   int done = 0;
  476. ! char *token_separator = ":";
  477.   char *token;
  478.   char *arg_token();
  479.   char *str_token();
  480. ***************
  481. *** 68,75
  482.   char *str_token();
  483.   char *strip_ld_break();
  484.   
  485. -     token_number = 0;
  486. -     strcpy(token_separator,":");
  487.       while(!done && (token = (token_number < 2) ? str_token(bufptr,":")
  488.                                                  : arg_token(bufptr," \t")))
  489.       {
  490.  
  491. --- 69,74 -----
  492.   char *str_token();
  493.   char *strip_ld_break();
  494.   
  495.       while(!done && (token = (token_number < 2) ? str_token(bufptr,":")
  496.                                                  : arg_token(bufptr," \t")))
  497.       {
  498. ***************
  499. *** 95,101
  500.                       goto MISSING_LABEL;
  501.                   strncpy(tkde->logical,token,sizeof(tkde->logical));
  502.                   tkde->logical[sizeof(tkde->logical) - 1] = 0;
  503. !                 strcpy(token_separator," \t"); /* space is tok sep now */
  504.                   break;
  505.   
  506.               case 2:        /* third field is first token of sequence */
  507.  
  508. --- 94,100 -----
  509.                       goto MISSING_LABEL;
  510.                   strncpy(tkde->logical,token,sizeof(tkde->logical));
  511.                   tkde->logical[sizeof(tkde->logical) - 1] = 0;
  512. !                 token_separator = " \t"; /* space is tok sep now */
  513.                   break;
  514.   
  515.               case 2:        /* third field is first token of sequence */
  516. *** /u4/src/ecu3.03/pcmdtty.c    Mon Dec 24 22:42:00 1990
  517. --- pcmdtty.c    Wed Jan 23 03:03:10 1991
  518. ***************
  519. *** 20,25
  520.   
  521.   --------------------------------------------------------------------------*/
  522.   /*+:EDITS:*/
  523.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  524.   
  525.   #include "ecu.h"
  526.  
  527. --- 20,26 -----
  528.   
  529.   --------------------------------------------------------------------------*/
  530.   /*+:EDITS:*/
  531. + /*:01-23-1991-01:58-wht@n4hgf-illegal color name make hi_white on hi_white */
  532.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  533.   
  534.   #include "ecu.h"
  535. ***************
  536. *** 67,73
  537.       }
  538.   
  539.       if((erc = get_alpha_zstr(param,s32,sizeof(s32))) ||
  540. !             ((foreground = color_name_to_num(s32))) < 0)
  541.           goto ERROR;
  542.   
  543.       if(erc = get_alpha_zstr(param,s32,sizeof(s32)))
  544.  
  545. --- 68,74 -----
  546.       }
  547.   
  548.       if((erc = get_alpha_zstr(param,s32,sizeof(s32))) ||
  549. !             ((int)(foreground = color_name_to_num(s32)) < 0))
  550.           goto ERROR;
  551.   
  552.       if(erc = get_alpha_zstr(param,s32,sizeof(s32)))
  553. ***************
  554. *** 76,82
  555.               goto ERROR;
  556.           background = 0;
  557.       }
  558. !     else if((background = color_name_to_num(s32)) < 0)
  559.           goto ERROR;
  560.   
  561.       if(normal)
  562.  
  563. --- 77,83 -----
  564.               goto ERROR;
  565.           background = 0;
  566.       }
  567. !     else if((int)(background = color_name_to_num(s32)) < 0)
  568.           goto ERROR;
  569.   
  570.       if(normal)
  571. *** /u4/src/ecu3.03/pcmdxfer.c    Mon Dec 24 22:42:00 1990
  572. --- pcmdxfer.c    Fri Jan 18 00:32:48 1991
  573. ***************
  574. *** 19,24
  575.   
  576.   --------------------------------------------------------------------------*/
  577.   /*+:EDITS:*/
  578.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  579.   
  580.   #include "ecu.h"
  581.  
  582. --- 19,25 -----
  583.   
  584.   --------------------------------------------------------------------------*/
  585.   /*+:EDITS:*/
  586. + /*:01-17-1991-17:01-wht@n4hgf-skipped files in sz aborted proc */
  587.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  588.   
  589.   #include "ecu.h"
  590. ***************
  591. *** 96,102
  592.           else
  593.           {
  594.               if(exec_cmd(expcmd))
  595. !                 erc = eFATAL_ALREADY;
  596.               free(expcmd);
  597.           }
  598.       }
  599.  
  600. --- 97,103 -----
  601.           else
  602.           {
  603.               if(exec_cmd(expcmd))
  604. !                 erc = report_send_status();
  605.               free(expcmd);
  606.           }
  607.       }
  608. ***************
  609. *** 103,109
  610.       else
  611.       {
  612.           if(exec_cmd(execcmd))
  613. !             erc = eFATAL_ALREADY;
  614.       }
  615.       lreset_ksr();
  616.       file_xfer_done_bell();
  617.  
  618. --- 104,110 -----
  619.       else
  620.       {
  621.           if(exec_cmd(execcmd))
  622. !             erc = report_send_status();
  623.       }
  624.       lreset_ksr();
  625.       file_xfer_done_bell();
  626. ***************
  627. *** 109,115
  628.       file_xfer_done_bell();
  629.       if(erc)
  630.           return(erc);
  631. !     erc = report_send_status();
  632.       if(!erc)
  633.           iv[0] = 0;
  634.       if(erc == eProcAttn_Interrupt)
  635.  
  636. --- 110,116 -----
  637.       file_xfer_done_bell();
  638.       if(erc)
  639.           return(erc);
  640. !     iv[0] = (unsigned long)last_child_wait_status;
  641.       if(!erc)
  642.           iv[0] = 0;
  643.       if(erc == eProcAttn_Interrupt)
  644. ***************
  645. *** 246,252
  646.   #ifdef WHT    /* for testing */
  647.       if(strchr(switches,'p'))
  648.           strcat(execcmd,"-, ");
  649. !     if(strchr(switches,'n'))
  650.           strcat(execcmd,"-@ ");
  651.   #endif
  652.   
  653.  
  654. --- 247,253 -----
  655.   #ifdef WHT    /* for testing */
  656.       if(strchr(switches,'p'))
  657.           strcat(execcmd,"-, ");
  658. !     if(strchr(switches,'N'))
  659.           strcat(execcmd,"-@ ");
  660.   #endif
  661.   
  662. ***************
  663. *** 338,344
  664.   
  665.       strcat(execcmd,pathlist->pb);
  666.       free_esd(pathlist);
  667. !     return(_send_common(execcmd));
  668.   
  669.   }    /* end of pcmd_ss */
  670.   
  671.  
  672. --- 339,347 -----
  673.   
  674.       strcat(execcmd,pathlist->pb);
  675.       free_esd(pathlist);
  676. !     if(exec_cmd(execcmd))
  677. !         erc = eFATAL_ALREADY;
  678. !     return(erc);
  679.   
  680.   }    /* end of pcmd_ss */
  681.   
  682. ***************
  683. *** 348,354
  684.   void
  685.   _rx_error()
  686.   {
  687. - extern int last_child_wait_status;
  688.   
  689.       iv[0] = (last_child_wait_status & 0xFF)
  690.               ? 0x100L : (long)last_child_wait_status >> 8;
  691.  
  692. --- 351,356 -----
  693.   void
  694.   _rx_error()
  695.   {
  696.   
  697.       iv[0] = (last_child_wait_status & 0xFF)
  698.               ? 0x100L : (long)last_child_wait_status >> 8;
  699. ***************
  700. *** 455,461
  701.           strcat(execcmd,"-: ");
  702.       if(strchr(switches,'p'))
  703.           strcat(execcmd,"-, ");
  704. !     if(strchr(switches,'n'))
  705.           strcat(execcmd,"-@ ");
  706.   #endif
  707.       strcat(execcmd,bottom_label);
  708.  
  709. --- 457,463 -----
  710.           strcat(execcmd,"-: ");
  711.       if(strchr(switches,'p'))
  712.           strcat(execcmd,"-, ");
  713. !     if(strchr(switches,'N'))
  714.           strcat(execcmd,"-@ ");
  715.   #endif
  716.       strcat(execcmd,bottom_label);
  717. *** /u4/src/ecu3.03/pprintf.c    Thu Jan 10 14:05:33 1991
  718. --- pprintf.c    Sat Jan 26 15:07:22 1991
  719. ***************
  720. *** 1,5
  721.   /*+-------------------------------------------------------------------------
  722. !     pprintf.c - preocedure printf
  723.   --------------------------------------------------------------------------*/
  724.   /*+:EDITS:*/
  725.   /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  726.  
  727. --- 1,5 -----
  728.   /*+-------------------------------------------------------------------------
  729. !     pprintf.c - procedure printf
  730.   --------------------------------------------------------------------------*/
  731.   /*+:EDITS:*/
  732.   /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  733. *** /u4/src/ecu3.03/smap.h    Mon Dec 24 22:44:00 1990
  734. --- smap.h    Wed Jan 23 15:55:26 1991
  735. ***************
  736. *** 22,27
  737.   /*+:EDITS:*/
  738.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  739.   
  740.   #define NOMEMCHECK
  741.   
  742.   #ifndef __GNUC__
  743.  
  744. --- 22,28 -----
  745.   /*+:EDITS:*/
  746.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  747.   
  748. + #ifndef WHT
  749.   #define NOMEMCHECK
  750.   #endif
  751.   
  752. ***************
  753. *** 23,28
  754.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  755.   
  756.   #define NOMEMCHECK
  757.   
  758.   #ifndef __GNUC__
  759.   #if !defined(VTYPE)
  760.  
  761. --- 24,30 -----
  762.   
  763.   #ifndef WHT
  764.   #define NOMEMCHECK
  765. + #endif
  766.   
  767.   #ifndef __GNUC__
  768.   #if !defined(VTYPE)
  769. *** /u4/src/ecu3.03/stdio_lint.h    Thu Jan 10 14:05:35 1991
  770. --- stdio_lint.h    Fri Jan 18 11:55:21 1991
  771. ***************
  772. *** 3,8
  773.       wht@n4hgf.Mt-Park.GA.US
  774.   --------------------------------------------------------------------------*/
  775.   /*+:EDITS:*/
  776.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  777.   
  778.   #if defined(__STDC__)
  779.  
  780. --- 3,9 -----
  781.       wht@n4hgf.Mt-Park.GA.US
  782.   --------------------------------------------------------------------------*/
  783.   /*+:EDITS:*/
  784. + /*:01-18-1991-11:55-wht@n4hgf-fix strchr/strrchr per steve@nshore.ncoast.org */
  785.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  786.   
  787.   #if defined(__STDC__)
  788. ***************
  789. *** 25,32
  790.   char *strncpy(char *,char *,int);
  791.   char *strcat(char *,char *);
  792.   char *strncat(char *,char *,int);
  793. ! char *strchr(char *,char);
  794. ! char *strrchr(char *,char);
  795.   #endif
  796.   int stat(char *,struct stat *);
  797.   int fstat(int,struct stat *);
  798.  
  799. --- 26,33 -----
  800.   char *strncpy(char *,char *,int);
  801.   char *strcat(char *,char *);
  802.   char *strncat(char *,char *,int);
  803. ! char *strchr(char *,int);
  804. ! char *strrchr(char *,int);
  805.   #endif
  806.   int stat(char *,struct stat *);
  807.   int fstat(int,struct stat *);
  808. *** /u4/src/ecu3.03/ecuvmin.h    Mon Dec 24 22:35:00 1990
  809. --- ecuvmin.h    Thu Jan 10 04:14:20 1991
  810. ***************
  811. *** 5,12
  812.   /*+:EDITS:*/
  813.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  814.   
  815. ! #if defined(M_XENIX) || defined(M_UNIX)
  816. ! #if defined(BUILDING_LINT_ARGS    /* if building lint_args.h ... */)
  817.   #define XENIX_VMIN        2    /* ... include vmin handling routines */
  818.   #else
  819.   #define XENIX_VMIN        1    /* this is the real value for vmin */
  820.  
  821. --- 5,11 -----
  822.   /*+:EDITS:*/
  823.   /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  824.   
  825. ! #if defined(BUILDING_PROTOTYPES)    /* if building lint_args.h ... */
  826.   #define XENIX_VMIN        2    /* ... include vmin handling routines */
  827.   #else
  828.   #define XENIX_VMIN        1    /* this is the real value for vmin */
  829. ***************
  830. *** 10,15
  831.   #define XENIX_VMIN        2    /* ... include vmin handling routines */
  832.   #else
  833.   #define XENIX_VMIN        1    /* this is the real value for vmin */
  834. - #endif
  835.   #endif
  836.   /* vi: set tabstop=4 shiftwidth=4: */
  837.  
  838. --- 9,13 -----
  839.   #define XENIX_VMIN        2    /* ... include vmin handling routines */
  840.   #else
  841.   #define XENIX_VMIN        1    /* this is the real value for vmin */
  842.   #endif
  843.   /* vi: set tabstop=4 shiftwidth=4: */
  844. *** /u4/src/ecu3.03/patchlevel.h    Tue Jan 22 14:37:39 1991
  845. --- patchlevel.h    Wed Jan 23 01:58:53 1991
  846. ***************
  847. *** 1,1
  848. ! #define PATCHLEVEL 3
  849.  
  850. --- 1,1 -----
  851. ! #define PATCHLEVEL 4
  852.  
  853. exit 0 # Just in case...
  854. -- 
  855. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  856. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  857. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  858. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  859.