home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume22 / ecu / patch04a < prev    next >
Encoding:
Text File  |  1991-08-29  |  50.4 KB  |  1,653 lines

  1. Newsgroups: comp.sources.misc
  2. From: Warren Tucker <wht@n4hgf.GA.US>
  3. Subject:  v22i077:  ecu - ECU async comm package rev 3.10, Patch04a/2
  4. Message-ID: <csm-v22i077=ecu.192846@sparky.imd.sterling.com>
  5. Date: Fri, 30 Aug 1991 00:29:20 GMT
  6. Approved: kent@sparky.imd.sterling.com
  7. X-Md4-Signature: 3fbb0411c02a7fe10b3b151591f4260d
  8.  
  9. Submitted-by: Warren Tucker <wht@n4hgf.GA.US>
  10. Posting-number: Volume 22, Issue 77
  11. Archive-name: ecu/patch04a
  12. Environment: SCO, XENIX, ISC, SUNOS4.1, SYSVR4
  13. Patch-To: ecu: Volume 21, Issue 53-89
  14.  
  15. This is patch 4 to ecu 3.10.  Primarily it deals with SVR4
  16. targets, but some ISC and system-independent improvements are present.
  17. Refer to README.P4.
  18.  
  19. Apply the patch by
  20.    patch -p < PATCH4.01
  21.  
  22. You *must* run the updated Configure procedure and fully reinstall.
  23. You do NOT havce to be root to install under SunOS or SYSVR4 if
  24. you have write access to all of the installed directories.  There
  25. is no need for the setuid ecuungetty program in these environments.
  26.  
  27. #!/bin/sh
  28. # This is ecu/patch4a (ECU 3.10 patch 4 part 1), a shell archive (shar 3.46)
  29. # made 08/28/1991 23:52 UTC by wht@n4hgf.GA.US
  30. # Source directory /export/home/wht/src/ecu
  31. #
  32. # existing files will NOT be overwritten unless -c is specified
  33. #
  34. # This is part 1 of a multipart archive                                    
  35. # do not concatenate these parts, unpack them in order with /bin/sh        
  36. #
  37. # This shar contains:
  38. # length  mode       name
  39. # ------ ---------- ------------------------------------------
  40. #   1049 -rw-rw-r-- README.P4
  41. #  83457 -rw-rw-r-- PATCH4.01
  42. #
  43. if test -r _shar_seq_.tmp; then
  44.     echo 'Must unpack archives in sequence!'
  45.     echo Please unpack part `cat _shar_seq_.tmp` next
  46.     exit 1
  47. fi
  48. # ============= README.P4 ==============
  49. if test -f 'README.P4' -a X"$1" != X"-c"; then
  50.     echo 'x - skipping README.P4 (File already exists)'
  51.     rm -f _shar_wnt_.tmp
  52. else
  53. > _shar_wnt_.tmp
  54. echo 'x - extracting README.P4 (Text)'
  55. sed 's/^X//' << 'SHAR_EOF' > 'README.P4' &&
  56. X
  57. XREADME.P4           ECU 3.10 Patch 4       Wed Aug 28 09:43:44 EDT 1991
  58. X
  59. XThis describes patch 4 to ECU 3.10, bringing the program to
  60. Xversion 3.14.
  61. X
  62. XThe majority of this patch deals with good work done by Paul
  63. XSlootman (slootman@dri.nl) on the SVR4 port.  From what he
  64. Xencountered, I am very very disappointed in some of the more anal
  65. XANSI C implementations out there.  Trigraphs suck and we all knew
  66. Xthat, but having to cast a constant in a comparison with
  67. Xstrlen???  (Excuse me -- that is a trigraph -- I must learn to
  68. Xsay \?\?\?).
  69. X
  70. XOh well, there are a few other kinds of fixes in here too: ISC
  71. Xshould be better off.  Some of the conditionally compiled code
  72. Xthat was running for SCO only should have been in for ISC too.
  73. X
  74. XI thought I had fixed the bad search for nonansikeys in
  75. XECULIBDIR/.ecu/ instead of ECULIBDIR/, but it is fixed now.
  76. X
  77. XTo use:
  78. X       patch -p < PATCH4.01
  79. X       Configure
  80. X       make
  81. X       su root (may not be necessary on Sun or SVR4 if you
  82. X               have write access to the installed directories)
  83. X       make install
  84. SHAR_EOF
  85. chmod 0664 README.P4 ||
  86. echo 'restore of README.P4 failed'
  87. Wc_c="`wc -c < 'README.P4'`"
  88. test 1049 -eq "$Wc_c" ||
  89.     echo 'README.P4: original size 1049, current size' "$Wc_c"
  90. rm -f _shar_wnt_.tmp
  91. fi
  92. # ============= PATCH4.01 ==============
  93. if test -f 'PATCH4.01' -a X"$1" != X"-c"; then
  94.     echo 'x - skipping PATCH4.01 (File already exists)'
  95.     rm -f _shar_wnt_.tmp
  96. else
  97. > _shar_wnt_.tmp
  98. echo 'x - extracting PATCH4.01 (Text)'
  99. sed 's/^X//' << 'SHAR_EOF' > 'PATCH4.01' &&
  100. Xdiff -c -r /export/home/wht/src/ecu313/Make.src ./Make.src
  101. X*** /export/home/wht/src/ecu313/Make.src    Wed Aug 28 19:34:40 1991
  102. X--- ./Make.src    Wed Aug 28 16:41:08 1991
  103. X***************
  104. X*** 25,32 ****
  105. X  .SUFFIXES: .o .c .h .l
  106. X  .c.o:;    $(BINTIME) $(CC) -c $(CFLAGS) $*.c 
  107. X  
  108. X! ECUSHARNAME=ecu313
  109. X! MANSHARNAME=ecuman313
  110. X  
  111. X  SRC    = \
  112. X      bamboozle.c\
  113. X--- 25,32 ----
  114. X  .SUFFIXES: .o .c .h .l
  115. X  .c.o:;    $(BINTIME) $(CC) -c $(CFLAGS) $*.c 
  116. X  
  117. X! ECUSHARNAME=ecu314
  118. X! MANSHARNAME=ecumar314
  119. X  
  120. X  SRC    = \
  121. X      bamboozle.c\
  122. X***************
  123. X*** 262,272 ****
  124. X  
  125. X  # for shar 3.46 or later
  126. X  shar: shar.fls
  127. X!     csh -c 'shar -m -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \
  128. X  -n$(ECUSHARNAME) -L53 -o/tmp/$(ECUSHARNAME) $(SHARFLS)' 
  129. X!     shar -m -F -c -C -L53 -o/tmp/ecu3cker -s "wht@n4hgf.Mt-Park.GA.US" -a \
  130. X  -necu3cker ckermit/ckermit
  131. X!     shar -m -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \
  132. X  -n$(MANSHARNAME) -L53 -o/tmp/$(MANSHARNAME) doc/ecu.man doc/exits.man
  133. X  
  134. X  # tools for making ecu
  135. X--- 262,272 ----
  136. X  
  137. X  # for shar 3.46 or later
  138. X  shar: shar.fls
  139. X!     csh -c 'shar -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \
  140. X  -n$(ECUSHARNAME) -L53 -o/tmp/$(ECUSHARNAME) $(SHARFLS)' 
  141. X!     shar -F -c -C -L53 -o/tmp/ecu3cker -s "wht@n4hgf.Mt-Park.GA.US" -a \
  142. X  -necu3cker ckermit/ckermit
  143. X!     shar -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \
  144. X  -n$(MANSHARNAME) -L53 -o/tmp/$(MANSHARNAME) doc/ecu.man doc/exits.man
  145. X  
  146. X  # tools for making ecu
  147. X***************
  148. X*** 310,316 ****
  149. X      cd z;make clobber
  150. X      cd sea;make clobber
  151. X      if [ $(USE_ECUUNGETTY) = yes ]; then \
  152. X!         cd ecuungetty;make clobber
  153. X      fi
  154. X  
  155. X  #regenerate .o:.h dependencies automatically
  156. X--- 310,316 ----
  157. X      cd z;make clobber
  158. X      cd sea;make clobber
  159. X      if [ $(USE_ECUUNGETTY) = yes ]; then \
  160. X!         cd ecuungetty;make clobber; \
  161. X      fi
  162. X  
  163. X  #regenerate .o:.h dependencies automatically
  164. XOnly in .: Makefile
  165. XOnly in /export/home/wht/src/ecu313: PATCH1.01
  166. XOnly in /export/home/wht/src/ecu313: PATCH1.02
  167. XOnly in /export/home/wht/src/ecu313: PATCH1.03
  168. XOnly in /export/home/wht/src/ecu313: PATCH1.APPLY
  169. XOnly in /export/home/wht/src/ecu313: PATCH2.01
  170. XOnly in /export/home/wht/src/ecu313: PATCH3.01
  171. XOnly in .: PATCH4.01
  172. XOnly in /export/home/wht/src/ecu313: README.P1
  173. XOnly in /export/home/wht/src/ecu313: README.P2
  174. XOnly in /export/home/wht/src/ecu313: README.P3
  175. XOnly in .: README.P4
  176. XOnly in .: SUNBUG
  177. Xdiff -c -r /export/home/wht/src/ecu313/afterlint.c ./afterlint.c
  178. X*** /export/home/wht/src/ecu313/afterlint.c    Wed Aug 28 19:29:14 1991
  179. X--- ./afterlint.c    Wed Aug 28 19:28:02 1991
  180. X***************
  181. X*** 29,36 ****
  182. X  
  183. X  #define ff fprintf
  184. X  
  185. X! #ifdef BSD4
  186. X! #include <sys/time.h>
  187. X  #define strchr index
  188. X  #define strrchr rindex
  189. X  char *index();
  190. X--- 29,36 ----
  191. X  
  192. X  #define ff fprintf
  193. X  
  194. X! #ifdef BSD
  195. X! # include <sys/time.h>
  196. X  #define strchr index
  197. X  #define strrchr rindex
  198. X  char *index();
  199. X***************
  200. X*** 38,46 ****
  201. X  /**************************/
  202. X  #else    /* assuming XENIX */
  203. X  /**************************/
  204. X! #include <time.h>
  205. X! #include <sys/types.h>
  206. X! #include <sys/timeb.h>
  207. X  char *strchr();
  208. X  char *strrchr();
  209. X  #endif    /* system dependencies */
  210. X--- 38,46 ----
  211. X  /**************************/
  212. X  #else    /* assuming XENIX */
  213. X  /**************************/
  214. X! # include <time.h>
  215. X! # include <sys/types.h>
  216. X! # include <sys/timeb.h>
  217. X  char *strchr();
  218. X  char *strrchr();
  219. X  #endif    /* system dependencies */
  220. XOnly in .: bamboozle.o
  221. XCommon subdirectories: /export/home/wht/src/ecu313/bperr and ./bperr
  222. XOnly in .: ckermit
  223. XOnly in .: cmdtbl.o
  224. Xdiff -c -r /export/home/wht/src/ecu313/config.c ./config.c
  225. X*** /export/home/wht/src/ecu313/config.c    Wed Aug 28 19:34:41 1991
  226. X--- ./config.c    Wed Aug 28 14:07:05 1991
  227. X***************
  228. X*** 27,32 ****
  229. X--- 27,33 ----
  230. X  
  231. X  --------------------------------------------------------------------------*/
  232. X  /*+:EDITS:*/
  233. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  234. X  /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */
  235. X  /*:08-23-1991-01:37-wht@n4hgf-sun port */
  236. X  /*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */
  237. X***************
  238. X*** 599,605 ****
  239. X              case 's':  sys = S_SCO; break;
  240. X              case 'i':  sys = S_ISC; break;
  241. X              case 'S':  sys = S_SUN; break;
  242. X!             case 'f':  sys = S_SVR4; break;
  243. X          }
  244. X      }
  245. X  
  246. X--- 600,606 ----
  247. X              case 's':  sys = S_SCO; break;
  248. X              case 'i':  sys = S_ISC; break;
  249. X              case 'S':  sys = S_SUN; break;
  250. X!             case '4':  sys = S_SVR4; break;
  251. X          }
  252. X      }
  253. X  
  254. Xdiff -c -r /export/home/wht/src/ecu313/dialprog.h ./dialprog.h
  255. X*** /export/home/wht/src/ecu313/dialprog.h    Wed Aug 28 19:34:42 1991
  256. X--- ./dialprog.h    Sun Aug 25 13:02:47 1991
  257. X***************
  258. X*** 3,12 ****
  259. X      wht@n4hgf.Mt-Park.GA.US
  260. X  --------------------------------------------------------------------------*/
  261. X  /*+:EDITS:*/
  262. X- /*:08-27-1991-03:08-ache@hq.demos.su-dialer enhancement */
  263. X  /*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */
  264. X  /*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */
  265. X- 
  266. X  /*  Return code masks:
  267. X   *            0x80    bit = 1 if connection failed
  268. X   *            0x10    bit = 1 if line is also used for dialin #ifndef HDUU
  269. X--- 3,10 ----
  270. XCommon subdirectories: /export/home/wht/src/ecu313/doc and ./doc
  271. XOnly in .: ecu
  272. Xdiff -c -r /export/home/wht/src/ecu313/ecu.h ./ecu.h
  273. X*** /export/home/wht/src/ecu313/ecu.h    Wed Aug 28 19:34:43 1991
  274. X--- ./ecu.h    Wed Aug 28 19:23:55 1991
  275. X***************
  276. X*** 51,59 ****
  277. X  
  278. X  #if !defined(NO_SELECT) && !defined(XECU)
  279. X  #if defined(M_SYSV)    /* SCO */
  280. X! #include <sys/select.h>
  281. X  #else
  282. X! #include <sys/time.h>
  283. X  #endif
  284. X  #endif
  285. X  
  286. X--- 51,59 ----
  287. X  
  288. X  #if !defined(NO_SELECT) && !defined(XECU)
  289. X  #if defined(M_SYSV)    /* SCO */
  290. X! # include <sys/select.h>
  291. X  #else
  292. X! # include <sys/time.h>
  293. X  #endif
  294. X  #endif
  295. X  
  296. X***************
  297. X*** 105,111 ****
  298. X  #include "lint_args.h"
  299. X  
  300. X  #ifdef XECU
  301. X! #include "xecu.h"
  302. X  #endif
  303. X  
  304. X  /*
  305. X--- 105,111 ----
  306. X  #include "lint_args.h"
  307. X  
  308. X  #ifdef XECU
  309. X! # include "xecu.h"
  310. X  #endif
  311. X  
  312. X  /*
  313. XOnly in .: ecu.o
  314. Xdiff -c -r /export/home/wht/src/ecu313/ecuDCE.c ./ecuDCE.c
  315. X*** /export/home/wht/src/ecu313/ecuDCE.c    Wed Aug 28 19:34:43 1991
  316. X--- ./ecuDCE.c    Wed Aug 28 14:07:06 1991
  317. X***************
  318. X*** 23,28 ****
  319. X--- 23,29 ----
  320. X  
  321. X  --------------------------------------------------------------------------*/
  322. X  /*+:EDITS:*/
  323. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  324. X  /*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */
  325. X  /*:07-17-1991-07:04-wht@n4hgf-avoid SCO UNIX nap bug */
  326. X  /*:06-29-1991-15:42-wht@n4hgf-if WHT and xterm, play with title bar */
  327. X***************
  328. X*** 635,641 ****
  329. X          }
  330. X          if(!strncmp(result,"CONNECT",7))
  331. X          {
  332. X!             if(strlen(result) > 7)
  333. X              {
  334. X                  if(shm->Lbaud != (unsigned)atoi(result + 7))
  335. X                  {
  336. X--- 636,642 ----
  337. X          }
  338. X          if(!strncmp(result,"CONNECT",7))
  339. X          {
  340. X!             if(strlen(result) > (unsigned)7)
  341. X              {
  342. X                  if(shm->Lbaud != (unsigned)atoi(result + 7))
  343. X                  {
  344. XOnly in .: ecuDCE.o
  345. XOnly in .: ecuLCK.o
  346. XOnly in .: ecuchdir.o
  347. XOnly in .: ecudump.o
  348. XOnly in .: ecufinsert.o
  349. XOnly in .: ecufkey.o
  350. XOnly in .: ecufork.o
  351. XCommon subdirectories: /export/home/wht/src/ecu313/ecufriend and ./ecufriend
  352. XOnly in .: ecuicmaux.o
  353. XOnly in .: ecuicmd.o
  354. XOnly in .: ecuicmhelp.o
  355. Xdiff -c -r /export/home/wht/src/ecu313/ecuicmhist.c ./ecuicmhist.c
  356. X*** /export/home/wht/src/ecu313/ecuicmhist.c    Wed Aug 28 19:34:26 1991
  357. X--- ./ecuicmhist.c    Wed Aug 28 14:07:07 1991
  358. X***************
  359. X*** 8,13 ****
  360. X--- 8,14 ----
  361. X  
  362. X  --------------------------------------------------------------------------*/
  363. X  /*+:EDITS:*/
  364. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  365. X  /*:08-11-1991-14:58-wht@n4hgf-new ttygets botched command history handler */
  366. X  /*:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 */
  367. X  /*:07-14-1991-18:18-wht@n4hgf-new ttygets functions */
  368. X***************
  369. X*** 61,67 ****
  370. X          free((char *)icmdh);
  371. X          return;
  372. X      }
  373. X!     if(strlen((char *)icmdh->icmd) > ICMDH_MAXLEN)
  374. X          icmdh->icmd[ICMDH_MAXLEN] = 0;
  375. X      if(icmdh_tail)
  376. X      {
  377. X--- 62,68 ----
  378. X          free((char *)icmdh);
  379. X          return;
  380. X      }
  381. X!     if(strlen((char *)icmdh->icmd) > (unsigned)ICMDH_MAXLEN)
  382. X          icmdh->icmd[ICMDH_MAXLEN] = 0;
  383. X      if(icmdh_tail)
  384. X      {
  385. XOnly in .: ecuicmhist.o
  386. Xdiff -c -r /export/home/wht/src/ecu313/eculine.c ./eculine.c
  387. X*** /export/home/wht/src/ecu313/eculine.c    Wed Aug 28 19:34:47 1991
  388. X--- ./eculine.c    Wed Aug 28 14:50:09 1991
  389. X***************
  390. X*** 926,935 ****
  391. X      lset_parity(1);            /* do perform ioctl */
  392. X  
  393. X      lopen_err_str[0] = 0;
  394. X-     return(0);
  395. X  #ifdef SVR4
  396. X      hx_flag = 0;
  397. X  #endif
  398. X  
  399. X  }    /* end of lopen */
  400. X  
  401. X--- 926,935 ----
  402. X      lset_parity(1);            /* do perform ioctl */
  403. X  
  404. X      lopen_err_str[0] = 0;
  405. X  #ifdef SVR4
  406. X      hx_flag = 0;
  407. X  #endif
  408. X+     return(0);
  409. X  
  410. X  }    /* end of lopen */
  411. X  
  412. XOnly in .: eculine.o
  413. XOnly in .: eculock.o
  414. Xdiff -c -r /export/home/wht/src/ecu313/ecunumrev.c ./ecunumrev.c
  415. X*** /export/home/wht/src/ecu313/ecunumrev.c    Wed Aug 28 19:34:48 1991
  416. X--- ./ecunumrev.c    Wed Aug 28 14:07:07 1991
  417. X***************
  418. X*** 3,8 ****
  419. X--- 3,9 ----
  420. X      wht@n4hgf.Mt-Park.GA.US
  421. X  ------------------------------------------------------------------------*/
  422. X  /*+:EDITS:*/
  423. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  424. X  /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */
  425. X  /*:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 */
  426. X  /*:07-12-1991-14:14-wht@n4hgf-GCC140 differentiation */
  427. X***************
  428. X*** 23,29 ****
  429. X  #endif
  430. X  
  431. X  #ifdef WHT
  432. X! char *numeric_revision = "x3.6r";
  433. X  #else
  434. X  char *numeric_revision = "3";
  435. X  #endif
  436. X--- 24,30 ----
  437. X  #endif
  438. X  
  439. X  #ifdef WHT
  440. X! char *numeric_revision = "x3.64";
  441. X  #else
  442. X  char *numeric_revision = "3";
  443. X  #endif
  444. X***************
  445. X*** 86,92 ****
  446. X  
  447. X      if(!(revstr = malloc(strlen(s128) + 1)))
  448. X      {
  449. X!         fprintf(stderr,"out of memory so early??!\n");
  450. X          exit(255);
  451. X      }
  452. X      strcpy(revstr,s128);
  453. X--- 87,93 ----
  454. X  
  455. X      if(!(revstr = malloc(strlen(s128) + 1)))
  456. X      {
  457. X!         fprintf(stderr,"out of memory so early\?\?!\n");
  458. X          exit(255);
  459. X      }
  460. X      strcpy(revstr,s128);
  461. XOnly in .: ecunumrev.o
  462. Xdiff -c -r /export/home/wht/src/ecu313/ecuphone.c ./ecuphone.c
  463. X*** /export/home/wht/src/ecu313/ecuphone.c    Wed Aug 28 19:34:49 1991
  464. X--- ./ecuphone.c    Wed Aug 28 15:19:42 1991
  465. X***************
  466. X*** 71,76 ****
  467. X--- 71,77 ----
  468. X  
  469. X  --------------------------------------------------------------------------*/
  470. X  /*+:EDITS:*/
  471. X+ /*:08-28-1991-15:15-wht@n4hgf2-fix bad structure in pde_add_or_edit_read */
  472. X  /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */
  473. X  /*:08-15-1991-18:13-wht@n4hgf-do not allow edit of non-existent entry */
  474. X  /*:08-11-1991-19:56-wht@n4hgf-soup up tty name for ISC vs. SCO */
  475. X***************
  476. X*** 1174,1179 ****
  477. X--- 1175,1181 ----
  478. X  {
  479. X  int wgpos = -1;
  480. X  char s80[80];
  481. X+ int done = 0;
  482. X  
  483. X      if(!check_curr_pde())
  484. X          return;
  485. X***************
  486. X*** 1181,1202 ****
  487. X      wmove(addw,9,2);
  488. X      waddstr(addw,prompt);
  489. X  
  490. X!     while(1)
  491. X      {
  492. X-         wstandout(addw);
  493. X-         if(edit)
  494. X-             strcpy(s80,buf);
  495. X- AGAIN:
  496. X          (void)wingets(addw,y,20,s80,bufmax,delim,edit,&wgpos);
  497. X          wstandend(addw);
  498. X          clear_area(addw,y,20,bufmax);
  499. X!         edit = 1;        /* if we come back to AGAIN, edit string */
  500. X  
  501. X          switch(*((uchar *)delim))
  502. X          {
  503. X              case ESC:
  504. X                  waddstr(addw,buf);
  505. X!                 goto RETURN;
  506. X  
  507. X              case TAB:
  508. X              case NL:
  509. X--- 1183,1205 ----
  510. X      wmove(addw,9,2);
  511. X      waddstr(addw,prompt);
  512. X  
  513. X!     wstandout(addw);
  514. X!     if(edit)
  515. X!         strcpy(s80,buf);
  516. X! 
  517. X!     do
  518. X      {
  519. X          (void)wingets(addw,y,20,s80,bufmax,delim,edit,&wgpos);
  520. X          wstandend(addw);
  521. X          clear_area(addw,y,20,bufmax);
  522. X!         edit = 1;        /* if we come back again, edit string */
  523. X  
  524. X          switch(*((uchar *)delim))
  525. X          {
  526. X              case ESC:
  527. X                  waddstr(addw,buf);
  528. X!                 done = 1;
  529. X!                 break;
  530. X  
  531. X              case TAB:
  532. X              case NL:
  533. X***************
  534. X*** 1204,1214 ****
  535. X                  strcpy(buf,s80);
  536. X                  waddstr(addw,buf);
  537. X                  *delim = NL;
  538. X!                 goto RETURN;
  539. X  
  540. X              case CTL_U:
  541. X                  s80[0] = 0;
  542. X!                 goto AGAIN;
  543. X  
  544. X              case CTL_B:
  545. X              case XFcurup:
  546. X--- 1207,1218 ----
  547. X                  strcpy(buf,s80);
  548. X                  waddstr(addw,buf);
  549. X                  *delim = NL;
  550. X!                 done = 1;
  551. X!                 break;
  552. X  
  553. X              case CTL_U:
  554. X                  s80[0] = 0;
  555. X!                 break;
  556. X  
  557. X              case CTL_B:
  558. X              case XFcurup:
  559. X***************
  560. X*** 1215,1229 ****
  561. X                  strcpy(buf,s80);
  562. X                  waddstr(addw,buf);
  563. X                  *delim = CTL_B;
  564. X!                 goto RETURN;
  565. X  
  566. X              default:
  567. X                  ring_bell();
  568. X!                 goto AGAIN;
  569. X          }
  570. X!     }
  571. X  
  572. X- RETURN:
  573. X      clear_area(addw,9,2,strlen(prompt));
  574. X  
  575. X  }    /* end of pde_add_or_edit_read */
  576. X--- 1219,1233 ----
  577. X                  strcpy(buf,s80);
  578. X                  waddstr(addw,buf);
  579. X                  *delim = CTL_B;
  580. X!                 done = 1;
  581. X!                 break;
  582. X  
  583. X              default:
  584. X                  ring_bell();
  585. X!                 break;
  586. X          }
  587. X!     } while(!done);
  588. X  
  589. X      clear_area(addw,9,2,strlen(prompt));
  590. X  
  591. X  }    /* end of pde_add_or_edit_read */
  592. XOnly in .: ecuphone.o
  593. XOnly in .: ecuphrase.o
  594. XOnly in .: ecurcvr.o
  595. XOnly in .: ecuscrdump.o
  596. Xdiff -c -r /export/home/wht/src/ecu313/ecusetup.c ./ecusetup.c
  597. X*** /export/home/wht/src/ecu313/ecusetup.c    Wed Aug 28 19:34:54 1991
  598. X--- ./ecusetup.c    Wed Aug 28 14:07:08 1991
  599. X***************
  600. X*** 34,39 ****
  601. X--- 34,40 ----
  602. X  
  603. X  --------------------------------------------------------------------------*/
  604. X  /*+:EDITS:*/
  605. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  606. X  /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */
  607. X  /*:08-12-1991-00:58-wht@n4hgf-ISC tty names */
  608. X  /*:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 */
  609. X***************
  610. X*** 398,404 ****
  611. X  register char *nondelim_list;
  612. X  {
  613. X  register uint itmp;
  614. X! static char setw_nondelim_list[] =
  615. X  {
  616. X      CRET,NL,CTL_B,CTL_D,TAB,ESC,CTL_L,CTL_R,XFend
  617. X  };
  618. X--- 399,405 ----
  619. X  register char *nondelim_list;
  620. X  {
  621. X  register uint itmp;
  622. X! static uchar setw_nondelim_list[] =
  623. X  {
  624. X      CRET,NL,CTL_B,CTL_D,TAB,ESC,CTL_L,CTL_R,XFend
  625. X  };
  626. X***************
  627. X*** 423,429 ****
  628. X  uint baud;
  629. X  uchar delim;    /* important to be unsigned to avoid sign extension */
  630. X  WINDOW *window_create();
  631. X! static char use_input_delim[] = {TAB,NL,XFend,CTL_D};
  632. X  
  633. X      windows_start();
  634. X      sprintf(s80,"ecu %s",revstr);
  635. X--- 424,430 ----
  636. X  uint baud;
  637. X  uchar delim;    /* important to be unsigned to avoid sign extension */
  638. X  WINDOW *window_create();
  639. X! static uchar use_input_delim[] = {TAB,NL,XFend,CTL_D,(uchar)0};
  640. X  
  641. X      windows_start();
  642. X      sprintf(s80,"ecu %s",revstr);
  643. X***************
  644. X*** 460,466 ****
  645. X                          (shm->Llogical[0] != 0),(int *)0);
  646. X                      setw_err_msg("");
  647. X                  }
  648. X!                 if(strchr(use_input_delim,delim))
  649. X                  {
  650. X                      strcpy(shm->Llogical,s80);
  651. X                      if(shm->Llogical[0] && !lookup_logical_telno())
  652. X--- 461,467 ----
  653. X                          (shm->Llogical[0] != 0),(int *)0);
  654. X                      setw_err_msg("");
  655. X                  }
  656. X!                 if(strchr((char *)use_input_delim,delim))
  657. X                  {
  658. X                      strcpy(shm->Llogical,s80);
  659. X                      if(shm->Llogical[0] && !lookup_logical_telno())
  660. X***************
  661. X*** 497,503 ****
  662. X                   itmp = wingets(setw,TTY_Y,TTY_X,s80,TTY_LEN + 1,&delim,
  663. X                      1,(int *)0);
  664. X                  setw_err_msg("");
  665. X!                 if(strchr(use_input_delim,delim))
  666. X                      strcpy(&shm->Lline[5],s80);
  667. X                  setup_display_tty();
  668. X                  break;
  669. X--- 498,504 ----
  670. X                   itmp = wingets(setw,TTY_Y,TTY_X,s80,TTY_LEN + 1,&delim,
  671. X                      1,(int *)0);
  672. X                  setw_err_msg("");
  673. X!                 if(strchr((char *)use_input_delim,delim))
  674. X                      strcpy(&shm->Lline[5],s80);
  675. X                  setup_display_tty();
  676. X                  break;
  677. X***************
  678. X*** 526,532 ****
  679. X                  sprintf(s80,"%u",shm->Lbaud);
  680. X                   itmp = wingets(setw,BAUD_Y,BAUD_X,s80,BAUD_LEN + 1,&delim,
  681. X                      1,(int *)0);
  682. X!                 if(strchr(use_input_delim,delim))
  683. X                  {
  684. X                      if(valid_baud_rate(baud = atoi(s80)) < 0)
  685. X                      {
  686. X--- 527,533 ----
  687. X                  sprintf(s80,"%u",shm->Lbaud);
  688. X                   itmp = wingets(setw,BAUD_Y,BAUD_X,s80,BAUD_LEN + 1,&delim,
  689. X                      1,(int *)0);
  690. X!                 if(strchr((char *)use_input_delim,delim))
  691. X                  {
  692. X                      if(valid_baud_rate(baud = atoi(s80)) < 0)
  693. X                      {
  694. XOnly in .: ecusetup.o
  695. XOnly in .: ecushm.o
  696. XOnly in .: ecusighdl.o
  697. XOnly in .: ecutcap.o
  698. XOnly in .: ecutime.o
  699. XOnly in .: ecutty.o
  700. XOnly in .: ecuuclc.o
  701. XCommon subdirectories: /export/home/wht/src/ecu313/ecuungetty and ./ecuungetty
  702. XOnly in .: ecuusage.o
  703. XOnly in .: ecuutil.o
  704. XOnly in .: ecuwinutil.o
  705. Xdiff -c -r /export/home/wht/src/ecu313/ecuxenix.c ./ecuxenix.c
  706. X*** /export/home/wht/src/ecu313/ecuxenix.c    Wed Aug 28 19:35:00 1991
  707. X--- ./ecuxenix.c    Wed Aug 28 15:26:25 1991
  708. X***************
  709. X*** 3,8 ****
  710. X--- 3,10 ----
  711. X      wht@n4hgf.Mt-Park.GA.US
  712. X  
  713. X    Defined functions:
  714. X+     audio_notify(type)
  715. X+     audio_play(filename)
  716. X      bell_alarm(xbell_type)
  717. X      bell_notify(xbell_type)
  718. X      kbd_escape(xkey)
  719. X***************
  720. X*** 16,25 ****
  721. X--- 18,29 ----
  722. X      signal_name_text(sig)
  723. X      xbell(type,count)
  724. X      xbell_fd(fd,type,count)
  725. X+     xterm_title(text,code)
  726. X  
  727. X    This module is a grab bag for historical reasons.  Needs reorg.
  728. X  ------------------------------------------------------------------*/
  729. X  /*+:EDITS:*/
  730. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  731. X  /*:08-13-1991-15:28-wht@n4hgf-more problems with history manager */
  732. X  /*:07-25-1991-12:57-wht@n4hgf-ECU release 3.10 */
  733. X  /*:07-17-1991-07:04-wht@n4hgf-avoid SCO UNIX nap bug */
  734. X***************
  735. X*** 408,413 ****
  736. X--- 412,421 ----
  737. X      if(morse_bell(type,count))
  738. X          ring_bell();
  739. X  #else
  740. X+ #if defined(WHT) && defined(AUDIO)
  741. X+ void audio_notify();
  742. X+     audio_notify(type);
  743. X+ #else
  744. X      if(!tty_is_multiscreen)
  745. X      {
  746. X          ring_bell();
  747. X***************
  748. X*** 418,438 ****
  749. X      if(morse_bell(type,count))
  750. X  #endif
  751. X          xbell_fd(1,type,count);
  752. X  #endif /* WHT && MORSE */
  753. X  
  754. X  }    /* end of xbell */
  755. X  
  756. X  /*+-------------------------------------------------------------------------
  757. X!     audio_play(file) - play a sound file
  758. X  --------------------------------------------------------------------------*/
  759. X! #ifdef sun4
  760. X  void
  761. X! audio_play(file)
  762. X! char *file;
  763. X  {
  764. X  char cmd[1024];
  765. X!     strcpy(cmd,"!cat ")
  766. X!     strcat(cmd,file);
  767. X      strcat(cmd," | /usr/demo/SOUND/play");
  768. X      shell(cmd);
  769. X  }    /* end of audio_play */
  770. X--- 426,447 ----
  771. X      if(morse_bell(type,count))
  772. X  #endif
  773. X          xbell_fd(1,type,count);
  774. X+ #endif /* WHT && AUDIO */
  775. X  #endif /* WHT && MORSE */
  776. X  
  777. X  }    /* end of xbell */
  778. X  
  779. X  /*+-------------------------------------------------------------------------
  780. X!     audio_play(filename) - play a sound file
  781. X  --------------------------------------------------------------------------*/
  782. X! #if defined(AUDIO)
  783. X  void
  784. X! audio_play(filename)
  785. X! char *filename;
  786. X  {
  787. X  char cmd[1024];
  788. X!     strcpy(cmd,"!cat ");
  789. X!     strcat(cmd,filename);
  790. X      strcat(cmd," | /usr/demo/SOUND/play");
  791. X      shell(cmd);
  792. X  }    /* end of audio_play */
  793. X***************
  794. X*** 441,451 ****
  795. X  /*+-------------------------------------------------------------------------
  796. X      audio_notify(type) - "bell_notify" with audio
  797. X  --------------------------------------------------------------------------*/
  798. X! #ifdef sun4
  799. X  void
  800. X  audio_notify(type)
  801. X  register type;
  802. X  {
  803. X      switch(type)
  804. X      {
  805. X      case XBELL_DONE:
  806. X--- 450,461 ----
  807. X  /*+-------------------------------------------------------------------------
  808. X      audio_notify(type) - "bell_notify" with audio
  809. X  --------------------------------------------------------------------------*/
  810. X! #if defined(AUDIO)
  811. X  void
  812. X  audio_notify(type)
  813. X  register type;
  814. X  {
  815. X+ char *file;
  816. X      switch(type)
  817. X      {
  818. X      case XBELL_DONE:
  819. X***************
  820. X*** 552,561 ****
  821. X      {
  822. X          bell_alarm(xbell_type);
  823. X      }
  824. X! #endif
  825. X! #if defined(sun4)
  826. X      audio_notify(xbell_type);
  827. X  #endif
  828. X  }    /* end of bell_notify */
  829. X  
  830. X  /*+-------------------------------------------------------------------------
  831. X--- 562,572 ----
  832. X      {
  833. X          bell_alarm(xbell_type);
  834. X      }
  835. X! #else
  836. X! #if defined(AUDIO)
  837. X      audio_notify(xbell_type);
  838. X  #endif
  839. X+ #endif
  840. X  }    /* end of bell_notify */
  841. X  
  842. X  /*+-------------------------------------------------------------------------
  843. X***************
  844. X*** 579,586 ****
  845. X--- 590,599 ----
  846. X  #ifdef SIGABRT
  847. X          case SIGABRT:    cptr = "SIGABRT"; break;
  848. X  #else
  849. X+ #ifdef SIGABRT
  850. X          case SIGIOT:    cptr = "SIGIOT"; break;
  851. X  #endif
  852. X+ #endif
  853. X          case SIGEMT:    cptr = "SIGEMT"; break;
  854. X          case SIGFPE:    cptr = "SIGFPE"; break;
  855. X          case SIGKILL:    cptr = "SIGKILL"; break;
  856. X***************
  857. X*** 622,628 ****
  858. X  /*+-------------------------------------------------------------------------
  859. X      rename(from,to)
  860. X  --------------------------------------------------------------------------*/
  861. X! #if !defined(M_UNIX) && !defined(BUILDING_LINT_ARGS)
  862. X  rename(from,to)
  863. X  char *from;
  864. X  char *to;
  865. X--- 635,642 ----
  866. X  /*+-------------------------------------------------------------------------
  867. X      rename(from,to)
  868. X  --------------------------------------------------------------------------*/
  869. X! #if defined(M_XENIX) && !defined(BUILDING_LINT_ARGS)
  870. X! int
  871. X  rename(from,to)
  872. X  char *from;
  873. X  char *to;
  874. XOnly in .: ecuxenix.o
  875. Xdiff -c -r /export/home/wht/src/ecu313/ecuxfer.c ./ecuxfer.c
  876. X*** /export/home/wht/src/ecu313/ecuxfer.c    Wed Aug 28 19:35:00 1991
  877. X--- ./ecuxfer.c    Wed Aug 28 14:07:09 1991
  878. X***************
  879. X*** 35,40 ****
  880. X--- 35,41 ----
  881. X  
  882. X  --------------------------------------------------------------------------*/
  883. X  /*+:EDITS:*/
  884. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  885. X  /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */
  886. X  /*:07-25-1991-12:57-wht@n4hgf-ECU release 3.10 */
  887. X  /*:07-17-1991-07:04-wht@n4hgf-avoid SCO UNIX nap bug */
  888. X***************
  889. X*** 219,227 ****
  890. X  register char *nondelim_list;
  891. X  {
  892. X  register uint itmp;
  893. X! static char xfrw_nondelim_list[] =
  894. X  {
  895. X!     CRET,NL,XFcurup,XFcurdn,CTL_B,TAB,ESC,CTL_L,CTL_R,XFend
  896. X  };
  897. X  
  898. X      itmp = winget_single(xfrw,nondelim_list,xfrw_nondelim_list);
  899. X--- 220,228 ----
  900. X  register char *nondelim_list;
  901. X  {
  902. X  register uint itmp;
  903. X! static uchar xfrw_nondelim_list[] =
  904. X  {
  905. X!     CRET,NL,XFcurup,XFcurdn,CTL_B,TAB,ESC,CTL_L,CTL_R,XFend,(uchar)0
  906. X  };
  907. X  
  908. X      itmp = winget_single(xfrw,nondelim_list,xfrw_nondelim_list);
  909. X***************
  910. X*** 260,266 ****
  911. X  {
  912. X  register itmp;
  913. X  char *cmd_string = "TAB:next  ^B:prev  END:perform transfer  ESC:abort"; 
  914. X! register left_spaces = ((xfrw_cols - 2) - strlen(cmd_string)) / 2;
  915. X  int x;
  916. X  int y;
  917. X  
  918. X--- 261,267 ----
  919. X  {
  920. X  register itmp;
  921. X  char *cmd_string = "TAB:next  ^B:prev  END:perform transfer  ESC:abort"; 
  922. X! register left_spaces = ((xfrw_cols - 2) - strlen(cmd_string)) / (unsigned)2;
  923. X  int x;
  924. X  int y;
  925. X  
  926. X***************
  927. X*** 534,540 ****
  928. X      xfrws_display_allvars();
  929. X      wmove(xfrw,0,27);
  930. X      waddstr(xfrw," dir: ");
  931. X!     if(strlen(curr_dir) > (xfrw_cols - 32))
  932. X      {
  933. X          strncpy(s80,curr_dir,xfrw_cols - 32);
  934. X          s80[xfrw_cols - 32] = 0;
  935. X--- 535,541 ----
  936. X      xfrws_display_allvars();
  937. X      wmove(xfrw,0,27);
  938. X      waddstr(xfrw," dir: ");
  939. X!     if(strlen(curr_dir) > (unsigned)(xfrw_cols - 32))
  940. X      {
  941. X          strncpy(s80,curr_dir,xfrw_cols - 32);
  942. X          s80[xfrw_cols - 32] = 0;
  943. XOnly in .: ecuxfer.o
  944. Xdiff -c -r /export/home/wht/src/ecu313/ecuxkey.h ./ecuxkey.h
  945. X*** /export/home/wht/src/ecu313/ecuxkey.h    Wed Aug 28 19:30:13 1991
  946. X--- ./ecuxkey.h    Wed Aug 28 14:07:09 1991
  947. X***************
  948. X*** 7,12 ****
  949. X--- 7,13 ----
  950. X  unadvisable.
  951. X  --------------------------------------------------------------------------*/
  952. X  /*+:EDITS:*/
  953. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  954. X  /*:07-25-1991-12:57-wht@n4hgf-ECU release 3.10 */
  955. X  /*:05-02-1991-01:57-r@n4hgf-alt-[a-z] range moved from 0x80-0x99 to 0xE0-0xF9 */
  956. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  957. X***************
  958. X*** 52,58 ****
  959. X   * extended ALT+[a-z] codes
  960. X   */
  961. X  #define XF_ALTA    0xE0            /* depends on /usr/lib/keyboard keys ... */
  962. X! #define XF_ALTZ    (0xE0+'z'-'a')    /* ... mapping ALT-a to 0xE0, etc */
  963. X  
  964. X  /* vi: set tabstop=4 shiftwidth=4: */
  965. X  /* end of ecuxkey.h */
  966. X--- 53,59 ----
  967. X   * extended ALT+[a-z] codes
  968. X   */
  969. X  #define XF_ALTA    0xE0            /* depends on /usr/lib/keyboard keys ... */
  970. X! #define XF_ALTZ    ((unsigned)(0xE0+'z'-'a'))    /* ... mapping ALT-a to 0xE0, etc */
  971. X  
  972. X  /* vi: set tabstop=4 shiftwidth=4: */
  973. X  /* end of ecuxkey.h */
  974. XOnly in .: esdutil.o
  975. Xdiff -c -r /export/home/wht/src/ecu313/expresp.c ./expresp.c
  976. X*** /export/home/wht/src/ecu313/expresp.c    Wed Aug 28 19:35:01 1991
  977. X--- ./expresp.c    Wed Aug 28 14:19:56 1991
  978. X***************
  979. X*** 46,52 ****
  980. X  #define DEFAULT_TIMEOUT_MSECS (10*1000L)
  981. X  
  982. X  #define ERDEBUG(verb,str,arg) if(expresp_verbosity >= verb) \
  983. X!     pprintf(str,arg);
  984. X  
  985. X  long atol();
  986. X  
  987. X--- 46,52 ----
  988. X  #define DEFAULT_TIMEOUT_MSECS (10*1000L)
  989. X  
  990. X  #define ERDEBUG(verb,str,arg) if(expresp_verbosity >= verb) \
  991. X!     pprintf(str,arg)
  992. X  
  993. X  long atol();
  994. X  
  995. XOnly in .: expresp.o
  996. XCommon subdirectories: /export/home/wht/src/ecu313/fasi and ./fasi
  997. XOnly in .: fasiintf.o
  998. XOnly in .: feval.o
  999. XCommon subdirectories: /export/home/wht/src/ecu313/gendial and ./gendial
  1000. XOnly in .: gint.o
  1001. XOnly in .: gstr.o
  1002. Xdiff -c -r /export/home/wht/src/ecu313/hdbintf.c ./hdbintf.c
  1003. X*** /export/home/wht/src/ecu313/hdbintf.c    Wed Aug 28 19:35:02 1991
  1004. X--- ./hdbintf.c    Sun Aug 25 14:00:09 1991
  1005. X***************
  1006. X*** 4,10 ****
  1007. X  #endif
  1008. X  
  1009. X  /* #define CHOOSE_DEBUG */
  1010. X- /* #defined CALL_DIALER_BY_ECUDIAL */    /* gendial makes use of this */
  1011. X  
  1012. X  /*+-------------------------------------------------------------------------
  1013. X      hdbintf.c - HDB UUCP database and /etc/utmp interface routines
  1014. X--- 4,9 ----
  1015. X***************
  1016. X*** 39,46 ****
  1017. X  
  1018. X  --------------------------------------------------------------------------*/
  1019. X  /*+:EDITS:*/
  1020. X- /*:08-27-1991-03:08-ache@hq.demos.su-pass dial prog name in lieu of "ECUdial" */
  1021. X- /*:08-27-1991-03:08-ache@hq.demos.su-dialer enhancement */
  1022. X  /*:08-25-1991-13:07-wht@n4hgf-apply ache@hq.demos.su patches */
  1023. X  /*:08-10-1991-17:39-wht@n4hgf-US_WEGOTIT handling */
  1024. X  /*:07-25-1991-12:58-wht@n4hgf-ECU release 3.10 */
  1025. X--- 38,43 ----
  1026. X***************
  1027. X*** 1014,1028 ****
  1028. X          if((dial_pid = smart_fork()) == 0)
  1029. X          {
  1030. X              signal(SIGINT,SIG_DFL);
  1031. X!             execl(dve->dialprog,
  1032. X! #if defined(WHT) || defined(CALL_DIALER_BY_ECUDIAL)
  1033. X!                 "ECUdial",        /* I want to know ECU is calling */
  1034. X! #else
  1035. X!                 dve->dialprog,    /* other dialers need to know how they
  1036. X!                                  * are being called
  1037. X!                                  */
  1038. X! #endif
  1039. X!                 dbgstr,
  1040. X                  shm->Lline,token,
  1041. X                  baudstr,(char *)0);
  1042. X              exit(-1);
  1043. X--- 1011,1017 ----
  1044. X          if((dial_pid = smart_fork()) == 0)
  1045. X          {
  1046. X              signal(SIGINT,SIG_DFL);
  1047. X!             execl(dve->dialprog,"ECUdial",dbgstr,
  1048. X                  shm->Lline,token,
  1049. X                  baudstr,(char *)0);
  1050. X              exit(-1);
  1051. XOnly in .: hdbintf.o
  1052. XCommon subdirectories: /export/home/wht/src/ecu313/help and ./help
  1053. Xdiff -c -r /export/home/wht/src/ecu313/kbdtest3.c ./kbdtest3.c
  1054. X*** /export/home/wht/src/ecu313/kbdtest3.c    Wed Aug 28 19:35:04 1991
  1055. X--- ./kbdtest3.c    Wed Aug 28 14:07:10 1991
  1056. X***************
  1057. X*** 24,29 ****
  1058. X--- 24,30 ----
  1059. X  
  1060. X  ------------------------------------------------------------------------*/
  1061. X  /*+:EDITS:*/
  1062. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  1063. X  /*:08-17-1991-13:58-root@n4hgf-make kbd entirely raw */
  1064. X  /*:08-06-1991-13:12-wht@n4hgf-add parity reporting */
  1065. X  /*:08-06-1991-13:12-wht@n4hgf-some terminals reinvent parity bit's use */
  1066. X***************
  1067. X*** 77,83 ****
  1068. X      "Thank you.  If you wish to mail me the contents of kbdtest3.out,\n",
  1069. X      "please include  a detailed description of the system and software\n",
  1070. X      "(i.e., \"Metrolink xterm keyboard on SCO 3.2r2\")\n",
  1071. X!     "I also need the curses terminal type (TERM=???) entry for this keyboard\n",
  1072. X      "(I WANT you to mail me results for non-SCO/non-ISC-console keyboards.)\n",
  1073. X      "If you had to hack this program, mail it in its entirety as well.\n",
  1074. X      "\n",
  1075. X--- 78,84 ----
  1076. X      "Thank you.  If you wish to mail me the contents of kbdtest3.out,\n",
  1077. X      "please include  a detailed description of the system and software\n",
  1078. X      "(i.e., \"Metrolink xterm keyboard on SCO 3.2r2\")\n",
  1079. X!     "I also need the curses terminal type (TERM=\?\?\?) entry for this keyboard\n",
  1080. X      "(I WANT you to mail me results for non-SCO/non-ISC-console keyboards.)\n",
  1081. X      "If you had to hack this program, mail it in its entirety as well.\n",
  1082. X      "\n",
  1083. X***************
  1084. X*** 309,315 ****
  1085. X  char s256[256];
  1086. X  
  1087. X      sprintf(s256,"    %s:%s:",name,name);
  1088. X!     while(strlen(s256) < 20)
  1089. X          strcat(s256," ");
  1090. X  
  1091. X      while(buflen--)
  1092. X--- 310,316 ----
  1093. X  char s256[256];
  1094. X  
  1095. X      sprintf(s256,"    %s:%s:",name,name);
  1096. X!     while(strlen(s256) < (unsigned)20)
  1097. X          strcat(s256," ");
  1098. X  
  1099. X      while(buflen--)
  1100. XOnly in .: kbdtest3.out
  1101. XOnly in .: logevent.o
  1102. XOnly in .: makedirs.o
  1103. XCommon subdirectories: /export/home/wht/src/ecu313/mapkey and ./mapkey
  1104. XOnly in .: mkdirs.o
  1105. XCommon subdirectories: /export/home/wht/src/ecu313/models and ./models
  1106. Xdiff -c -r /export/home/wht/src/ecu313/nonansikey.c ./nonansikey.c
  1107. X*** /export/home/wht/src/ecu313/nonansikey.c    Wed Aug 28 19:35:05 1991
  1108. X--- ./nonansikey.c    Wed Aug 28 14:53:32 1991
  1109. X***************
  1110. X*** 11,16 ****
  1111. X--- 11,17 ----
  1112. X  
  1113. X  ------------------------------------------------------------------*/
  1114. X  /*+:EDITS:*/
  1115. X+ /*:08-28-1991-14:51-wht@n4hgf2-look correctly for nonansikeys in ECULIBDIR */
  1116. X  /*:08-26-1991-05:45-wht@n4hgf2-# got included in key def */
  1117. X  /*:08-06-1991-13:19-wht@n4hgf-allow any code as first in key sequence */
  1118. X  /*:08-03-1991-14:44-wht@n4hgf-look for nonansikeys in ECULIBDIR too */
  1119. X***************
  1120. X*** 198,204 ****
  1121. X      {
  1122. X      char * eculibdir = ECULIBDIR;
  1123. X          strcpy(ecukeys_name,eculibdir);
  1124. X!         strcat(ecukeys_name,"/.ecu/nonansikeys");
  1125. X          if(!(fp_keys = fopen(ecukeys_name,"r")))
  1126. X          {
  1127. X              ff(se,"'nonansikeys' not in ~/.ecu or %s; unable to proceed\r\n",
  1128. X--- 199,205 ----
  1129. X      {
  1130. X      char * eculibdir = ECULIBDIR;
  1131. X          strcpy(ecukeys_name,eculibdir);
  1132. X!         strcat(ecukeys_name,"/nonansikeys");
  1133. X          if(!(fp_keys = fopen(ecukeys_name,"r")))
  1134. X          {
  1135. X              ff(se,"'nonansikeys' not in ~/.ecu or %s; unable to proceed\r\n",
  1136. XOnly in .: nonansikey.o
  1137. XOnly in .: patch04a
  1138. XOnly in .: patch04b
  1139. XOnly in .: patch4a
  1140. XOnly in .: patch4b
  1141. Xdiff -c -r /export/home/wht/src/ecu313/patchlevel.h ./patchlevel.h
  1142. X*** /export/home/wht/src/ecu313/patchlevel.h    Wed Aug 28 19:35:05 1991
  1143. X--- ./patchlevel.h    Wed Aug 28 14:05:30 1991
  1144. X***************
  1145. X*** 1 ****
  1146. X! #define PATCHLEVEL 13
  1147. X--- 1 ----
  1148. X! #define PATCHLEVEL 14
  1149. XOnly in .: pcmd.o
  1150. XOnly in .: pcmdfile.o
  1151. XOnly in .: pcmdif.o
  1152. XOnly in .: pcmdtty.o
  1153. XOnly in .: pcmdwhile.o
  1154. XOnly in .: pcmdxfer.o
  1155. XOnly in .: poutput.o
  1156. XOnly in .: pprintf.o
  1157. XOnly in .: proc.o
  1158. XOnly in .: proc_error.o
  1159. XOnly in .: procframe.o
  1160. Xdiff -c -r /export/home/wht/src/ecu313/regexp.c ./regexp.c
  1161. X*** /export/home/wht/src/ecu313/regexp.c    Wed Aug 28 19:30:47 1991
  1162. X--- ./regexp.c    Wed Aug 28 14:23:04 1991
  1163. X***************
  1164. X*** 2,7 ****
  1165. X--- 2,8 ----
  1166. X      regexp.c -- regular expression functions made sane
  1167. X  --------------------------------------------------------------------------*/
  1168. X  /*+:EDITS:*/
  1169. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  1170. X  /*:07-25-1991-12:59-wht@n4hgf-ECU release 3.10 */
  1171. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  1172. X  
  1173. X***************
  1174. X*** 45,51 ****
  1175. X  int low;
  1176. X  int size;
  1177. X  
  1178. X! char bittab[] = { 1,2,4,8,16,32,64,128 };
  1179. X  
  1180. X  jmp_buf    compile_error_jmpbuf;
  1181. X  
  1182. X--- 46,52 ----
  1183. X  int low;
  1184. X  int size;
  1185. X  
  1186. X! unsigned char bittab[] = { 1,2,4,8,16,32,64,128 };
  1187. X  
  1188. X  jmp_buf    compile_error_jmpbuf;
  1189. X  
  1190. XOnly in .: regexp.o
  1191. XCommon subdirectories: /export/home/wht/src/ecu313/sea and ./sea
  1192. XOnly in .: shar.fls
  1193. Xdiff -c -r /export/home/wht/src/ecu313/stdio_lint.h ./stdio_lint.h
  1194. X*** /export/home/wht/src/ecu313/stdio_lint.h    Wed Aug 28 19:35:13 1991
  1195. X--- ./stdio_lint.h    Wed Aug 28 14:07:11 1991
  1196. X***************
  1197. X*** 3,8 ****
  1198. X--- 3,9 ----
  1199. X      wht@n4hgf.Mt-Park.GA.US
  1200. X  --------------------------------------------------------------------------*/
  1201. X  /*+:EDITS:*/
  1202. X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */
  1203. X  /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */
  1204. X  /*:07-25-1991-12:59-wht@n4hgf-ECU release 3.10 */
  1205. X  /*:01-18-1991-11:55-wht@n4hgf-fix strchr/strrchr per steve@nshore.ncoast.org */
  1206. X***************
  1207. X*** 9,14 ****
  1208. X--- 10,17 ----
  1209. X  /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  1210. X  
  1211. X  #if defined(__STDC__)
  1212. X+ #include <sys/types.h>
  1213. X+ #include <sys/stat.h>
  1214. X  char *gets(char *);
  1215. X  char *getenv(char *);
  1216. X  int access(char *,int);
  1217. XOnly in .: utmpstat.o
  1218. XOnly in .: var.o
  1219. XCommon subdirectories: /export/home/wht/src/ecu313/xsel386 and ./xsel386
  1220. XCommon subdirectories: /export/home/wht/src/ecu313/z and ./z
  1221. Xdiff -c -r /export/home/wht/src/ecu313/doc/__rtscts.txt ./doc/__rtscts.txt
  1222. X*** /export/home/wht/src/ecu313/doc/__rtscts.txt    Wed Aug 28 19:32:07 1991
  1223. X--- ./doc/__rtscts.txt    Sun Aug 25 22:56:13 1991
  1224. X***************
  1225. X*** 5,11 ****
  1226. X  control, RTSFLOW and CTSFLOW can be used to specify SCO-style flow
  1227. X  control.  Advice: use rts on or off for SCO, use appropriate magic
  1228. X  numbered device for FAS.
  1229. X- 
  1230. X  .DS I
  1231. X  argument | RTSFLOW | CTSFLOW   argument | RTSFLOW | CTSFLOW
  1232. X  ---------+---------+---------  ---------+---------+---------
  1233. X--- 5,10 ----
  1234. X***************
  1235. X*** 13,16 ****
  1236. X--- 12,36 ----
  1237. X    on     |   0     |   1         1      |   0     |   1
  1238. X    no     |   0     |   0         2      |   1     |   0
  1239. X    yes    |   1     |   1         3      |   1     |   1
  1240. X+ .DE
  1241. X+ Under System V Release 4, an TCGETX/TCSETX manipulation
  1242. X+ is performed, modifying the x_hflag bits as follows:
  1243. X+ .DS I
  1244. X+ argument | RTSXOFF | CTSXON    argument | RTSXOFF | CTSXON 
  1245. X+ ---------+---------+---------  ---------+---------+---------
  1246. X+   off    |   0     |   0         0      |   0     |   0
  1247. X+   on     |   0     |   1         1      |   0     |   1
  1248. X+   no     |   0     |   0         2      |   1     |   0
  1249. X+   yes    |   1     |   1         3      |   1     |   1
  1250. X+ .DE
  1251. X+ Under SunOS 4.1, only CTS support is provided.  You should read
  1252. X+ the termio and zs man pages.  Arguments result in the stated
  1253. X+ manipulations of the termio element c_cflag:
  1254. X+ .DS I
  1255. X+ argument | CRTSCTS    argument | CRTSCTS
  1256. X+ ---------+---------  ----------+---------
  1257. X+   off    |   0           0     |   0
  1258. X+   on     |   1           1     |   1
  1259. X+   no     |   0     
  1260. X+   yes    |   1    
  1261. X  .DE
  1262. Xdiff -c -r /export/home/wht/src/ecu313/doc/_basic.txt ./doc/_basic.txt
  1263. X*** /export/home/wht/src/ecu313/doc/_basic.txt    Wed Aug 28 19:32:08 1991
  1264. X--- ./doc/_basic.txt    Fri Aug 23 14:23:46 1991
  1265. X***************
  1266. X*** 94,100 ****
  1267. X  produce a screen snapshot when it is pressed and XMTR is
  1268. X  reading from the keyboard.
  1269. X  
  1270. X! Thhe BackTab (shift Tab) key is mpermanently mapped to a screen
  1271. X  redisplay feature.
  1272. X  
  1273. X  .*s 3 "Auxiliary Operation Control"
  1274. X--- 94,100 ----
  1275. X  produce a screen snapshot when it is pressed and XMTR is
  1276. X  reading from the keyboard.
  1277. X  
  1278. X! The BackTab (shift Tab) key is permanently mapped to a screen
  1279. X  redisplay feature.
  1280. X  
  1281. X  .*s 3 "Auxiliary Operation Control"
  1282. Xdiff -c -r /export/home/wht/src/ecu313/doc/_p_cmd.txt ./doc/_p_cmd.txt
  1283. X*** /export/home/wht/src/ecu313/doc/_p_cmd.txt    Wed Aug 28 19:32:17 1991
  1284. X--- ./doc/_p_cmd.txt    Mon Aug 26 00:14:56 1991
  1285. X***************
  1286. X*** 479,485 ****
  1287. X  \\\m### causes a ### millisecond delay.  Note this adds an ambiguity to
  1288. X  the syntax of the send string: you may not follow an \m delay with a
  1289. X  literal digit to send.  For example, suppose you wish to delay 300
  1290. X! missileconds then send "4A".  \\\m3004A will delay for 3004
  1291. X  (approximately) milliseconds, then send an "A". 
  1292. X  
  1293. X  Integer variable $i0 is set to one if the expect-respond script 
  1294. X--- 479,485 ----
  1295. X  \\\m### causes a ### millisecond delay.  Note this adds an ambiguity to
  1296. X  the syntax of the send string: you may not follow an \m delay with a
  1297. X  literal digit to send.  For example, suppose you wish to delay 300
  1298. X! milliseconds then send "4A".  \\\m3004A will delay for 3004
  1299. X  (approximately) milliseconds, then send an "A". 
  1300. X  
  1301. X  Integer variable $i0 is set to one if the expect-respond script 
  1302. X***************
  1303. X*** 760,766 ****
  1304. X  Note: all the above examples cause transfer to the label GET_NEXT.
  1305. X  .DE
  1306. X  .DS L
  1307. X! A switch or case function of sorts may be implimented by something like:
  1308. X  
  1309. X      #$i0 has been set to the "switch" value
  1310. X      ifi $i0 < 0 || $i0 > 2  # avoid gosub label not found
  1311. X--- 760,766 ----
  1312. X  Note: all the above examples cause transfer to the label GET_NEXT.
  1313. X  .DE
  1314. X  .DS L
  1315. X! A switch or case function of sorts may be implemented by something like:
  1316. X  
  1317. X      #$i0 has been set to the "switch" value
  1318. X      ifi $i0 < 0 || $i0 > 2  # avoid gosub label not found
  1319. X***************
  1320. X*** 858,868 ****
  1321. X  .DS L
  1322. X  usage: hexdump [-s] <str>
  1323. X         hexdump -t[s] <str1> <str>
  1324. X- .DE
  1325. X  
  1326. X  <str> buf to dump
  1327. X  <str1> title (if -t)
  1328. X  -s short (terse) dump
  1329. X  
  1330. X  This command prints a hexadecimal dump of <str> on the screen
  1331. X  (and to the procedure log file, if logging enabled with the
  1332. X--- 858,868 ----
  1333. X  .DS L
  1334. X  usage: hexdump [-s] <str>
  1335. X         hexdump -t[s] <str1> <str>
  1336. X  
  1337. X  <str> buf to dump
  1338. X  <str1> title (if -t)
  1339. X  -s short (terse) dump
  1340. X+ .DE
  1341. X  
  1342. X  This command prints a hexadecimal dump of <str> on the screen
  1343. X  (and to the procedure log file, if logging enabled with the
  1344. Xdiff -c -r /export/home/wht/src/ecu313/doc/_top.txt ./doc/_top.txt
  1345. X*** /export/home/wht/src/ecu313/doc/_top.txt    Wed Aug 28 19:33:43 1991
  1346. X--- ./doc/_top.txt    Fri Aug 23 14:23:59 1991
  1347. X***************
  1348. X*** 11,17 ****
  1349. X  .sp 2i
  1350. X  .ft B
  1351. X  .ce 10
  1352. X! ECU 3.11
  1353. X  
  1354. X  (Extended Call Utility)
  1355. X  .ce 0
  1356. X--- 11,17 ----
  1357. X  .sp 2i
  1358. X  .ft B
  1359. X  .ce 10
  1360. X! ECU 3.13
  1361. X  
  1362. X  (Extended Call Utility)
  1363. X  .ce 0
  1364. X***************
  1365. X*** 29,35 ****
  1366. X  .sp 1i
  1367. X  .ce 100
  1368. X  Technical Description
  1369. X! Revision 3.10
  1370. X  \n(mo/\n(dy/\n(yr
  1371. X  .ce 0
  1372. X  .ls 1
  1373. X--- 29,35 ----
  1374. X  .sp 1i
  1375. X  .ce 100
  1376. X  Technical Description
  1377. X! Revision 3.13
  1378. X  \n(mo/\n(dy/\n(yr
  1379. X  .ce 0
  1380. X  .ls 1
  1381. XOnly in ./doc: ecu.man
  1382. XOnly in ./doc: exits.man
  1383. Xdiff -c -r /export/home/wht/src/ecu313/ecufriend/Make.src ./ecufriend/Make.src
  1384. X*** /export/home/wht/src/ecu313/ecufriend/Make.src    Wed Aug 28 19:29:08 1991
  1385. X--- ./ecufriend/Make.src    Mon Aug 26 05:59:08 1991
  1386. X***************
  1387. X*** 2,8 ****
  1388. X  # Makefile for sample ecufriend
  1389. X  # wht@n4hgf.Mt-Park.GA.US
  1390. X  #----------------------------------------------------------------
  1391. X! #+:EDITS:*/
  1392. X  #:07-25-1991-12:56-wht@n4hgf-ECU release 3.10
  1393. X  #:04-21-1991-12:05-wht@n4hgf-convert to Make.src
  1394. X  
  1395. X--- 2,9 ----
  1396. X  # Makefile for sample ecufriend
  1397. X  # wht@n4hgf.Mt-Park.GA.US
  1398. X  #----------------------------------------------------------------
  1399. X! #+:EDITS:
  1400. X! #:08-26-1991-05:59-wht@n4hgf2-default target was .o not executable
  1401. X  #:07-25-1991-12:56-wht@n4hgf-ECU release 3.10
  1402. X  #:04-21-1991-12:05-wht@n4hgf-convert to Make.src
  1403. X  
  1404. X***************
  1405. X*** 15,20 ****
  1406. X--- 16,23 ----
  1407. X  .c.o:;    $(BINTIME) $(CC) -c $(CFLAGS) $*.c 
  1408. X  
  1409. X  OBJ = $(PROGRAM).o
  1410. X+ 
  1411. X+ all: $(PROGRAM)
  1412. X  
  1413. X  $(OBJ): Makefile
  1414. X  
  1415. XOnly in ./ecufriend: Makefile
  1416. XOnly in ./ecufriend: ecufriend
  1417. XOnly in ./ecufriend: ecufriend.o
  1418. Xdiff -c -r /export/home/wht/src/ecu313/ecuungetty/Make.src ./ecuungetty/Make.src
  1419. X*** /export/home/wht/src/ecu313/ecuungetty/Make.src    Wed Aug 28 19:33:53 1991
  1420. X--- ./ecuungetty/Make.src    Fri Aug 23 14:21:19 1991
  1421. X***************
  1422. X*** 77,89 ****
  1423. X       >> depend.tmp) ;\
  1424. X      fi
  1425. X  
  1426. X!     echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp
  1427. X!     echo '.+1,$$d' >>exdep.tmp
  1428. X!     echo 'r depend.tmp' >> exdep.tmp
  1429. X!     echo 'w' >> exdep.tmp
  1430. X      cp Makefile Makefile.new
  1431. X!     ex Makefile.new < exdep.tmp
  1432. X!     rm exdep.tmp depend.tmp
  1433. X      echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  1434. X      echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
  1435. X      echo '# see make depend above'>>Makefile.new
  1436. X--- 77,89 ----
  1437. X       >> depend.tmp) ;\
  1438. X      fi
  1439. X  
  1440. X!     echo '/^# DO NOT DELETE THIS LINE' >eddep.tmp
  1441. X!     echo '.+1,$$d' >>eddep.tmp
  1442. X!     echo 'r depend.tmp' >> eddep.tmp
  1443. X!     echo 'w' >> eddep.tmp
  1444. X      cp Makefile Makefile.new
  1445. X!     ed Makefile.new < eddep.tmp
  1446. X!     rm eddep.tmp depend.tmp
  1447. X      echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  1448. X      echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
  1449. X      echo '# see make depend above'>>Makefile.new
  1450. Xdiff -c -r /export/home/wht/src/ecu313/ecuungetty/ecuungetty.c ./ecuungetty/ecuungetty.c
  1451. X*** /export/home/wht/src/ecu313/ecuungetty/ecuungetty.c    Wed Aug 28 19:33:13 1991
  1452. X--- ./ecuungetty/ecuungetty.c    Sun Aug 25 13:30:50 1991
  1453. X***************
  1454. X*** 1,5 ****
  1455. X  #ifndef lint
  1456. X! char *revision = "ecuungetty 3.10";
  1457. X  #endif
  1458. X  /*+-------------------------------------------------------------------------
  1459. X      ecuungetty.c - ecu "ungetty" program
  1460. X--- 1,5 ----
  1461. X  #ifndef lint
  1462. X! char *revision = "ecuungetty 3.13";
  1463. X  #endif
  1464. X  /*+-------------------------------------------------------------------------
  1465. X      ecuungetty.c - ecu "ungetty" program
  1466. XOnly in ./gendial: Makefile
  1467. Xdiff -c -r /export/home/wht/src/ecu313/gendial/dceT2500.c ./gendial/dceT2500.c
  1468. X*** /export/home/wht/src/ecu313/gendial/dceT2500.c    Wed Aug 28 19:31:34 1991
  1469. X--- ./gendial/dceT2500.c    Fri Aug 23 14:23:18 1991
  1470. X***************
  1471. X*** 159,165 ****
  1472. X  
  1473. X      }
  1474. X      myexit(RC_FAIL | RCE_SPEED);
  1475. X! #if defined(__GNUC__) && defined(__OPTIMIZE)    /* don't complain */
  1476. X      return(0);
  1477. X  #endif
  1478. X  }    /* end of DCE_baud_to_CBAUD */
  1479. X--- 159,165 ----
  1480. X  
  1481. X      }
  1482. X      myexit(RC_FAIL | RCE_SPEED);
  1483. X! #if defined(__GNUC__) && defined(__OPTIMIZE__)    /* don't complain */
  1484. X      return(0);
  1485. X  #endif
  1486. X  }    /* end of DCE_baud_to_CBAUD */
  1487. Xdiff -c -r /export/home/wht/src/ecu313/gendial/gendial.c ./gendial/gendial.c
  1488. X*** /export/home/wht/src/ecu313/gendial/gendial.c    Wed Aug 28 19:31:39 1991
  1489. X--- ./gendial/gendial.c    Fri Aug 23 14:23:22 1991
  1490. X***************
  1491. X*** 70,75 ****
  1492. X--- 70,76 ----
  1493. X  
  1494. X  --------------------------------------------------------------------------*/
  1495. X  /*+:EDITS:*/
  1496. X+ /*:08-13-1991-14:36-wht@n4hgf-perror on dce open error */
  1497. X  /*:07-25-1991-12:58-wht@n4hgf-ECU release 3.10 */
  1498. X  /*:05-01-1991-21:28-wht@n4hgf-add dial timing */
  1499. X  /*:03-12-1991-19:11-wht@n4hgf-if ecu dialing, show complete call progress */
  1500. X***************
  1501. X*** 90,96 ****
  1502. X  /* globals available to device dependent module */
  1503. X  int gargc;                    /* global copy of main's argv */
  1504. X  char **gargv;                /* global copy of main's argv */
  1505. X! char *dce_name;                    /* full pathname of ACU device */
  1506. X  char *telno = (char *)0;    /* phone number if dial type request */
  1507. X  struct termio dce_termio;    /* last termio for device */
  1508. X  int Debug = DBG;            /* set per -x flag */
  1509. X--- 91,97 ----
  1510. X  /* globals available to device dependent module */
  1511. X  int gargc;                    /* global copy of main's argv */
  1512. X  char **gargv;                /* global copy of main's argv */
  1513. X! char *dce_name;                /* full pathname of ACU device */
  1514. X  char *telno = (char *)0;    /* phone number if dial type request */
  1515. X  struct termio dce_termio;    /* last termio for device */
  1516. X  int Debug = DBG;            /* set per -x flag */
  1517. X***************
  1518. X*** 792,798 ****
  1519. X      /*  open with O_NDELAY set or the open probably will hang */
  1520. X      if((fd1 = open(dce_name,O_RDWR | O_NDELAY)) < 0)
  1521. X      {
  1522. X!         ff(se,"%s: Can't open device: %s\n",*gargv,dce_name);
  1523. X          myexit(RC_FAIL | RCE_OPEN | DialerExitCode);
  1524. X      }
  1525. X  
  1526. X--- 793,800 ----
  1527. X      /*  open with O_NDELAY set or the open probably will hang */
  1528. X      if((fd1 = open(dce_name,O_RDWR | O_NDELAY)) < 0)
  1529. X      {
  1530. X!         ff(se,"%s: Can't open device: ",*gargv);
  1531. X!         perror(dce_name);
  1532. X          myexit(RC_FAIL | RCE_OPEN | DialerExitCode);
  1533. X      }
  1534. X  
  1535. Xdiff -c -r /export/home/wht/src/ecu313/help/Make.src ./help/Make.src
  1536. X*** /export/home/wht/src/ecu313/help/Make.src    Wed Aug 28 19:31:01 1991
  1537. X--- ./help/Make.src    Fri Aug 23 14:21:24 1991
  1538. X***************
  1539. X*** 75,87 ****
  1540. X       >> depend.tmp) ;\
  1541. X      fi
  1542. X  
  1543. X!     echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp
  1544. X!     echo '.+1,$$d' >>exdep.tmp
  1545. X!     echo 'r depend.tmp' >> exdep.tmp
  1546. X!     echo 'w' >> exdep.tmp
  1547. X      cp Makefile Makefile.new
  1548. X!     ex Makefile.new < exdep.tmp
  1549. X!     rm exdep.tmp depend.tmp
  1550. X      echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  1551. X      echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
  1552. X      echo '# see make depend above'>>Makefile.new
  1553. X--- 75,87 ----
  1554. X       >> depend.tmp) ;\
  1555. X      fi
  1556. X  
  1557. X!     echo '/^# DO NOT DELETE THIS LINE' >eddep.tmp
  1558. X!     echo '.+1,$$d' >>eddep.tmp
  1559. X!     echo 'r depend.tmp' >> eddep.tmp
  1560. X!     echo 'w' >> eddep.tmp
  1561. X      cp Makefile Makefile.new
  1562. X!     ed Makefile.new < eddep.tmp
  1563. X!     rm eddep.tmp depend.tmp
  1564. X      echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
  1565. X      echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
  1566. X      echo '# see make depend above'>>Makefile.new
  1567. XOnly in ./help: Makefile
  1568. XOnly in ./help: ecuhelp.data
  1569. Xdiff -c -r /export/home/wht/src/ecu313/help/ecuhelp.src ./help/ecuhelp.src
  1570. X*** /export/home/wht/src/ecu313/help/ecuhelp.src    Wed Aug 28 19:33:58 1991
  1571. X--- ./help/ecuhelp.src    Sun Aug 25 22:44:26 1991
  1572. X***************
  1573. X*** 204,209 ****
  1574. X--- 204,216 ----
  1575. X  Issuing this command with no argument displays a list of commands
  1576. X  followed by a request for a command for further information.
  1577. X  #--------------------------------------------------------------------
  1578. X+ %kbdtest
  1579. X+ Usage: kbdtest
  1580. X+ 
  1581. X+ This command enters a keybord test mode which tests the
  1582. X+ mapping of keyboard generated character sequences to ECU internal
  1583. X+ key codes.
  1584. X+ #--------------------------------------------------------------------
  1585. X  %llp
  1586. X  Usage: llp
  1587. X  
  1588. X***************
  1589. X*** 547,559 ****
  1590. X  %rtscts
  1591. X  Usage: rtscts [ y | n | ]
  1592. X  
  1593. X! This SCO-only command turns on or off the driver RTS and CTS flow
  1594. X! control.  As of this writing, SCO's driver does half duplex (traditional,
  1595. X! brain damaged) flow control if RTSFLOW is enabled.  FAS does hardware
  1596. X! flow control based on the device magic number, but if you use a device
  1597. X! number specifying no hardware flow control, RTSFLOW and CTSFLOW can be
  1598. X! used to specify SCO-style flow control.  Advice: use rts on or off for
  1599. X! SCO, use appropriate magic numbered device for FAS.
  1600. X  
  1601. X  argument | RTSFLOW | CTSFLOW   argument | RTSFLOW | CTSFLOW
  1602. X  ---------+---------+---------  ---------+---------+---------
  1603. X--- 554,567 ----
  1604. X  %rtscts
  1605. X  Usage: rtscts [ y | n | ]
  1606. X  
  1607. X! This command turns on or off the driver RTS and CTS flow control
  1608. X! if support is provided by the OS.  As of this writing, SCO's
  1609. X! driver does half duplex (traditional, brain damaged) flow control
  1610. X! if RTSFLOW is enabled.  FAS does hardware flow control based on
  1611. X! the device magic number, but if you use a device number
  1612. X! specifying no hardware flow control, RTSFLOW and CTSFLOW can be
  1613. X! used to specify SCO-style flow control.  Advice: use rts on or
  1614. X! off for SCO sio, use appropriate magic numbered device for FAS.
  1615. X  
  1616. X  argument | RTSFLOW | CTSFLOW   argument | RTSFLOW | CTSFLOW
  1617. X  ---------+---------+---------  ---------+---------+---------
  1618. X***************
  1619. X*** 561,566 ****
  1620. X--- 569,576 ----
  1621. X    on     |   0     |   1         1      |   0     |   1
  1622. X    no     |   0     |   0         2      |   1     |   0
  1623. X    yes    |   1     |   1         3      |   1     |   1
  1624. X+ A similar feature is provided under S4.  Under SunOS, CTS
  1625. X+ flow control is upported.  See the manual.
  1626. X  #--------------------------------------------------------------------
  1627. X  %sdname
  1628. X  Usage: sdname [<filename> | ]
  1629. XOnly in ./help: helpgen
  1630. XOnly in ./help: helpgen.o
  1631. XOnly in ./help: util.o
  1632. Xdiff -c -r /export/home/wht/src/ecu313/models/nonansikeys ./models/nonansikeys
  1633. X*** /export/home/wht/src/ecu313/models/nonansikeys    Wed Aug 28 19:34:01 1991
  1634. X--- ./models/nonansikeys    Mon Aug 26 16:26:56 1991
  1635. X***************
  1636. X*** 1,5 ****
  1637. X  #+------------------------------------------------------------------------
  1638. X! # ECU 3.10 nonansikeys
  1639. X  #
  1640. X  # This file contains mapping information to convert non-ANSI
  1641. X  # keyboard function keys to an internal ECU function key
  1642. X--- 1,5 ----
  1643. X  #+------------------------------------------------------------------------
  1644. SHAR_EOF
  1645. true || echo 'restore of PATCH4.01 failed'
  1646. fi
  1647. echo 'End of ecu/patch part 1'
  1648. echo 'File PATCH4.01 is continued in part 2'
  1649. echo 2 > _shar_seq_.tmp
  1650. exit 0
  1651.  
  1652. exit 0 # Just in case...
  1653.