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

  1. From: wht@n4hgf.Mt-Park.GA.US
  2. Newsgroups: comp.sources.misc
  3. Subject: v16i071:  ECU 3 Patch 2, Part 2/2
  4. Message-ID: <1991Jan12.052919.9151@sparky.IMD.Sterling.COM>
  5. Date: 12 Jan 91 05:29:19 GMT
  6. Approved: kent@sparky.imd.sterling.com
  7. X-Checksum-Snefru: 4fbb6fe1 a48ab751 f3037a4e 4c178d52
  8.  
  9. Submitted-by: wht@n4hgf.Mt-Park.GA.US
  10. Posting-number: Volume 16, Issue 71
  11. Archive-name: ecu3/patch2b
  12. Patch-To: ecu3: Volume 16, Issue 25-59
  13.  
  14. #!/bin/sh
  15. # This is part 02 of ecu3/patch2
  16. # ============= PATCH02.02 ==============
  17. echo 'x - extracting PATCH02.02 (Text)'
  18. sed 's/^X//' << 'SHAR_EOF' > 'PATCH02.02' &&
  19. X:
  20. X#+-------------------------------------------------------------------------
  21. X# ECU 3.0 PATCH # 2 Part 2/2 - Non-ansi/ISC
  22. X#
  23. X# 1.  Fix non-curses per-file transfer rate report
  24. X#     (it was verrrrry optimistic :-)
  25. X#
  26. X# 2.  Add experimental support for ISC 2.2
  27. X#
  28. X# Note: if you are purely an SCO multiscreen user, you may wish to
  29. X# save this patch and not apply it until further patches are issued.
  30. X# By doing so, you will save an unnecessary compilation.
  31. X# When another patch comes along, you must then apply this one so
  32. X# that your source will be in sync.
  33. X#
  34. X# created by gendiff x1.03 on 10 Jan 1991 09:07 UTC
  35. X#-------------------------------------------------------
  36. X*** /u4/src/ecu3.01/ecuphone.c    Tue Jan  1 23:05:20 1991
  37. X--- ecuphone.c    Wed Jan  9 22:31:30 1991
  38. X***************
  39. X*** 58,63
  40. X  
  41. X  --------------------------------------------------------------------------*/
  42. X  /*+:EDITS:*/
  43. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  44. X  
  45. X  #include <curses.h>
  46. X
  47. X--- 58,64 -----
  48. X  
  49. X  --------------------------------------------------------------------------*/
  50. X  /*+:EDITS:*/
  51. X+ /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  52. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  53. X  
  54. X  #include <curses.h>
  55. X***************
  56. X*** 1646,1651
  57. X                  case 0:        /* CONNECTED */
  58. X                      tpde->redial = 0;
  59. X                      pde_marked_for_redial_count--;
  60. X                      bell_notify(XBELL_C);
  61. X                      return(1);
  62. X                  case 2:        /* INTERRUPTED */
  63. X
  64. X--- 1647,1653 -----
  65. X                  case 0:        /* CONNECTED */
  66. X                      tpde->redial = 0;
  67. X                      pde_marked_for_redial_count--;
  68. X+ #if defined(M_SYSV)
  69. X                      bell_notify(XBELL_C);
  70. X  #endif
  71. X                      return(1);
  72. X***************
  73. X*** 1647,1652
  74. X                      tpde->redial = 0;
  75. X                      pde_marked_for_redial_count--;
  76. X                      bell_notify(XBELL_C);
  77. X                      return(1);
  78. X                  case 2:        /* INTERRUPTED */
  79. X                      ff(se,"\r\ndial interrupted: abort cycle (y,n)?  ");
  80. X
  81. X--- 1649,1655 -----
  82. X                      pde_marked_for_redial_count--;
  83. X  #if defined(M_SYSV)
  84. X                      bell_notify(XBELL_C);
  85. X+ #endif
  86. X                      return(1);
  87. X                  case 2:        /* INTERRUPTED */
  88. X                      ff(se,"\r\ndial interrupted: abort cycle (y,n)?  ");
  89. X***************
  90. X*** 1704,1711
  91. X          if(!tpde)
  92. X              tpde = pde_list_head;
  93. X      }
  94. X-     /*NOTREACHED*/
  95. X-     return(0);    /* but just in case */
  96. X  
  97. X  ABORT_CYCLE:
  98. X      interrupt = 0;
  99. X
  100. X--- 1707,1712 -----
  101. X          if(!tpde)
  102. X              tpde = pde_list_head;
  103. X      }
  104. X  
  105. X  ABORT_CYCLE:
  106. X      interrupt = 0;
  107. X*** /u4/src/ecu3.01/ecurcvr.c    Tue Jan  1 23:05:22 1991
  108. X--- ecurcvr.c    Wed Jan  9 22:31:29 1991
  109. X***************
  110. X*** 49,54
  111. X  
  112. X  --------------------------------------------------------------------------*/
  113. X  /*+:EDITS:*/
  114. X  /*:12-26-1990-14:32-wht@n4hgf-use memset in spaces() */
  115. X  /*:12-21-1990-21:06-wht@n4hgf-CUF and CUB set non-ansi cursor incorrectly */
  116. X  /*:12-20-1990-16:27-wht@n4hgf-had SU and SD swapped */
  117. X
  118. X--- 49,55 -----
  119. X  
  120. X  --------------------------------------------------------------------------*/
  121. X  /*+:EDITS:*/
  122. X+ /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  123. X  /*:12-26-1990-14:32-wht@n4hgf-use memset in spaces() */
  124. X  /*:12-21-1990-21:06-wht@n4hgf-CUF and CUB set non-ansi cursor incorrectly */
  125. X  /*:12-20-1990-16:27-wht@n4hgf-had SU and SD swapped */
  126. X***************
  127. X*** 1102,1107
  128. X      {
  129. X          shmr_set_xmtr_bn_1();
  130. X          want_bell_notify = 1;
  131. X          bell_notify(XBELL_3T);
  132. X      }
  133. X      else if(rchar == 7)
  134. X
  135. X--- 1103,1109 -----
  136. X      {
  137. X          shmr_set_xmtr_bn_1();
  138. X          want_bell_notify = 1;
  139. X+ #if defined(M_SYSV)
  140. X          bell_notify(XBELL_3T);
  141. X  #endif
  142. X      }
  143. X***************
  144. X*** 1103,1108
  145. X          shmr_set_xmtr_bn_1();
  146. X          want_bell_notify = 1;
  147. X          bell_notify(XBELL_3T);
  148. X      }
  149. X      else if(rchar == 7)
  150. X      {
  151. X
  152. X--- 1105,1111 -----
  153. X          want_bell_notify = 1;
  154. X  #if defined(M_SYSV)
  155. X          bell_notify(XBELL_3T);
  156. X+ #endif
  157. X      }
  158. X      else if(rchar == 7)
  159. X      {
  160. X***************
  161. X*** 1106,1111
  162. X      }
  163. X      else if(rchar == 7)
  164. X      {
  165. X          bell_notify(XBELL_ATTENTION);
  166. X          return(0);
  167. X      }
  168. X
  169. X--- 1109,1115 -----
  170. X      }
  171. X      else if(rchar == 7)
  172. X      {
  173. X+ #if defined(M_SYSV)
  174. X          bell_notify(XBELL_ATTENTION);
  175. X  #endif
  176. X          return(0);
  177. X***************
  178. X*** 1107,1112
  179. X      else if(rchar == 7)
  180. X      {
  181. X          bell_notify(XBELL_ATTENTION);
  182. X          return(0);
  183. X      }
  184. X  
  185. X
  186. X--- 1111,1117 -----
  187. X      {
  188. X  #if defined(M_SYSV)
  189. X          bell_notify(XBELL_ATTENTION);
  190. X+ #endif
  191. X          return(0);
  192. X      }
  193. X  
  194. X*** /u4/src/ecu3.01/ecushm.h    Mon Dec 24 22:33:00 1990
  195. X--- ecushm.h    Wed Jan  9 22:24:49 1991
  196. X***************
  197. X*** 9,15
  198. X  /*:11-28-1990-17:43-wht@n4hgf-move cursor_y, cursor_x to right after revision */
  199. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  200. X  
  201. X! #if defined(M_I386)
  202. X  #define FAR
  203. X  #else
  204. X  #define FAR far
  205. X
  206. X--- 9,15 -----
  207. X  /*:11-28-1990-17:43-wht@n4hgf-move cursor_y, cursor_x to right after revision */
  208. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  209. X  
  210. X! #if defined(i386) || defined(M_I386)
  211. X  #define FAR
  212. X  #else
  213. X  #define FAR far
  214. X*** /u4/src/ecu3.01/ecusighdl.c    Tue Jan  1 23:05:26 1991
  215. X--- ecusighdl.c    Wed Jan  2 13:50:10 1991
  216. X***************
  217. X*** 183,190
  218. X      {
  219. X          case HANGUP_LINE_READ_ERROR: return("line read error");
  220. X          case HANGUP_XMTR_WRITE_ERROR: return("line write error");
  221. X!         case HANGUP_XMTR_LOGIC_ERROR: return("XMTR LOGIC ERROR");
  222. X!         case HANGUP_RCVR_LOGIC_ERROR: return("RCVR LOGIC ERROR");
  223. X          case HANGUP_BSD4_IOCTL: return("BSD4 ioctl error");
  224. X          case HANGUP_SHM_ABL: return("SHM ABL error");
  225. X          case HANGUP_SHM_RTL: return("SHM RTL error");
  226. X
  227. X--- 183,190 -----
  228. X      {
  229. X          case HANGUP_LINE_READ_ERROR: return("line read error");
  230. X          case HANGUP_XMTR_WRITE_ERROR: return("line write error");
  231. X!         case HANGUP_XMTR_LOGIC_ERROR: return("detected XMTR LOGIC ERROR");
  232. X!         case HANGUP_RCVR_LOGIC_ERROR: return("detected RCVR LOGIC ERROR");
  233. X          case HANGUP_BSD4_IOCTL: return("BSD4 ioctl error");
  234. X          case HANGUP_SHM_ABL: return("SHM ABL error");
  235. X          case HANGUP_SHM_RTL: return("SHM RTL error");
  236. X*** /u4/src/ecu3.01/ecutty.c    Tue Jan  1 23:05:28 1991
  237. X--- ecutty.c    Tue Jan  8 03:09:30 1991
  238. X***************
  239. X*** 31,36
  240. X  #include "ecuxkey.h"
  241. X  #include "ecuerror.h"
  242. X  #include "ecuhangup.h"
  243. X  #include <sys/machdep.h>
  244. X  
  245. X  #define DEFINE_TTY_DATA
  246. X
  247. X--- 31,37 -----
  248. X  #include "ecuxkey.h"
  249. X  #include "ecuerror.h"
  250. X  #include "ecuhangup.h"
  251. X+ #if defined(M_SYSV)
  252. X  #include <sys/machdep.h>
  253. X  #else
  254. X  #  include <sys/at_ansi.h>
  255. X***************
  256. X*** 32,37
  257. X  #include "ecuerror.h"
  258. X  #include "ecuhangup.h"
  259. X  #include <sys/machdep.h>
  260. X  
  261. X  #define DEFINE_TTY_DATA
  262. X  #include "ecutty.h"
  263. X
  264. X--- 33,42 -----
  265. X  #include "ecuhangup.h"
  266. X  #if defined(M_SYSV)
  267. X  #include <sys/machdep.h>
  268. X+ #else
  269. X+ #  include <sys/at_ansi.h>
  270. X+ #  include <sys/kd.h>
  271. X+ #endif
  272. X  
  273. X  #define DEFINE_TTY_DATA
  274. X  #include "ecutty.h"
  275. X*** /u4/src/ecu3.01/ecuungetty/Makefile    Sat Oct 20 14:30:00 1990
  276. X--- ecuungetty/Makefile    Tue Jan  8 04:36:26 1991
  277. X***************
  278. X*** 13,19
  279. X  #:11-23-1989-02:37-wht-start support for UNIX V/386
  280. X  #:11-02-1989-16:00-wht-unet2 release
  281. X  
  282. X! CFLAGS = `sysdep =M_I386 -O =M_I286 -O -M2le`
  283. X  
  284. X  OBJ = \
  285. X      ../ecuuclc.o\
  286. X
  287. X--- 13,19 -----
  288. X  #:11-23-1989-02:37-wht-start support for UNIX V/386
  289. X  #:11-02-1989-16:00-wht-unet2 release
  290. X  
  291. X! CFLAGS = `sysdep =M_I386 -O =M_I286 -O -M2le =ISC`
  292. X  
  293. X  OBJ = \
  294. X      ../ecuuclc.o\
  295. X***************
  296. X*** 23,30
  297. X      ecuungetty.o
  298. X  
  299. X  #overriden by master make file
  300. X! ECULIBDIR = /usr/lib/ecu
  301. X! #ECULIBDIR = /usr/local/lib/ecu
  302. X  
  303. X  all: ecuungetty
  304. X  
  305. X
  306. X--- 23,29 -----
  307. X      ecuungetty.o
  308. X  
  309. X  #overriden by master make file
  310. X! ECULIBDIR = /usr/local/lib/ecu
  311. X  
  312. X  all: ecuungetty
  313. X  
  314. X*** /u4/src/ecu3.01/ecuutil.c    Tue Jan  1 23:05:30 1991
  315. X--- ecuutil.c    Tue Jan  8 03:09:33 1991
  316. X***************
  317. X*** 543,549
  318. X                  (flag & CREAD ) ? 1 : 0,
  319. X                  (flag & HUPCL ) ? 1 : 0,
  320. X                  (flag & CLOCAL) ? 1 : 0);
  321. X! #ifdef RTSFLOW
  322. X      pprintf(" RTSFLOW:%d  CTSFLOW:%d",
  323. X                  (flag & RTSFLOW ) ? 1 : 0,
  324. X                  (flag & CTSFLOW ) ? 1 : 0);
  325. X
  326. X--- 543,549 -----
  327. X                  (flag & CREAD ) ? 1 : 0,
  328. X                  (flag & HUPCL ) ? 1 : 0,
  329. X                  (flag & CLOCAL) ? 1 : 0);
  330. X! #if defined(RTSFLOW)    /* only SCO */
  331. X      pprintf(" RTSFLOW:%d  CTSFLOW:%d",
  332. X                  (flag & RTSFLOW ) ? 1 : 0,
  333. X                  (flag & CTSFLOW ) ? 1 : 0);
  334. X***************
  335. X*** 735,741
  336. X  {
  337. X  static char home_directory[256] = "";
  338. X  struct passwd *pwent;
  339. X- struct passwd *getpwuid();
  340. X  
  341. X      if(home_directory[0])
  342. X      {
  343. X
  344. X--- 735,740 -----
  345. X  {
  346. X  static char home_directory[256] = "";
  347. X  struct passwd *pwent;
  348. X  
  349. X      if(home_directory[0])
  350. X      {
  351. X***************
  352. X*** 760,766
  353. X   Directory-creating routines from Public Domain TAR by John Gilmore
  354. X   Make a directory.  Compatible with the mkdir() system call on 4.2BSD.
  355. X  --------------------------------------------------------------------------*/
  356. X! #if !defined(M_UNIX) || defined(__GNUC__)
  357. X  #define    TERM_SIGNAL(status)        ((status) & 0x7F)
  358. X  #define TERM_COREDUMP(status)    (((status) & 0x80) != 0)
  359. X  #define TERM_VALUE(status)        ((status) >> 8)
  360. X
  361. X--- 759,765 -----
  362. X   Directory-creating routines from Public Domain TAR by John Gilmore
  363. X   Make a directory.  Compatible with the mkdir() system call on 4.2BSD.
  364. X  --------------------------------------------------------------------------*/
  365. X! #if !defined(M_UNIX)
  366. X  #define    TERM_SIGNAL(status)        ((status) & 0x7F)
  367. X  #define TERM_COREDUMP(status)    (((status) & 0x80) != 0)
  368. X  #define TERM_VALUE(status)        ((status) >> 8)
  369. X*** /u4/src/ecu3.01/ecuxenix.c    Tue Jan  1 23:05:31 1991
  370. X--- ecuxenix.c    Wed Jan  9 22:31:28 1991
  371. X***************
  372. X*** 20,25
  373. X    This module is a grab bag for historical reasons.  Needs reorg.
  374. X  ------------------------------------------------------------------*/
  375. X  /*+:EDITS:*/
  376. X  /*:12-04-1990-03:55-wht@n4hgf-bell_notify only if on multiscreen */
  377. X  /*:09-19-1990-19:36-wht@n4hgf-ecu_log_event now gets pid for log from caller */
  378. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  379. X
  380. X--- 20,26 -----
  381. X    This module is a grab bag for historical reasons.  Needs reorg.
  382. X  ------------------------------------------------------------------*/
  383. X  /*+:EDITS:*/
  384. X+ /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  385. X  /*:12-04-1990-03:55-wht@n4hgf-bell_notify only if on multiscreen */
  386. X  /*:09-19-1990-19:36-wht@n4hgf-ecu_log_event now gets pid for log from caller */
  387. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  388. X***************
  389. X*** 415,421
  390. X  char devname[64];
  391. X  int devnum;
  392. X  int ttnum;
  393. X! long time(long *);
  394. X  
  395. X      if(!tty_is_multiscreen)
  396. X      {
  397. X
  398. X--- 416,422 -----
  399. X  char devname[64];
  400. X  int devnum;
  401. X  int ttnum;
  402. X! long time();
  403. X  
  404. X      if(!tty_is_multiscreen)
  405. X      {
  406. X***************
  407. X*** 539,545
  408. X  /*+-------------------------------------------------------------------------
  409. X      rename(from,to)
  410. X  --------------------------------------------------------------------------*/
  411. X! #if !defined(M_UNIX) || defined(__GNUC__)
  412. X  rename(from,to)
  413. X  char *from;
  414. X  char *to;
  415. X
  416. X--- 540,546 -----
  417. X  /*+-------------------------------------------------------------------------
  418. X      rename(from,to)
  419. X  --------------------------------------------------------------------------*/
  420. X! #if !defined(M_UNIX)
  421. X  rename(from,to)
  422. X  char *from;
  423. X  char *to;
  424. X*** /u4/src/ecu3.01/gendial/dceMC9624.c    Thu Nov 29 18:31:00 1990
  425. X--- gendial/dceMC9624.c    Sat Jan  5 13:48:04 1991
  426. X***************
  427. X*** 6,11
  428. X      wht@n4hgf.Mt-Park.GA.US
  429. X  --------------------------------------------------------------------------*/
  430. X  /*+:EDITS:*/
  431. X  /*:11-29-1990-18:31-r@n4hgf-revision/1st releasable */
  432. X  /*:07-24-1990-15:36-wht@n4hgf-add speaker on/off */
  433. X  /*:07-20-1990-00:10-wht@n4hgf-creation */
  434. X
  435. X--- 6,12 -----
  436. X      wht@n4hgf.Mt-Park.GA.US
  437. X  --------------------------------------------------------------------------*/
  438. X  /*+:EDITS:*/
  439. X+ /*:01-05-1991-13:48-root@n4hgf-ATZ during reset - modem is flakey */
  440. X  /*:11-29-1990-18:31-r@n4hgf-revision/1st releasable */
  441. X  /*:07-24-1990-15:36-wht@n4hgf-add speaker on/off */
  442. X  /*:07-20-1990-00:10-wht@n4hgf-creation */
  443. X***************
  444. X*** 189,194
  445. X  void
  446. X  DCE_hangup()
  447. X  {
  448. X  char *dialin = "ATS0=1Q1E0M0\\N3\\Q1\\G1%C1%P2\r";
  449. X  
  450. X      DEBUG(7,"INITIALIZING %s\n",dce_name);
  451. X
  452. X--- 190,196 -----
  453. X  void
  454. X  DCE_hangup()
  455. X  {
  456. X+ char *reset_it = "ATZ\r";
  457. X  char *dialin = "ATS0=1Q1E0M0\\N3\\Q1\\G1%C1%P2\r";
  458. X  
  459. X      DEBUG(7,"INITIALIZING %s\n",dce_name);
  460. X***************
  461. X*** 195,200
  462. X  
  463. X      ltoggleDTR(2000L);
  464. X      sync_Microcom();
  465. X      lwrite(dialin);
  466. X      nap(500L);
  467. X  
  468. X
  469. X--- 197,204 -----
  470. X  
  471. X      ltoggleDTR(2000L);
  472. X      sync_Microcom();
  473. X+     lwrite(reset_it);
  474. X+     lread_ignore(5);
  475. X      lwrite(dialin);
  476. X      nap(500L);
  477. X  
  478. X*** /u4/src/ecu3.01/gendial/dceT1000.c    Wed Dec 26 05:02:00 1990
  479. X--- gendial/dceT1000.c    Wed Jan  2 02:37:04 1991
  480. X***************
  481. X*** 298,304
  482. X  DCE_hangup()
  483. X  {
  484. X      DEBUG(7,"RESETING %s\n",dce_name);
  485. X!     ltoggle_DTR(0L);
  486. X      nap(100L);
  487. X      init_TBPlus();
  488. X  
  489. X
  490. X--- 298,304 -----
  491. X  DCE_hangup()
  492. X  {
  493. X      DEBUG(7,"RESETING %s\n",dce_name);
  494. X!     ltoggleDTR(0L);
  495. X      nap(100L);
  496. X      init_TBPlus();
  497. X  
  498. X*** /u4/src/ecu3.01/gendial/dceT2500.c    Mon Dec 24 17:55:00 1990
  499. X--- gendial/dceT2500.c    Wed Jan  2 02:37:05 1991
  500. X***************
  501. X*** 303,309
  502. X  {
  503. X  #ifdef TRUSTING
  504. X      DEBUG(7,"RESETING %s\n",dce_name);
  505. X!     ltoggle_DTR(0L);
  506. X      lwrite("ATZ\r");
  507. X      (void)lread_ignore(1);
  508. X  #else /* !TRUSTING */
  509. X
  510. X--- 303,309 -----
  511. X  {
  512. X  #ifdef TRUSTING
  513. X      DEBUG(7,"RESETING %s\n",dce_name);
  514. X!     ltoggleDTR(0L);
  515. X      lwrite("ATZ\r");
  516. X      (void)lread_ignore(1);
  517. X  #else /* !TRUSTING */
  518. X*** /u4/src/ecu3.01/gendial/dceTBPlus.c    Wed Dec 26 04:55:00 1990
  519. X--- gendial/dceTBPlus.c    Wed Jan  2 02:37:05 1991
  520. X***************
  521. X*** 298,304
  522. X  {
  523. X  #ifdef TRUSTING
  524. X      DEBUG(7,"RESETING %s\n",dce_name);
  525. X!     ltoggle_DTR(0L);
  526. X      lwrite("ATZ\r");
  527. X      (void)lread_ignore(1);
  528. X  #else /* !TRUSTING */
  529. X
  530. X--- 298,304 -----
  531. X  {
  532. X  #ifdef TRUSTING
  533. X      DEBUG(7,"RESETING %s\n",dce_name);
  534. X!     ltoggleDTR(0L);
  535. X      lwrite("ATZ\r");
  536. X      (void)lread_ignore(1);
  537. X  #else /* !TRUSTING */
  538. X*** /u4/src/ecu3.01/gendial/gendial.c    Fri Aug 31 14:57:00 1990
  539. X--- gendial/gendial.c    Wed Jan  2 02:42:57 1991
  540. X***************
  541. X*** 631,637
  542. X                  break;
  543. X          }
  544. X          ff(se,"%s exec error %d (%s)\n",ungetty,errno,sys_errlist[errno]);
  545. X!         __exit(-1);
  546. X      }
  547. X  
  548. X      while(((itmp = wait(&wait_status)) != pid) && itmp != -1)
  549. X
  550. X--- 631,637 -----
  551. X                  break;
  552. X          }
  553. X          ff(se,"%s exec error %d (%s)\n",ungetty,errno,sys_errlist[errno]);
  554. X!         _exit(-1);
  555. X      }
  556. X  
  557. X      while(((itmp = wait(&wait_status)) != pid) && itmp != -1)
  558. X*** /u4/src/ecu3.01/gint.c    Mon Dec 24 22:38:00 1990
  559. X--- gint.c    Wed Jan  9 22:31:27 1991
  560. X***************
  561. X*** 11,16
  562. X  
  563. X  --------------------------------------------------------------------------*/
  564. X  /*+:EDITS:*/
  565. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  566. X  
  567. X  #include "ecu.h"
  568. X
  569. X--- 11,17 -----
  570. X  
  571. X  --------------------------------------------------------------------------*/
  572. X  /*+:EDITS:*/
  573. X+ /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  574. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  575. X  
  576. X  #include "ecu.h"
  577. X***************
  578. X*** 253,259
  579. X              int_accum %= int1;
  580. X              break;
  581. X          case OP_XOR:
  582. X!             (unsigned)int_accum ^= (unsigned)int1;
  583. X              break;
  584. X          case OP_AND:
  585. X              (unsigned)int_accum &= (unsigned)int1;
  586. X
  587. X--- 254,260 -----
  588. X              int_accum %= int1;
  589. X              break;
  590. X          case OP_XOR:
  591. X!             int_accum ^= (unsigned)int1;
  592. X              break;
  593. X          case OP_AND:
  594. X              int_accum &= (unsigned)int1;
  595. X***************
  596. X*** 256,262
  597. X              (unsigned)int_accum ^= (unsigned)int1;
  598. X              break;
  599. X          case OP_AND:
  600. X!             (unsigned)int_accum &= (unsigned)int1;
  601. X              break;
  602. X          case OP_OR:
  603. X              (unsigned)int_accum |= (unsigned)int1;
  604. X
  605. X--- 257,263 -----
  606. X              int_accum ^= (unsigned)int1;
  607. X              break;
  608. X          case OP_AND:
  609. X!             int_accum &= (unsigned)int1;
  610. X              break;
  611. X          case OP_OR:
  612. X              int_accum |= (unsigned)int1;
  613. X***************
  614. X*** 259,265
  615. X              (unsigned)int_accum &= (unsigned)int1;
  616. X              break;
  617. X          case OP_OR:
  618. X!             (unsigned)int_accum |= (unsigned)int1;
  619. X              break;
  620. X          default:
  621. X              return(eInvalidIntOp);
  622. X
  623. X--- 260,266 -----
  624. X              int_accum &= (unsigned)int1;
  625. X              break;
  626. X          case OP_OR:
  627. X!             int_accum |= (unsigned)int1;
  628. X              break;
  629. X          default:
  630. X              return(eInvalidIntOp);
  631. X*** /u4/src/ecu3.01/help/Makefile    Mon Aug 13 18:48:00 1990
  632. X--- help/Makefile    Tue Jan  8 04:37:16 1991
  633. X***************
  634. X*** 12,19
  635. X  SHELL = /bin/sh
  636. X  .SUFFIXES: .o .c .h  
  637. X  
  638. X! COMFLAGS = -s
  639. X! CFLAGS  = -c `sysdep =M_UNIX -O -DLINT_ARGS =M_XENIX -Ox -DLINT_ARGS =pyr -O` $(COMFLAGS)
  640. X  LDFLAGS = # -m helpgen.map
  641. X  
  642. X  .c.o:;    cc $(CFLAGS) $*.c 
  643. X
  644. X--- 12,19 -----
  645. X  SHELL = /bin/sh
  646. X  .SUFFIXES: .o .c .h  
  647. X  
  648. X! COMFLAGS =
  649. X! CFLAGS  = -c `sysdep =M_UNIX -O -DLINT_ARGS =M_XENIX -Ox -DLINT_ARGS =ISC` $(COMFLAGS)
  650. X  LDFLAGS = # -m helpgen.map
  651. X  
  652. X  .c.o:;    cc $(CFLAGS) $*.c 
  653. X*** /u4/src/ecu3.01/help/helpgen.c    Tue Aug 14 20:42:00 1990
  654. X--- help/helpgen.c    Tue Jan  8 03:09:35 1991
  655. X***************
  656. X*** 20,26
  657. X  #include <stdio.h>
  658. X  #include <ctype.h>
  659. X  
  660. X! #if defined(M_SYS5)
  661. X  #if !defined(LINT_ARGS)
  662. X  #define LINT_ARGS
  663. X  #endif
  664. X
  665. X--- 20,26 -----
  666. X  #include <stdio.h>
  667. X  #include <ctype.h>
  668. X  
  669. X! #if defined(M_SYSV)
  670. X  #if !defined(LINT_ARGS)
  671. X  #define LINT_ARGS
  672. X  #endif
  673. X***************
  674. X*** 26,31
  675. X  #endif
  676. X  #endif
  677. X  # include "lint_args.h"
  678. X  
  679. X  #define DECLARE_P_CMD
  680. X  #define HELPGEN
  681. X
  682. X--- 26,33 -----
  683. X  #endif
  684. X  #endif
  685. X  # include "lint_args.h"
  686. X+ #include <sys/types.h>
  687. X+ #include <termio.h>
  688. X  
  689. X  #define DECLARE_P_CMD
  690. X  #define HELPGEN
  691. X*** /u4/src/ecu3.01/lint_args.h    Tue Jan  1 23:05:40 1991
  692. X--- lint_args.h    Wed Jan  9 21:13:22 1991
  693. X***************
  694. X*** 4,11
  695. X  /*+:EDITS:*/
  696. X  /*:12-04-1990-05:10-afterlint-creation */
  697. X  
  698. X! #ifndef BUILDING_LINT_ARGS
  699. X! #ifdef LINT_ARGS
  700. X  
  701. X  /* bamboozle.c */
  702. X  char *bamboozle(int );
  703. X
  704. X--- 4,11 -----
  705. X  /*+:EDITS:*/
  706. X  /*:12-04-1990-05:10-afterlint-creation */
  707. X  
  708. X! #ifndef BUILDING_PROTOTYPES
  709. X! #ifdef __STDC__
  710. X  
  711. X  /* bamboozle.c */
  712. X  char *bamboozle(int );
  713. X***************
  714. X*** 975,981
  715. X  void mkv_proc_terminating();
  716. X  void var_init();
  717. X  
  718. X! #endif /* LINT_ARGS */
  719. X! #endif /* BUILDING_LINT_ARGS */
  720. X  
  721. X  /* end of lint_args.h */
  722. X
  723. X--- 975,981 -----
  724. X  void mkv_proc_terminating();
  725. X  void var_init();
  726. X  
  727. X! #endif /* __STDC__ */
  728. X! #endif /* BUILDING_PROTOTYPES */
  729. X  
  730. X  /* end of lint_args.h */
  731. X*** /u4/src/ecu3.01/nonansikey.c    Mon Dec 24 22:40:00 1990
  732. X--- nonansikey.c    Wed Jan  2 16:11:26 1991
  733. X***************
  734. X*** 163,169
  735. X  char *name;
  736. X  {
  737. X  register itmp;
  738. X- register char *cptr;
  739. X  char buf[128];
  740. X  FILE *fp_keys;
  741. X  int errstat = 0;
  742. X
  743. X--- 163,168 -----
  744. X  char *name;
  745. X  {
  746. X  register itmp;
  747. X  char buf[128];
  748. X  FILE *fp_keys;
  749. X  int errstat = 0;
  750. X*** /u4/src/ecu3.01/pcmd.c    Wed Dec 26 02:34:00 1990
  751. X--- pcmd.c    Wed Jan  9 22:31:26 1991
  752. X***************
  753. X*** 29,34
  754. X  
  755. X  --------------------------------------------------------------------------*/
  756. X  /*+:EDITS:*/
  757. X  /*:12-26-1990-02:34-wht@n4hgf-add cmd_rtscts */
  758. X  /*:12-03-1990-04:59-wht@n4hgf-beef up pcmd_exit */
  759. X  /*:09-19-1990-19:36-wht@n4hgf-ecu_log_event now gets pid for log from caller */
  760. X
  761. X--- 29,35 -----
  762. X  
  763. X  --------------------------------------------------------------------------*/
  764. X  /*+:EDITS:*/
  765. X+ /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  766. X  /*:12-26-1990-02:34-wht@n4hgf-add cmd_rtscts */
  767. X  /*:12-03-1990-04:59-wht@n4hgf-beef up pcmd_exit */
  768. X  /*:09-19-1990-19:36-wht@n4hgf-ecu_log_event now gets pid for log from caller */
  769. X***************
  770. X*** 1112,1117
  771. X  /*+-------------------------------------------------------------------------
  772. X      pcmd_rtscts(param)
  773. X  --------------------------------------------------------------------------*/
  774. X  int
  775. X  pcmd_rtscts(param)
  776. X  ESD *param;
  777. X
  778. X--- 1113,1119 -----
  779. X  /*+-------------------------------------------------------------------------
  780. X      pcmd_rtscts(param)
  781. X  --------------------------------------------------------------------------*/
  782. X+ #if defined(RTSFLOW)
  783. X  int
  784. X  pcmd_rtscts(param)
  785. X  ESD *param;
  786. X***************
  787. X*** 1137,1142
  788. X      return(erc);
  789. X  
  790. X  }    /* end of pcmd_rtscts */
  791. X  
  792. X  /* vi: set tabstop=4 shiftwidth=4: */
  793. X  /* end of pcmd.c */
  794. X
  795. X--- 1139,1145 -----
  796. X      return(erc);
  797. X  
  798. X  }    /* end of pcmd_rtscts */
  799. X+ #endif /* RTSFLOW */
  800. X  
  801. X  /* vi: set tabstop=4 shiftwidth=4: */
  802. X  /* end of pcmd.c */
  803. X*** /u4/src/ecu3.01/pprintf.c    Mon Dec 24 22:43:00 1990
  804. X--- pprintf.c    Wed Jan  9 22:31:26 1991
  805. X***************
  806. X*** 2,7
  807. X      pprintf.c - preocedure printf
  808. X  --------------------------------------------------------------------------*/
  809. X  /*+:EDITS:*/
  810. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  811. X  
  812. X  /* based on Portable vsprintf  by Robert A. Larson <blarson@skat.usc.edu> */
  813. X
  814. X--- 2,8 -----
  815. X      pprintf.c - preocedure printf
  816. X  --------------------------------------------------------------------------*/
  817. X  /*+:EDITS:*/
  818. X+ /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  819. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  820. X  
  821. X  /* based on Portable vsprintf  by Robert A. Larson <blarson@skat.usc.edu> */
  822. X***************
  823. X*** 19,25
  824. X   * The use of goto is NOT a bug.
  825. X   */
  826. X  
  827. X! #if !defined(BUILDING_LINT_ARGS)
  828. X  
  829. X  #include <stdio.h>
  830. X  #include <varargs.h>
  831. X
  832. X--- 20,26 -----
  833. X   * The use of goto is NOT a bug.
  834. X   */
  835. X  
  836. X! #if !defined(BUILDING_PROTOTYPES)
  837. X  
  838. X  #include <stdio.h>
  839. X  #include <varargs.h>
  840. X***************
  841. X*** 112,118
  842. X                  dp += sprintf(dp,tempfmt,va_arg(args,double));
  843. X                  break;
  844. X              case 'p':
  845. X! #if defined(M_I386)
  846. X                  dp += sprintf(dp,"0x%08lx",va_arg(args,pointer));
  847. X  #else
  848. X  #if defined(M_I286)
  849. X
  850. X--- 113,119 -----
  851. X                  dp += sprintf(dp,tempfmt,va_arg(args,double));
  852. X                  break;
  853. X              case 'p':
  854. X! #if defined(i386) || defined(M_I386)
  855. X                  dp += sprintf(dp,"0x%08lx",va_arg(args,pointer));
  856. X  #else
  857. X  #if defined(M_I286)
  858. X***************
  859. X*** 166,172
  860. X      va_end(args);
  861. X      pputs(accum_string);
  862. X  }    /* end of pprintf */
  863. X! #endif /* !defined(BUILDING_LINT_ARGS) */
  864. X  
  865. X  /* vi: set tabstop=4 shiftwidth=4: */
  866. X  /* end of pprintf.c */
  867. X
  868. X--- 167,173 -----
  869. X      va_end(args);
  870. X      pputs(accum_string);
  871. X  }    /* end of pprintf */
  872. X! #endif /* !defined(BUILDING_PROTOTYPES) */
  873. X  
  874. X  /* vi: set tabstop=4 shiftwidth=4: */
  875. X  /* end of pprintf.c */
  876. X*** /u4/src/ecu3.01/sea/Makefile    Fri Aug 17 11:49:00 1990
  877. X--- sea/Makefile    Tue Jan  8 04:37:40 1991
  878. X***************
  879. X*** 10,16
  880. X  #:10-11-1989-18:46-wht-needed more work to get makes to work away from my system
  881. X  #:07-03-1989-22:58-wht------ x2.00 -----
  882. X  
  883. X! CFLAGS = -i -K -DLINT_ARGS `sysdep =M_I386 -DM_TERMCAP -Oactl =M_I286 -M2 -O`
  884. X  LFLAGS = -lx -ltcap -ltermlib
  885. X  
  886. X  SRC = \
  887. X
  888. X--- 10,16 -----
  889. X  #:10-11-1989-18:46-wht-needed more work to get makes to work away from my system
  890. X  #:07-03-1989-22:58-wht------ x2.00 -----
  891. X  
  892. X! CFLAGS = -DLINT_ARGS `sysdep =M_I386 -DM_TERMCAP -Oactl =M_I286 -M2 -O =ISC`
  893. X  LFLAGS = -lx -ltcap -ltermlib
  894. X  
  895. X  SRC = \
  896. X*** /u4/src/ecu3.01/stdio_lint.h    Mon Dec 24 22:44:00 1990
  897. X--- stdio_lint.h    Wed Jan  9 21:13:22 1991
  898. X***************
  899. X*** 5,11
  900. X  /*+:EDITS:*/
  901. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  902. X  
  903. X! #if defined(LINT_ARGS)
  904. X  char *gets(char *);
  905. X  char *getenv(char *);
  906. X  int access(char *,int);
  907. X
  908. X--- 5,11 -----
  909. X  /*+:EDITS:*/
  910. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  911. X  
  912. X! #if defined(__STDC__)
  913. X  char *gets(char *);
  914. X  char *getenv(char *);
  915. X  int access(char *,int);
  916. X*** /u4/src/ecu3.01/sysdep.c    Mon Dec 24 22:44:00 1990
  917. X--- sysdep.c    Wed Jan  9 22:31:35 1991
  918. X***************
  919. X*** 2,7
  920. X      sysdep.c -- system dependency aid
  921. X  --------------------------------------------------------------------------*/
  922. X  /*+:EDITS:*/
  923. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  924. X  
  925. X  #include <stdio.h>
  926. X
  927. X--- 2,9 -----
  928. X      sysdep.c -- system dependency aid
  929. X  --------------------------------------------------------------------------*/
  930. X  /*+:EDITS:*/
  931. X+ /*:01-09-1991-22:31-wht@n4hgf-ISC port */
  932. X+ /*:01-09-1991-21:02-wht@n4hgf-add ISC and ISC22 */
  933. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  934. X  
  935. X  #include <stdio.h>
  936. X***************
  937. X*** 59,64
  938. X  #endif
  939. X  #if defined(M_INTERNAT)
  940. X      "M_INTERNAT",
  941. X  #endif
  942. X      (char *)0
  943. X  };
  944. X
  945. X--- 61,72 -----
  946. X  #endif
  947. X  #if defined(M_INTERNAT)
  948. X      "M_INTERNAT",
  949. X+ #endif
  950. X+ #if defined(ISC)
  951. X+     "ISC",
  952. X+ #endif
  953. X+ #if defined(ISC22)
  954. X+     "ISC22",
  955. X  #endif
  956. X      (char *)0
  957. X  };
  958. X*** /u4/src/ecu3.01/utmpstat.c    Mon Dec 24 22:44:00 1990
  959. X--- utmpstat.c    Fri Jan  4 18:20:59 1991
  960. X***************
  961. X*** 101,109
  962. X          idcopy[sizeof(idcopy) - 1] = 0;
  963. X  
  964. X  #if defined(M_UNIX)
  965. X!         if((!strncmp(namecopy,"uugetty",7) ||
  966. X!          !strncmp(namecopy,"getty",5)) &&
  967. X!          (ulindex(idcopy,line + 8) == (strlen(idcopy) - 2)))
  968. X          {
  969. X              if(itmp = line_locked(line))
  970. X                  status = US_DIALOUT;
  971. X
  972. X--- 101,110 -----
  973. X          idcopy[sizeof(idcopy) - 1] = 0;
  974. X  
  975. X  #if defined(M_UNIX)
  976. X!         if(!strncmp(namecopy,"LOGIN",5))
  977. X!             status = US_LOGIN;
  978. X!         else if((!strncmp(namecopy,"uugetty",7) ||
  979. X!             !strncmp(namecopy,"getty",5)))
  980. X          {
  981. X              if(itmp = line_locked(line))
  982. X                  status = US_DIALOUT;
  983. X*** /u4/src/ecu3.01/z/Makefile    Tue Dec  4 05:40:00 1990
  984. X--- z/Makefile    Tue Jan  8 04:38:50 1991
  985. X***************
  986. X*** 15,22
  987. X  
  988. X  .SUFFIXES: .o .c .h  
  989. X  
  990. X! SYSTEM = `sysdep =M_UNIX UNIX Sys V/386 =M_I386 Xenix/386 =M_I286 Xenix/286`
  991. X! COMFLAGS = -i `sysdep =M_I386 -Octl -CSON  =M_I286 -M2le -O -F 1000 -LARGE`
  992. X  CFLAGS = -c $(EXTRA) $(COMFLAGS) -DMD -DLINT_ARGS -DREADCHECK -DLOG_XFER -DM_TERMCAP
  993. X  
  994. X  LDFLAGS = -ltcap -ltermlib -lx
  995. X
  996. X--- 15,24 -----
  997. X  
  998. X  .SUFFIXES: .o .c .h  
  999. X  
  1000. X! SYSTEM =\
  1001. X! `sysdep =M_UNIX UNIX Sys V/386 =M_I386 Xenix/386 =M_I286 Xenix/286 =ISC ISC`
  1002. X! COMFLAGS =\
  1003. X! `sysdep =M_I386 -Octl -CSON  =M_I286 -M2le -O -F 1000 -LARGE =ISC -O`
  1004. X  CFLAGS = -c $(EXTRA) $(COMFLAGS) -DMD -DLINT_ARGS -DREADCHECK -DLOG_XFER -DM_TERMCAP
  1005. X  
  1006. X  LDFLAGS = -ltcap -ltermlib -lx
  1007. X*** /u4/src/ecu3.01/z/zcurses.c    Wed Dec 26 00:32:00 1990
  1008. X--- z/zcurses.c    Fri Jan  4 15:54:30 1991
  1009. X***************
  1010. X*** 57,62
  1011. X  
  1012. X  ------------------------------------------------------------------------*/
  1013. X  /*+:EDITS:*/
  1014. X  /*:12-18-1990-21:26-wht@n4hgf-better output control */
  1015. X  /*:12-04-1990-04:07-wht@n4hgf-handle slow terminal using faster line */
  1016. X  /*:12-04-1990-03:04-wht@n4hgf-choose ruling chars based on multiscreen or not */
  1017. X
  1018. X--- 57,63 -----
  1019. X  
  1020. X  ------------------------------------------------------------------------*/
  1021. X  /*+:EDITS:*/
  1022. X+ /*:01-04-1991-15:54-wht@n4hgf-no_curses per-file xfer rate was wrong */
  1023. X  /*:12-18-1990-21:26-wht@n4hgf-better output control */
  1024. X  /*:12-04-1990-04:07-wht@n4hgf-handle slow terminal using faster line */
  1025. X  /*:12-04-1990-03:04-wht@n4hgf-choose ruling chars based on multiscreen or not */
  1026. X***************
  1027. X*** 115,120
  1028. X  int no_curses = 0;
  1029. X  int no_curses_pos = 0;
  1030. X  int this_file_errors;
  1031. X  int total_errors;
  1032. X  int show_window = 0;
  1033. X  long current_seconds = 0;
  1034. X
  1035. X--- 116,122 -----
  1036. X  int no_curses = 0;
  1037. X  int no_curses_pos = 0;
  1038. X  int this_file_errors;
  1039. X+ long this_file_xfer_count = 0;
  1040. X  int total_errors;
  1041. X  int show_window = 0;
  1042. X  long current_seconds = 0;
  1043. X***************
  1044. X*** 1246,1251
  1045. X      }
  1046. X  
  1047. X      this_file_start_seconds = time((long *)0);
  1048. X  
  1049. X      if(no_curses)
  1050. X      {
  1051. X
  1052. X--- 1248,1254 -----
  1053. X      }
  1054. X  
  1055. X      this_file_start_seconds = time((long *)0);
  1056. X+     this_file_xfer_count = 0;
  1057. X  
  1058. X      if(no_curses)
  1059. X      {
  1060. X***************
  1061. X*** 1307,1312
  1062. X      }
  1063. X  
  1064. X      this_file_start_seconds = time((long *)0);
  1065. X  
  1066. X      if(no_curses)
  1067. X      {
  1068. X
  1069. X--- 1310,1316 -----
  1070. X      }
  1071. X  
  1072. X      this_file_start_seconds = time((long *)0);
  1073. X+     this_file_xfer_count = 0;
  1074. X  
  1075. X      if(no_curses)
  1076. X      {
  1077. X***************
  1078. X*** 1372,1378
  1079. X          no_curses_pos +=
  1080. X              printf("Transfer time was %s",get_elapsed_time(elapsed_seconds));
  1081. X          no_curses_newline();
  1082. X!         if(elapsed_seconds && (zcurses_baud_rate > 50))
  1083. X          {
  1084. X              rate = (float)total_data_chars_xfered / (float)elapsed_seconds;
  1085. X              if(zcurses_baud_rate)
  1086. X
  1087. X--- 1376,1382 -----
  1088. X          no_curses_pos +=
  1089. X              printf("Transfer time was %s",get_elapsed_time(elapsed_seconds));
  1090. X          no_curses_newline();
  1091. X!         if(this_file_xfer_count && elapsed_seconds && zcurses_baud_rate)
  1092. X          {
  1093. X              rate = (float)this_file_xfer_count / (float)elapsed_seconds;
  1094. X              if(zcurses_baud_rate)
  1095. X***************
  1096. X*** 1374,1380
  1097. X          no_curses_newline();
  1098. X          if(elapsed_seconds && (zcurses_baud_rate > 50))
  1099. X          {
  1100. X!             rate = (float)total_data_chars_xfered / (float)elapsed_seconds;
  1101. X              if(zcurses_baud_rate)
  1102. X                  eff  = 100.0 * (rate / ((float)zcurses_baud_rate / 10.0));
  1103. X          }
  1104. X
  1105. X--- 1378,1384 -----
  1106. X          no_curses_newline();
  1107. X          if(this_file_xfer_count && elapsed_seconds && zcurses_baud_rate)
  1108. X          {
  1109. X!             rate = (float)this_file_xfer_count / (float)elapsed_seconds;
  1110. X              if(zcurses_baud_rate)
  1111. X                  eff  = 100.0 * (rate / ((float)zcurses_baud_rate / 10.0));
  1112. X          }
  1113. X***************
  1114. X*** 1446,1451
  1115. X  {
  1116. X  
  1117. X      total_data_chars_xfered += (long)count;
  1118. X  
  1119. X      if(no_curses)
  1120. X      {
  1121. X
  1122. X--- 1450,1456 -----
  1123. X  {
  1124. X  
  1125. X      total_data_chars_xfered += (long)count;
  1126. X+     this_file_xfer_count = count;
  1127. X  
  1128. X      if(no_curses)
  1129. X      {
  1130. SHAR_EOF
  1131. chmod 0644 PATCH02.02 ||
  1132. echo 'restore of PATCH02.02 failed'
  1133. Wc_c="`wc -c < 'PATCH02.02'`"
  1134. test 28027 -eq "$Wc_c" ||
  1135.     echo 'PATCH02.02: original size 28027, current size' "$Wc_c"
  1136. # ============= ecunumrev.c ==============
  1137. echo 'x - extracting ecunumrev.c (Text)'
  1138. sed 's/^X//' << 'SHAR_EOF' > 'ecunumrev.c' &&
  1139. X/*+-----------------------------------------------------------------------
  1140. X    ecunumrev.c - revision numbers
  1141. X    wht@n4hgf.Mt-Park.GA.US
  1142. X------------------------------------------------------------------------*/
  1143. X/*+:EDITS:*/
  1144. X/*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  1145. X
  1146. X#if defined(M_I286) && !defined(NO_SELECT)
  1147. X#define NO_SELECT
  1148. X#endif
  1149. X
  1150. X#ifdef WHT
  1151. Xchar *numeric_revision = "wht3";
  1152. X#else
  1153. X#ifdef SCO
  1154. Xchar *numeric_revision = "sco3";
  1155. X#else
  1156. X#ifdef __GNUC__
  1157. Xchar *numeric_revision = "gcc3";
  1158. X#else
  1159. Xchar *numeric_revision = "unet3";
  1160. X#endif
  1161. X#endif
  1162. X#endif
  1163. X
  1164. X#if defined(ISC)
  1165. Xchar *revision_modifier = "-386i wht@n4hgf";
  1166. X#else
  1167. X#if defined(M_UNIX)
  1168. Xchar *revision_modifier = "-386u wht@n4hgf";
  1169. X#else
  1170. X#if defined(M_I386)
  1171. X#if defined(NO_SELECT)
  1172. Xchar *revision_modifier = "-386n wht@n4hgf";
  1173. X#else
  1174. Xchar *revision_modifier = "-386s wht@n4hgf";
  1175. X#endif
  1176. X#else
  1177. Xchar *revision_modifier = "-286n wht@n4hgf";
  1178. X#endif /* M_I386 */
  1179. X#endif /* M_UNIX */
  1180. X#endif /* ISC */
  1181. X
  1182. X/* vi: set tabstop=4 shiftwidth=4: */
  1183. SHAR_EOF
  1184. chmod 0644 ecunumrev.c ||
  1185. echo 'restore of ecunumrev.c failed'
  1186. Wc_c="`wc -c < 'ecunumrev.c'`"
  1187. test 997 -eq "$Wc_c" ||
  1188.     echo 'ecunumrev.c: original size 997, current size' "$Wc_c"
  1189. # ============= ecuvmin.h ==============
  1190. echo 'x - extracting ecuvmin.h (Text)'
  1191. sed 's/^X//' << 'SHAR_EOF' > 'ecuvmin.h' &&
  1192. X/*+-------------------------------------------------------------------------
  1193. X    xenixvmin.h  --  set line default VMIN
  1194. X    wht@n4hgf.Mt-Park.GA.US
  1195. X--------------------------------------------------------------------------*/
  1196. X/*+:EDITS:*/
  1197. X/*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  1198. X
  1199. X#if defined(BUILDING_PROTOTYPES)    /* if building lint_args.h ... */
  1200. X#define XENIX_VMIN        2    /* ... include vmin handling routines */
  1201. X#else
  1202. X#define XENIX_VMIN        1    /* this is the real value for vmin */
  1203. X#endif
  1204. X/* vi: set tabstop=4 shiftwidth=4: */
  1205. SHAR_EOF
  1206. chmod 0644 ecuvmin.h ||
  1207. echo 'restore of ecuvmin.h failed'
  1208. Wc_c="`wc -c < 'ecuvmin.h'`"
  1209. test 538 -eq "$Wc_c" ||
  1210.     echo 'ecuvmin.h: original size 538, current size' "$Wc_c"
  1211. # ============= patchlevel.h ==============
  1212. echo 'x - extracting patchlevel.h (Text)'
  1213. sed 's/^X//' << 'SHAR_EOF' > 'patchlevel.h' &&
  1214. X#define PATCHLEVEL 2
  1215. SHAR_EOF
  1216. chmod 0644 patchlevel.h ||
  1217. echo 'restore of patchlevel.h failed'
  1218. Wc_c="`wc -c < 'patchlevel.h'`"
  1219. test 21 -eq "$Wc_c" ||
  1220.     echo 'patchlevel.h: original size 21, current size' "$Wc_c"
  1221. exit 0
  1222.  
  1223. exit 0 # Just in case...
  1224. -- 
  1225. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  1226. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  1227. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  1228. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  1229.