home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sysv386 / 16521 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  37.2 KB

  1. Xref: sparky comp.unix.sysv386:16521 comp.sources.d:1412 comp.dcom.modems:16902
  2. Path: sparky!uunet!ukma!wupost!emory!kd4nc!n4hgf!wht
  3. From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  4. Newsgroups: comp.unix.sysv386,comp.sources.d,comp.dcom.modems
  5. Subject: ECU 3.20 patch 4 posted
  6. Message-ID: <574@n4hgf.Mt-Park.GA.US>
  7. Date: 16 Nov 92 20:37:46 GMT
  8. Followup-To: comp.unix.sysv386
  9. Organization: TuckerWare, Roswell GA
  10. Lines: 1221
  11. X-Newsreader: TIN [version 1.1 PL6]
  12.  
  13. ECU (Extended Call Utility) is a research and engineering
  14. communications program for several flavors of UNIX.
  15. ECU provides the classic terminal communications facility
  16. plus a kitchen-sink smorgasbord of extra features,
  17. such as file transfer and procedure (script) execution.
  18. It was posted to comp.sources.misc in volume 32.
  19.  
  20. ECU 3.20 patch 4 has been sent to the moderator.  For those wanting a
  21. headstart, the patch appears below.
  22.  
  23. For a few days, you may find available for ftp from ftp.uu.net:/tmp
  24. -rw-r--r--   1 ftp      21         939764 Nov 16 15:24 ecu-3.24.tar.Z
  25. -rw-r--r--   1 ftp      21           9144 Nov 16 15:24 ecu.3.20.patch01.Z
  26. -rw-r--r--   1 ftp      21           1752 Nov 16 15:24 ecu.3.20.patch02.Z
  27. -rw-r--r--   1 ftp      21          15753 Nov 16 15:24 ecu.3.20.patch03.Z
  28. -rw-r--r--   1 ftp      21          18044 Nov 16 15:24 ecu.3.20.patch04.Z
  29.  
  30. Submitted-by: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
  31. Posting-number: 
  32. Archive-name: ecu/patch04
  33. Environment: SCO,XENIX,ISC,SUNOS,SYSVR4,HDB,Curses
  34. Patch-To: ecu: Volume 32, Issue 36-75
  35.  
  36. This is patch 4 to ECU 3.20.
  37.  
  38. To apply this patch, extract the shell archive below in the ECU
  39. distribution directory, creating one new file (PATCH04).
  40. Then patch by
  41.  
  42.     patch -p0 < PATCH04
  43.  
  44. Then, make depend, make, su root, make install.
  45. Configure is not necessary for this patch.
  46.  
  47. ==> Patch 4 (from CHANGES)
  48.  
  49. 13. jeff@samantha.chi.il.us (Jeff Johnson) suggested a change
  50. in the SVR4 LCK.. logic, stating that the use of <sys/sysmacros.h>
  51. is deprecated.
  52.  
  53. 14. On some systems, the video attributes were not reverted to
  54. "normal" after some reverse video or underlined strings (e.g,
  55. "[interactive mode]").
  56.  
  57. 15. I removed the Metro Link pts support.  This was quite obsolete
  58. since only very early Metro Link software used pts'.
  59.  
  60. 16.  FAS 2.10 users are getting SIGUSR1 sent to the transmitter.
  61. I suspect this is a bug in FAS evoked by the kill(getty,SIGUSR1)
  62. performed by ecuungetty, but I am have no real clue.  This needs
  63. resolving, but I have little time right now.  This patch adds
  64. signal(SIGUSR1,SIG_IGN) to eliminate the problem.
  65.  
  66. 17. Console xon/xoff support has been added.  EMACS users
  67. lament the loss of ^S/^Q.  (I personally consider it evolution
  68. in action :->).  A new inetractive and a new procedure
  69. command have been added  Also, the status is reported by
  70. the interactive stat command.
  71.  
  72.    conxon on  - honor xon/xoff locally
  73.    conxon off - pass ^S/^U to remote
  74.  
  75. If you turn conxon off, there will be no local software flow control
  76. so you probably need hardware flow control for proper operation.
  77. Refer to the rtscts command descriptions for more information
  78. (I pray you are using a tty driver that supports the kind
  79. of hardware flow control your modem requires).
  80.  
  81. 18.  The procedure file transfer commands did not get
  82. rearranged to look for the file transfer programs in the
  83. ecu library directory.
  84.  
  85. 19. Chains of else statements may fail to operate properly
  86. in certain arrangements.  The known failure was fixed.
  87.  
  88. #!/bin/sh
  89. # This is a shell archive (shar 3.461)
  90. # made 11/16/1992 17:53 UTC by wht@n4hgf
  91. # Source directory /u1/src/ecu-shars
  92. #
  93. # existing files WILL be overwritten
  94. #
  95. # This shar contains:
  96. # length  mode       name
  97. # ------ ---------- ------------------------------------------
  98. #  32607 -rw-r--r-- PATCH04
  99. #
  100. # ============= PATCH04 ==============
  101. echo 'x - extracting PATCH04 (Text)'
  102. sed 's/^X//' << 'SHAR_EOF' > 'PATCH04' &&
  103. X:
  104. X#-------------------------------------------------------
  105. X# PATCH04.01
  106. X# created by gendiff x1.30 on 16 Nov 1992 02:05 UTC
  107. X#-------------------------------------------------------
  108. XPrereq: 23
  109. X*** ../ecu-3.23/patchlevel.h    Sun Nov 15 20:39:21 1992
  110. X--- patchlevel.h    Mon Oct  5 13:59:40 1992
  111. X***************
  112. X*** 1 ****
  113. X! #define PATCHLEVEL 23
  114. X--- 1 ----
  115. X! #define PATCHLEVEL 24
  116. X*** ../ecu-3.23/CHANGES    Sun Nov 15 20:38:30 1992
  117. X--- CHANGES    Sat Nov 14 22:39:50 1992
  118. X***************
  119. X*** 39,41 ****
  120. X--- 39,145 ----
  121. X  1992-09-15-18:52-ecutty.c-wht@n4hgf-left some debug code in patch01 dammit 
  122. X  
  123. X  6. Remove debug code from _setcolor().
  124. X+ 
  125. X+ ==> Patch 3
  126. X+ 
  127. X+ 1992-09-17-06:27-ecuicmd.c-wht@n4hgf-add <7-bit kbd> to stat 
  128. X+ 1992-09-17-05:33-mapkey/README-wht@n4hgf-0xE0 should read 0xE1
  129. X+ 1992-09-17-05:16-ecuxkey.h-wht@n4hgf-finally, 0xE1-0xFA as promised in 3.10  
  130. X+ 1992-09-16-14:13-ecunumrev.c-wht@n4hgf-add M and F version qualifiers 
  131. X+ 1992-09-16-13:54-ecuusage.c-wht@n4hgf-add fkmap usage 
  132. X+ 1992-09-16-13:33-funckeymap.c-wht@n4hgf-add fkmap -l name 
  133. X+ 1992-09-16-13:29-termecu.h-wht@n4hgf-add TERMECU_UNRECOVERABLE 
  134. X+ 1992-09-16-13:29-ecusighdl.c-wht@n4hgf-add TERMECU_UNRECOVERABLE text 
  135. X+ 1992-09-15-18:52-ecutty.c-wht@n4hgf-left some debug code in patch01 dammit 
  136. X+ 
  137. X+ 7.  Information on tty "Device busy" errors and color support
  138. X+ have been added to README.Q-and-A.  Obsolete information was
  139. X+ removed.
  140. X+ 
  141. X+ 8. The -l switch was added to the fkmap commands:
  142. X+        fkmap -l <name>
  143. X+ The -l form reads an entire funckeymap definition matching <name>
  144. X+ from ~/.ecu/funckeymap (if not found there, in a file by the same
  145. X+ name in the library directory).  This form behaves exactly
  146. X+ in the same manner as the command line switch -F.
  147. X+ Due to the drastic nature of this command, if it fails to
  148. X+ execute properly, ECU terminates itself.  Note that
  149. X+ improper use of this form of the command can still render
  150. X+ ECU an albatross (with Home unrecognizable).
  151. X+ 
  152. X+ 9.  The original high-bit character space assignments for Alt-A
  153. X+ through Alt-Z that I chose for ECU made good sense ...  to a
  154. X+ parochial American.  Michael Traub <emory!btcs.bt.co.uk!traub>
  155. X+ sets me straight, but mapkey/README was incorrect.  Each hex
  156. X+ value was off by one.
  157. X+ 
  158. X+ 10.  If the console has parity enabled, the interactive stat
  159. X+ command now reports <7-bit kbd>.  Knowing this can be important
  160. X+ if you are using Alt-[A-Z].  Or if you are trying for some kind
  161. X+ of unlikely tandem 8-bit transparent path (telnet to a box, run
  162. X+ ecu to call home, login, use ECU there to talk to your amateur
  163. X+ radio PK-232/MBX TNC over 14 MHz AMTOR to the UK to a Kantronics
  164. X+ TNC hooked to an SCO box, login, make an ECU call to a certain
  165. X+ Universal Import-Export ...  uh, hi -- I seem to have dozed off).
  166. X+ 
  167. X+ 11.  At least one ISC SVR3 user had a Devices entry with the
  168. X+ modem control ",M" suffix I thought was only used in SVR4 UUCP.
  169. X+ The suffix presence is now detected on all platforms.
  170. X+ 
  171. X+ 12. ecusea.c had two fcntl.h inclusions.  XENIX could not
  172. X+ handle this.
  173. X+ 
  174. X+ ==> Patch 4
  175. X+ 
  176. X+ 13. jeff@samantha.chi.il.us (Jeff Johnson) suggested a change
  177. X+ in the SVR4 LCK.. logic, stating that the use of <sys/sysmacros.h>
  178. X+ is deprecated.
  179. X+ 
  180. X+ > Here is an excerpt from my <sys/sysmacros.h>:
  181. X+ > 
  182. X+ >    WARNING: The device number macros defined here should not be
  183. X+ >    used by device drivers or user software.  Device drivers
  184. X+ >    should use the device functions defined in the DDI/DKI
  185. X+ >    interface (see also ddi.h).  Application software should make
  186. X+ >    use of the library routines available in makedev(3).  A set of
  187. X+ >    new device macros are provided to operate on the expanded
  188. X+ >    device number format supported in SVR4.  Macro versions of the
  189. X+ >    DDI device functions are provided for use by kernel proper
  190. X+ >    routines only.  Macro routines bmajor(), major(), minor(),
  191. X+ >    emajor(), eminor(), and makedev() will be removed or their
  192. X+ >    definitions changed at the next major release following SVR4.
  193. X+ 
  194. X+ 14. On some systems, the video attributes were not reverted to
  195. X+ "normal" after some reverse video or underlined strings (e.g,
  196. X+ "[interactive mode]").
  197. X+ 
  198. X+ 15. I removed the Metro Link pts support.  This was quite obsolete
  199. X+ since only very early Metro Link software used pts'.
  200. X+ 
  201. X+ 16.  FAS 2.10 users are getting SIGUSR1 sent to the transmitter.
  202. X+ I suspect this is a bug in FAS evoked by the kill(getty,SIGUSR1)
  203. X+ performed by ecuungetty, but I am have no real clue.  This needs
  204. X+ resolving, but I have little time right now.  This patch adds
  205. X+ signal(SIGUSR1,SIG_IGN) to eliminate the problem.
  206. X+ 
  207. X+ 17. Console xon/xoff support has been added.  EMACS users
  208. X+ lament the loss of ^S/^Q.  (I personally consider it evolution
  209. X+ in action :->).  A new inetractive and a new procedure
  210. X+ command have been added  Also, the status is reported by
  211. X+ the interactive stat command.
  212. X+ 
  213. X+    conxon on  - honor xon/xoff locally
  214. X+    conxon off - pass ^S/^U to remote
  215. X+ 
  216. X+ If you turn conxon off, there will be no local software flow control
  217. X+ so you probably need hardware flow control for proper operation.
  218. X+ Refer to the rtscts command descriptions for more information
  219. X+ (I pray you are using a tty driver that supports the kind
  220. X+ of hardware flow control your modem requires).
  221. X+ 
  222. X+ 18.  The procedure file transfer commands did not get
  223. X+ rearranged to look for the file transfer programs in the
  224. X+ ecu library directory.
  225. X+ 
  226. X+ 19. Chains of else statements may fail to operate properly
  227. X+ in certain arrangements.  The known failure was fixed.
  228. X*** ../ecu-3.23/doc/_icmd.txt    Sun Nov 15 20:39:23 1992
  229. X--- doc/_icmd.txt    Sun Oct 18 16:02:32 1992
  230. X***************
  231. X*** 116,121 ****
  232. X--- 116,136 ----
  233. X  interactive command to return to the previous directory.
  234. X  
  235. X  Other %options have usage information by entering them with no arguments.
  236. X+ 
  237. X+ .*s 2 "CONXon : console xon/xoff flow control"
  238. X+ .DS L
  239. X+ usage: conxon [<arg>]
  240. X+ where <arg> is on    honor ^S/^Q local flow control (DEFAULT)
  241. X+                off   pass ^S/^Q to remote
  242. X+ .DE
  243. X+ 
  244. X+ This command enables or disables console xon/xoff flow control.
  245. X+ If the argument is omitted, the current flow control state is displayed.
  246. X+ 
  247. X+ If on, typing ^S/^Q stops or restarts the local console driver
  248. X+ output.  If off, ^S and ^Q are passed to the remote (for EMACS,
  249. X+ of course -- who else?).
  250. X+ 
  251. X  .*s 2 "DA : decimal to ascii char"
  252. X  .DS L
  253. X  usage: da [<decimal-val>]
  254. X***************
  255. X*** 1156,1162 ****
  256. X  and two-character control character identifier.
  257. X  
  258. X  
  259. X! .*s 2 "XON : xon/xoff flow control"
  260. X  .DS L
  261. X  usage: xon [<arg>]
  262. X  where <arg> is on    input and output flow control
  263. X--- 1171,1177 ----
  264. X  and two-character control character identifier.
  265. X  
  266. X  
  267. X! .*s 2 "XON : line xon/xoff flow control"
  268. X  .DS L
  269. X  usage: xon [<arg>]
  270. X  where <arg> is on    input and output flow control
  271. X*** ../ecu-3.23/doc/_p_cmd.txt    Sun Nov 15 20:39:24 1992
  272. X--- doc/_p_cmd.txt    Sun Oct 18 16:02:41 1992
  273. X***************
  274. X*** 179,184 ****
  275. X--- 179,198 ----
  276. X  .B else
  277. X  command.
  278. X  
  279. X+ .*s 2 "conxon"
  280. X+ .DS L
  281. X+ usage: conxon [<arg>]
  282. X+ where <arg> is on    honor ^S/^Q local flow control (DEFAULT)
  283. X+                off   pass ^S/^Q to remote
  284. X+ .DE
  285. X+ 
  286. X+ This command enables or disables console xon/xoff flow control.
  287. X+ If the argument is omitted, the current flow control state is displayed.
  288. X+ 
  289. X+ If on, typing ^S/^Q stops or restarts the local console driver
  290. X+ output.  If off, ^S and ^Q are passed to the remote (for EMACS,
  291. X+ of course -- who else?).
  292. X+ 
  293. X  .*s 2 "cursor"
  294. X  
  295. X  usage: cursor <row> [<col>]
  296. X*** ../ecu-3.23/doc/_p_ifunc.txt    Sun Nov 15 16:43:02 1992
  297. X--- doc/_p_ifunc.txt    Mon Oct 26 13:15:19 1992
  298. X***************
  299. X*** 432,438 ****
  300. X  .*s 2 "%rchr"
  301. X  
  302. X  This function returns the number of characters
  303. X! received by ECU since the program starrted.
  304. X  
  305. X  .*s 2 "%rchrc"
  306. X  
  307. X--- 432,438 ----
  308. X  .*s 2 "%rchr"
  309. X  
  310. X  This function returns the number of characters
  311. X! received by ECU since the program started.
  312. X  
  313. X  .*s 2 "%rchrc"
  314. X  
  315. X*** ../ecu-3.23/doc/_top.txt    Sun Nov 15 16:43:09 1992
  316. X--- doc/_top.txt    Sun Oct 18 16:19:55 1992
  317. X***************
  318. X*** 31,37 ****
  319. X  .sp .5i
  320. X  .ce 100
  321. X  Technical Description
  322. X! Revision 3.20
  323. X  \n(mo/\n(dy/\n(yr
  324. X  .ce 0
  325. X  .sp 1i
  326. X--- 31,37 ----
  327. X  .sp .5i
  328. X  .ce 100
  329. X  Technical Description
  330. X! Revision 3.24
  331. X  \n(mo/\n(dy/\n(yr
  332. X  .ce 0
  333. X  .sp 1i
  334. X*** ../ecu-3.23/doc/proc.txt    Sun Nov 15 16:43:12 1992
  335. X--- doc/proc.txt    Sun Oct 18 16:20:02 1992
  336. X***************
  337. X*** 32,38 ****
  338. X  .sp 1i
  339. X  .ce 100
  340. X  Procedure Language
  341. X! Revision 3.20
  342. X  \n(mo/\n(dy/\n(yr
  343. X  .ce 0
  344. X  .sp 1i
  345. X--- 32,38 ----
  346. X  .sp 1i
  347. X  .ce 100
  348. X  Procedure Language
  349. X! Revision 3.24
  350. X  \n(mo/\n(dy/\n(yr
  351. X  .ce 0
  352. X  .sp 1i
  353. X*** ../ecu-3.23/ecuLCK.c    Sun Nov 15 16:37:26 1992
  354. X--- ecuLCK.c    Wed Oct  7 21:19:40 1992
  355. X***************
  356. X*** 1,7 ****
  357. X--- 1,9 ----
  358. X  #define HONEYDANBER /* means use ASCII pids in lock files */
  359. X+ #define USE_SVR4_MKDEV_H /* jeff@samantha.chi.il.us SVR4 lock file correction */
  360. X  #if defined(SHARE_DEBUG)
  361. X  #define LOG_LOCKS
  362. X  #endif
  363. X+ 
  364. X  /*+-----------------------------------------------------------------------
  365. X      ecuLCK.c -- ECU lock file management
  366. X      wht@n4hgf.Mt-Park.GA.US
  367. X***************
  368. X*** 16,21 ****
  369. X--- 18,24 ----
  370. X  check for both.
  371. X  ------------------------------------------------------------------------*/
  372. X  /*+:EDITS:*/
  373. X+ /*:10-07-1992-21:09-jeff@samantha.chi.il.us-SVR4 lock file correction */
  374. X  /*:09-10-1992-13:58-wht@n4hgf-ECU release 3.20 */
  375. X  /*:08-22-1992-15:38-wht@n4hgf-ECU release 3.20 BETA */
  376. X  /*:08-21-1992-13:39-wht@n4hgf-rewire direct/modem device use */
  377. X***************
  378. X*** 34,40 ****
  379. X--- 37,47 ----
  380. X  #include "ecu.h"
  381. X  #include "utmpstatus.h"
  382. X  #if defined(SVR4)
  383. X+ #ifndef USE_SVR4_MKDEV_H
  384. X  # include <sys/sysmacros.h>
  385. X+ #else
  386. X+ # include <sys/mkdev.h>
  387. X+ #endif /* USE_SVR4_MKDEV_H */
  388. X  #endif
  389. X  
  390. X  extern int errno;
  391. X***************
  392. X*** 63,69 ****
  393. X      }
  394. X      sprintf(lock_file_name,"%s/LK.%03u.%03u.%03u",
  395. X          lock_dir_name,major(tbuf.st_dev),
  396. X!         tbuf.st_rdev >> 18, minor(tbuf.st_rdev));
  397. X  #else
  398. X  
  399. X      /*
  400. X--- 70,81 ----
  401. X      }
  402. X      sprintf(lock_file_name,"%s/LK.%03u.%03u.%03u",
  403. X          lock_dir_name,major(tbuf.st_dev),
  404. X! #ifndef USE_SVR4_MKDEV_H
  405. X!         tbuf.st_rdev >> 18,
  406. X! #else
  407. X!         major(tbuf.st_rdev),
  408. X! #endif /* USE_SVR4_MKDEV_H */
  409. X!          minor(tbuf.st_rdev));
  410. X  #else
  411. X  
  412. X      /*
  413. X*** ../ecu-3.23/ecucmd.h    Sun Nov 15 16:37:32 1992
  414. X--- ecucmd.h    Sun Oct 18 15:09:37 1992
  415. X***************
  416. X*** 3,8 ****
  417. X--- 3,9 ----
  418. X      wht@n4hgf.Mt-Park.GA.US
  419. X  --------------------------------------------------------------------------*/
  420. X  /*+:EDITS:*/
  421. X+ /*:10-18-1992-14:26-wht@n4hgf-add conxon */
  422. X  /*:09-10-1992-13:58-wht@n4hgf-ECU release 3.20 */
  423. X  /*:08-30-1992-23:06-wht@n4hgf-add fkmap */
  424. X  /*:08-22-1992-15:38-wht@n4hgf-ECU release 3.20 BETA */
  425. X***************
  426. X*** 37,42 ****
  427. X--- 38,44 ----
  428. X      CTbreak,
  429. X      CTcd,
  430. X      CTclrx,
  431. X+     CTconxon,
  432. X      CTda,
  433. X      CTdcdwatch,
  434. X      CTdial,
  435. X***************
  436. X*** 123,128 ****
  437. X--- 125,131 ----
  438. X  S int pcmd_cls() BODY
  439. X  S int pcmd_color() BODY
  440. X  S int pcmd_continue() BODY
  441. X+ S int pcmd_conxon() BODY
  442. X  S int pcmd_cursor() BODY
  443. X  S int pcmd_dcdwatch() BODY
  444. X  S int pcmd_delline() BODY
  445. X***************
  446. X*** 247,252 ****
  447. X--- 250,256 ----
  448. X      { "cls",    0,0,        "",                                pcmd_cls,    0  },
  449. X      { "color",    0,0,        "",                                pcmd_color,    0  },
  450. X      { "continue",0,0,        "",                                pcmd_continue,0},
  451. X+     { "conxon",    4,CTconxon,    "console software flow control",pcmd_conxon,  0},
  452. X      { "cursor",    0,0,        "",                                pcmd_cursor,0  },
  453. X      { "da",        2,CTda,        "decimal to ascii char",        0,          ccG},
  454. X      { "dcdwatch",3,CTdcdwatch,"control DCD disconnect",        pcmd_dcdwatch,ccC},
  455. X***************
  456. X*** 364,370 ****
  457. X      { "whiles",    0,0,        "",                                pcmd_whiles,0  },
  458. X      { "xa",        2,CTxa,        "hex to ascii char",            0,         ccG },
  459. X      { "xlog",    2,CTxlog,    "protocol packet logging",        0,         ccT },
  460. X!     { "xon",    2,CTxon,    "xon/xoff flow control",        pcmd_xon,  ccC },
  461. X  /* these cmds are interecepted by special code in ecucmd.h and appear
  462. X   * here only so they will be picked up by the help system.
  463. X   */
  464. X--- 368,374 ----
  465. X      { "whiles",    0,0,        "",                                pcmd_whiles,0  },
  466. X      { "xa",        2,CTxa,        "hex to ascii char",            0,         ccG },
  467. X      { "xlog",    2,CTxlog,    "protocol packet logging",        0,         ccT },
  468. X!     { "xon",    2,CTxon,    "line xon/xoff flow control",    pcmd_xon,  ccC },
  469. X  /* these cmds are interecepted by special code in ecucmd.h and appear
  470. X   * here only so they will be picked up by the help system.
  471. X   */
  472. X*** ../ecu-3.23/ecuicmd.c    Sun Nov 15 20:39:26 1992
  473. X--- ecuicmd.c    Fri Oct 30 11:49:05 1992
  474. X***************
  475. X*** 9,14 ****
  476. X--- 9,16 ----
  477. X  
  478. X  ------------------------------------------------------------------------*/
  479. X  /*+:EDITS:*/
  480. X+ /*:10-18-1992-14:26-wht@n4hgf-add conxon */
  481. X+ /*:10-08-1992-01:12-wht@n4hgf-no more obsolete Metro Link PTS */
  482. X  /*:09-17-1992-06:27-wht@n4hgf-add <7-bit kbd> to stat */
  483. X  /*:09-13-1992-12:52-wht@n4hgf-show tty_is_scoterm during stat */
  484. X  /*:09-10-1992-13:58-wht@n4hgf-ECU release 3.20 */
  485. X***************
  486. X*** 61,69 ****
  487. X  extern long tty_escape_timeout;        /* timeout on waiting for char after ESC */
  488. X  extern int tcap_COLS;
  489. X  extern int tcap_LINES;
  490. X- #if defined(METROLINK_X11R4_PTS)
  491. X- extern int tty_is_pts;
  492. X- #endif /* METROLINK_X11R4_PTS */
  493. X  extern int errno;
  494. X  extern int proc_interrupt;
  495. X  extern int proctrace;
  496. X--- 63,68 ----
  497. X***************
  498. X*** 143,148 ****
  499. X--- 142,148 ----
  500. X      long atol();
  501. X      char *find_procedure();
  502. X      char *xon_status();
  503. X+     char *console_xon_status();
  504. X  #ifdef sun
  505. X      int modem_lines;
  506. X  #endif
  507. X***************
  508. X*** 632,638 ****
  509. X          ff(se,"Hardware flow control configuration: ");
  510. X          display_hw_flow_config();
  511. X  #else
  512. X!         ff(se,"no hardware flow control available\n");
  513. X  #endif
  514. X  
  515. X          if(!shm->Lconnected)
  516. X--- 632,638 ----
  517. X          ff(se,"Hardware flow control configuration: ");
  518. X          display_hw_flow_config();
  519. X  #else
  520. X!         ff(se,"no hardware flow control available\r\n");
  521. X  #endif
  522. X  
  523. X          if(!shm->Lconnected)
  524. X***************
  525. X*** 663,674 ****
  526. X              ff(se,"<scoterm> ");
  527. X          if(tty_is_pty)
  528. X              ff(se,"<pty> ");
  529. X- #if defined(METROLINK_X11R4_PTS)
  530. X-         if(tty_is_pts)
  531. X-             ff(se,"<pts> ");
  532. X- #endif /* METROLINK_X11R4_PTS */
  533. X          if(kbd_is_7bit)
  534. X              ff(se,"<7-bit kbd> ");
  535. X          ff(se,"\r\n");
  536. X  
  537. X  #if defined(USE_ECUUNGETTY)
  538. X--- 663,671 ----
  539. X              ff(se,"<scoterm> ");
  540. X          if(tty_is_pty)
  541. X              ff(se,"<pty> ");
  542. X          if(kbd_is_7bit)
  543. X              ff(se,"<7-bit kbd> ");
  544. X+         fputs(console_xon_status(),se);
  545. X          ff(se,"\r\n");
  546. X  
  547. X  #if defined(USE_ECUUNGETTY)
  548. X***************
  549. X*** 728,733 ****
  550. X--- 725,742 ----
  551. X              break;
  552. X          }
  553. X          ff(se,"  xon/xoff flow control: %s\r\n",xon_status());
  554. X+         break;
  555. X+ 
  556. X+         case CTconxon:
  557. X+         if(narg > 1)
  558. X+         {
  559. X+             if(set_console_xon_xoff_by_arg(arg[1]))
  560. X+                 ff(se,"  argument error\r\n");
  561. X+             else
  562. X+                 ff(se,"\r\n");
  563. X+             break;
  564. X+         }
  565. X+         ff(se,"\r\nconsole xon/xoff flow control: %s\r\n",console_xon_status());
  566. X          break;
  567. X  
  568. X          case CTsgr:
  569. X*** ../ecu-3.23/ecusighdl.c    Sun Nov 15 20:39:28 1992
  570. X--- ecusighdl.c    Sun Oct 18 14:11:12 1992
  571. X***************
  572. X*** 29,34 ****
  573. X--- 29,35 ----
  574. X  
  575. X  ------------------------------------------------------------------------*/
  576. X  /*+:EDITS:*/
  577. X+ /*:10-18-1992-14:11-wht@n4hgf-FAS 2.10 users getting SIGUSR1 on xmtr */
  578. X  /*:09-16-1992-13:29-wht@n4hgf-add TERMECU_UNRECOVERABLE text */
  579. X  /*:09-10-1992-13:59-wht@n4hgf-ECU release 3.20 */
  580. X  /*:08-22-1992-15:38-wht@n4hgf-ECU release 3.20 BETA */
  581. X***************
  582. X*** 586,596 ****
  583. X--- 587,601 ----
  584. X              case SIGCLD:
  585. X                  signal(sig,xmtr_SIGCLD_handler);
  586. X                  break;
  587. X+             case SIGUSR1:
  588. X+                 signal(sig,SIG_IGN);
  589. X+                 break;
  590. X              case SIGUSR2:
  591. X                  signal(sig,xmtr_SIGUSR2_handler);
  592. X                  break;
  593. X              default:
  594. X                  signal(sig,xmtr_death_handler);
  595. X+                 break;
  596. X          }
  597. X      }
  598. X  
  599. X*** ../ecu-3.23/ecutty.c    Sun Nov 15 20:39:29 1992
  600. X--- ecutty.c    Sun Oct 18 16:02:05 1992
  601. X***************
  602. X*** 83,88 ****
  603. X--- 83,91 ----
  604. X  
  605. X  --------------------------------------------------------------------------*/
  606. X  /*+:EDITS:*/
  607. X+ /*:10-18-1992-14:26-wht@n4hgf-add console xon/xoff control */
  608. X+ /*:10-08-1992-01:12-wht@n4hgf-no more obsolete Metro Link PTS */
  609. X+ /*:10-08-1992-01:06-wht@n4hgf-SVR4 color work + !use_color normal fix */
  610. X  /*:09-15-1992-18:52-wht@n4hgf-left some debug code in patch01 dammit */
  611. X  /*:09-13-1992-12:52-wht@n4hgf-add tty_is_scoterm */
  612. X  /*:09-10-1992-13:59-wht@n4hgf-ECU release 3.20 */
  613. X***************
  614. X*** 158,170 ****
  615. X  uint LINESxCOLS;
  616. X  int current_ttymode = 0;
  617. X  int ttymode_termecu_on_sigint = 0;
  618. X- #if defined(METROLINK_X11R4_PTS)
  619. X- int tty_is_pts;
  620. X- #endif
  621. X  int tty_is_pty;
  622. X  int tty_is_multiscreen;
  623. X  int tty_is_scoterm;
  624. X  int tty_not_char_special;
  625. X  int use_colors = 0;        /* set by ttyinit, but default no */
  626. X  char *ttype;            /* getenv("TERM") */
  627. X  
  628. X--- 161,171 ----
  629. X  uint LINESxCOLS;
  630. X  int current_ttymode = 0;
  631. X  int ttymode_termecu_on_sigint = 0;
  632. X  int tty_is_pty;
  633. X  int tty_is_multiscreen;
  634. X  int tty_is_scoterm;
  635. X  int tty_not_char_special;
  636. X+ int tty_use_kbd_sw_flow_control = 1;
  637. X  int use_colors = 0;        /* set by ttyinit, but default no */
  638. X  char *ttype;            /* getenv("TERM") */
  639. X  
  640. X***************
  641. X*** 178,186 ****
  642. X  struct stat dn;
  643. X  struct stat tty01;
  644. X  struct stat ttyp0;
  645. X- #if defined(METROLINK_X11R4_PTS)
  646. X- struct stat pts000;
  647. X- #endif /* METROLINK_X11R4_PTS */
  648. X  struct stat console;
  649. X  
  650. X  uchar kbdeof;            /* current input EOF */
  651. X--- 179,184 ----
  652. X***************
  653. X*** 208,242 ****
  654. X   *
  655. X   */
  656. X  #ifdef M_SYSV /* SCO */
  657. X- ulong colors_current = 0x04070A00L;
  658. X- ulong colors_normal = 0x04070A00L;    /* default lt_green/black red/white */
  659. X  ulong colors_initial = 0x04070A00L;    /* default initial colors */
  660. X  ulong colors_success = 0x07000A00L;    /* lt_green/black red/white */
  661. X! ulong colors_alert = 0x0E000E00L;    /* yellow */
  662. X! ulong colors_error = 0x04000400L;    /* red */
  663. X! ulong colors_notify = 0x08000800L;    /* gray */
  664. X  #define COLORS_DEFINED
  665. X  #endif /* M_SYSV */
  666. X  
  667. X  #if defined(ISCSVR4)
  668. X  ulong colors_current = 0x00003740L;
  669. X! ulong colors_normal = 0x00003740L;    /* */
  670. X! ulong colors_initial = 0x00003740L;    /* */
  671. X! ulong colors_success = 0x00003740L;    /* */
  672. X! ulong colors_alert = 0x00003740L;    /* */
  673. X! ulong colors_error = 0x00003140L;    /* */
  674. X! ulong colors_notify = 0x00003340L;    /* */
  675. X  #define COLORS_DEFINED
  676. X  #endif /* ISCSVR4 */
  677. X  
  678. X  #if defined(ESIXSVR4)
  679. X  ulong colors_current = 0x00003740L;
  680. X! ulong colors_normal = 0x00003740L;    /* not correct - THESE NEED FIXING */
  681. X! ulong colors_initial = 0x00003740L;    /* not correct - THESE NEED FIXING */
  682. X! ulong colors_success = 0x00003740L;    /* not correct - THESE NEED FIXING */
  683. X! ulong colors_alert = 0x00003740LL;    /* not correct - THESE NEED FIXING */
  684. X! ulong colors_error = 0x00003140L;    /* not correct - THESE NEED FIXING */
  685. X! ulong colors_notify = 0x00003340L;    /* not correct - THESE NEED FIXING */
  686. X  #define COLORS_DEFINED
  687. X  
  688. X  static struct color_remapping {
  689. X--- 206,240 ----
  690. X   *
  691. X   */
  692. X  #ifdef M_SYSV /* SCO */
  693. X  ulong colors_initial = 0x04070A00L;    /* default initial colors */
  694. X+ ulong colors_current = 0x04070A00L; /* colors set during execution */
  695. X+ ulong colors_normal  = 0x04070A00L;    /* default lt_green/black red/white */
  696. X  ulong colors_success = 0x07000A00L;    /* lt_green/black red/white */
  697. X! ulong colors_alert   = 0x0E000E00L;    /* yellow */
  698. X! ulong colors_error   = 0x04000400L;    /* red */
  699. X! ulong colors_notify  = 0x08000800L;    /* gray */
  700. X  #define COLORS_DEFINED
  701. X  #endif /* M_SYSV */
  702. X  
  703. X  #if defined(ISCSVR4)
  704. X+ ulong colors_initial = 0x00003740L;
  705. X  ulong colors_current = 0x00003740L;
  706. X! ulong colors_normal  = 0x00003740L;    /* white */
  707. X! ulong colors_success = 0x00003240L;    /* green */
  708. X! ulong colors_alert   = 0x00003340L;    /* yellow */
  709. X! ulong colors_error   = 0x00003140L;    /* red  */
  710. X! ulong colors_notify  = 0x00003640L;    /* cyan */
  711. X  #define COLORS_DEFINED
  712. X  #endif /* ISCSVR4 */
  713. X  
  714. X  #if defined(ESIXSVR4)
  715. X+ ulong colors_initial = 0x00003740L;
  716. X  ulong colors_current = 0x00003740L;
  717. X! ulong colors_normal  = 0x00003740L;    /* ? */
  718. X! ulong colors_success = 0x00003240L;    /* ? */
  719. X! ulong colors_alert   = 0x00003340L;    /* ? */
  720. X! ulong colors_error   = 0x00003140L;    /* ? */
  721. X! ulong colors_notify  = 0x00003640L;    /* ? */
  722. X  #define COLORS_DEFINED
  723. X  
  724. X  static struct color_remapping {
  725. X***************
  726. X*** 287,298 ****
  727. X  {
  728. X      long ms = 300L;
  729. X  
  730. X-     /* make pts sweat, but don't make as many mistakes */
  731. X- #if defined(METROLINK_X11R4_PTS)
  732. X-     if(tty_is_pts)
  733. X-         return(ms);
  734. X- #endif /* METROLINK_X11R4_PTS */
  735. X- 
  736. X      /* make network/xterm/pty sweat, but don't make as many mistakes */
  737. X      if(tty_is_pty)
  738. X          return(ms);
  739. X--- 285,290 ----
  740. X***************
  741. X*** 437,444 ****
  742. X              tcap_stand_out();
  743. X          else
  744. X          {
  745. X!             tcap_underscore_on();
  746. X!             tcap_bold_on();
  747. X              tcap_stand_end();
  748. X          }
  749. X          return;
  750. X--- 429,436 ----
  751. X              tcap_stand_out();
  752. X          else
  753. X          {
  754. X!             tcap_underscore_off();
  755. X!             tcap_bold_off();
  756. X              tcap_stand_end();
  757. X          }
  758. X          return;
  759. X***************
  760. X*** 738,753 ****
  761. X          tty_is_pty = 1;
  762. X  
  763. X      /*
  764. X-      * if pts
  765. X-      */
  766. X- #if defined(METROLINK_X11R4_PTS)
  767. X-     memset((char *)&pts000,0xFF,sizeof(struct stat));
  768. X-     stat("/dev/pts000",&pts000);
  769. X-     if((tty_stat.st_rdev & 0xFF00) == (pts000.st_rdev & 0xFF00))
  770. X-         tty_is_pts = 1;
  771. X- #endif /* METROLINK_X11R4_PTS */
  772. X- 
  773. X-     /*
  774. X       * use color if we are on a display that supports it and we know how :-|
  775. X       */
  776. X      use_colors = 0;
  777. X--- 730,735 ----
  778. X***************
  779. X*** 885,891 ****
  780. X          /* don't want to honor tty xon/xoff, but pass to other end */
  781. X          tty_termio_current.c_iflag &=
  782. X              ~(INLCR | ICRNL | IGNCR | IUCLC | ISTRIP);
  783. X!         tty_termio_current.c_iflag |= IXON | IXOFF;    /* both ends xon/xoff */
  784. X  
  785. X          tty_termio_current.c_oflag |= OPOST;
  786. X          tty_termio_current.c_oflag &= ~(OLCUC | ONLCR | OCRNL | ONOCR | ONLRET);
  787. X--- 867,876 ----
  788. X          /* don't want to honor tty xon/xoff, but pass to other end */
  789. X          tty_termio_current.c_iflag &=
  790. X              ~(INLCR | ICRNL | IGNCR | IUCLC | ISTRIP);
  791. X!         if(tty_use_kbd_sw_flow_control)
  792. X!             tty_termio_current.c_iflag |= IXON | IXOFF;
  793. X!         else
  794. X!             tty_termio_current.c_iflag &= ~(IXON | IXOFF);
  795. X  
  796. X          tty_termio_current.c_oflag |= OPOST;
  797. X          tty_termio_current.c_oflag &= ~(OLCUC | ONLCR | OCRNL | ONOCR | ONLRET);
  798. X***************
  799. X*** 1447,1452 ****
  800. X--- 1432,1478 ----
  801. X      return(ttname);
  802. X  #endif
  803. X  }    /* end of get_ttyname */
  804. X+ 
  805. X+ /*+-------------------------------------------------------------------------
  806. X+     set_console_xon_xoff_by_arg(arg)
  807. X+ --------------------------------------------------------------------------*/
  808. X+ int
  809. X+ set_console_xon_xoff_by_arg(arg)
  810. X+ char *arg;
  811. X+ {
  812. X+     int new_xon_xoff = 0;
  813. X+ 
  814. X+     if(ulcmpb(arg,"on") < 0)
  815. X+     {
  816. X+         new_xon_xoff = IXON | IXOFF;
  817. X+         tty_use_kbd_sw_flow_control = 1;
  818. X+     }
  819. X+     else if(ulcmpb(arg,"off") < 0)
  820. X+     {
  821. X+         new_xon_xoff = 0;
  822. X+         tty_use_kbd_sw_flow_control = 0;
  823. X+     }
  824. X+     else
  825. X+         return(-1);
  826. X+ 
  827. X+     tty_termio_current.c_iflag &= ~(IXON|IXOFF);
  828. X+     tty_termio_current.c_iflag |= new_xon_xoff;
  829. X+     ioctl(TTYIN,TCSETA,(char *)&tty_termio_current);
  830. X+     return(0);
  831. X+ 
  832. X+ }    /* end of set_console_xon_xoff_by_arg */
  833. X+ 
  834. X+ /*+-------------------------------------------------------------------------
  835. X+     console_xon_status()
  836. X+ --------------------------------------------------------------------------*/
  837. X+ char *
  838. X+ console_xon_status()
  839. X+ {
  840. X+     if(tty_use_kbd_sw_flow_control)
  841. X+         return("HONOR ^S/^Q locally");
  842. X+     else
  843. X+         return("PASS ^S/^Q to remote");
  844. X+ }    /* end of console_xon_status */
  845. X  
  846. X  /* end of ecutty.c */
  847. X  /* vi: set tabstop=4 shiftwidth=4: */
  848. X*** ../ecu-3.23/ecuutil.c    Sun Nov 15 16:38:34 1992
  849. X--- ecuutil.c    Wed Nov 11 14:47:13 1992
  850. X***************
  851. X*** 261,266 ****
  852. X--- 261,270 ----
  853. X      }
  854. X  
  855. X      token = parseptr;
  856. X+ 
  857. X+     /*
  858. X+      * tokens beginning with apostrophe or quotes kept together
  859. X+      */
  860. X      if(*token == '\'')
  861. X      {
  862. X          token++;
  863. X***************
  864. X*** 278,283 ****
  865. X--- 282,305 ----
  866. X          str_token_static = (char *)0;
  867. X          return(token);
  868. X      }
  869. X+     else if(*token == '"')
  870. X+     {
  871. X+         token++;
  872. X+         parseptr++;
  873. X+         while(*parseptr)
  874. X+         {
  875. X+             if(*parseptr == '"')
  876. X+             {
  877. X+                 str_token_static = parseptr + 1;
  878. X+                 *parseptr = 0;
  879. X+                 return(token);
  880. X+             }
  881. X+             parseptr++;
  882. X+         }
  883. X+         str_token_static = (char *)0;
  884. X+         return(token);
  885. X+     }
  886. X+ 
  887. X      while(*parseptr)
  888. X      {
  889. X          if(strchr(termchars,*parseptr))
  890. X*** ../ecu-3.23/help/ecuhelp.src    Sun Nov 15 20:39:35 1992
  891. X--- help/ecuhelp.src    Sun Oct 18 16:02:52 1992
  892. X***************
  893. X*** 1,5 ****
  894. X  # ecu help source file
  895. X! #+:EDITS:*/
  896. X  #:09-10-1992-13:59-wht@n4hgf-ECU release 3.20
  897. X  #:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA
  898. X  #:04-19-1992-20:41-wht@n4hgf-upgrade kbdtest entry
  899. X--- 1,6 ----
  900. X  # ecu help source file
  901. X! #+:EDITS:
  902. X! #:10-18-1992-15:16-wht@n4hgf-add conxon
  903. X  #:09-10-1992-13:59-wht@n4hgf-ECU release 3.20
  904. X  #:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA
  905. X  #:04-19-1992-20:41-wht@n4hgf-upgrade kbdtest entry
  906. X***************
  907. X*** 97,102 ****
  908. X--- 98,114 ----
  909. X  from the list or saving the list to file ~/.ecu/dir.  This file is
  910. X  automatically read at ecu startup, providing a convenient list of
  911. X  directories available for quick selection.
  912. X+ #--------------------------------------------------------------------
  913. X+ %conxon
  914. X+ Usage: conxon [<arg>]
  915. X+ where <arg> is on    honor ^S/^Q local flow control (DEFAULT)
  916. X+                off   pass ^S/^Q to remote
  917. X+ 
  918. X+ This command enables or disables console xon/xoff flow control.
  919. X+ If the argument is omitted, the current flow control state is
  920. X+ displayed.  If on, typing ^S/^Q stops or restarts the local
  921. X+ console driver output.  If off, ^S and ^Q are passed to the
  922. X+ remote (for EMACS, of course -- who else?).
  923. X  #--------------------------------------------------------------------
  924. X  %dcdwatch
  925. X  Usage: dcdwatch [<dcdwatch-param>]
  926. X*** ../ecu-3.23/models/if_test.ep    Sun Nov 15 16:43:28 1992
  927. X--- models/if_test.ep    Sat Nov 14 23:02:36 1992
  928. X***************
  929. X*** 31,34 ****
  930. X      else ifle 5
  931. X          echo 'bad news 5'
  932. X      else
  933. X!         echo 'compound if works'
  934. X--- 31,56 ----
  935. X      else ifle 5
  936. X          echo 'bad news 5'
  937. X      else
  938. X!         echo 'compound if 1 works'
  939. X! 
  940. X!     $s0 = '123'
  941. X!     ifi %len($s0) == 0
  942. X!         echo 'bad news 20'
  943. X!     else
  944. X!     {
  945. X!         ifs $s0 == '123'
  946. X!             echo 'compound if 2 works'
  947. X!         else ifs $s0 == 'def'
  948. X!             echo 'bad news 21'
  949. X!         else
  950. X!             echo 'bad news 22'
  951. X!     }
  952. X! 
  953. X!     $s0 = '123'
  954. X!     ifs $s0 == 'def'
  955. X!         echo 'bad news 31'
  956. X!     else ifs $s0 == '123'
  957. X!         echo 'compound if 3 works'
  958. X!     else
  959. X!         echo 'bad news 32'
  960. X! 
  961. X*** ../ecu-3.23/pcmdif.c    Sun Nov 15 16:40:10 1992
  962. X--- pcmdif.c    Sat Nov 14 23:15:53 1992
  963. X***************
  964. X*** 28,33 ****
  965. X--- 28,34 ----
  966. X  
  967. X  --------------------------------------------------------------------------*/
  968. X  /*+:EDITS:*/
  969. X+ /*:11-14-1992-22:37-wht@n4hgf-multiple else loses track of truth */
  970. X  /*:09-10-1992-14:00-wht@n4hgf-ECU release 3.20 */
  971. X  /*:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA */
  972. X  /*:07-25-1991-12:59-wht@n4hgf-ECU release 3.10 */
  973. X***************
  974. X*** 253,258 ****
  975. X--- 254,261 ----
  976. X  
  977. X      if(!(tesd1 = esdalloc(256)) || !(tesd2 = esdalloc(256)))
  978. X      {
  979. X+         if(tesd1)
  980. X+             esdfree(tesd1);
  981. X          erc = eNoMemory;
  982. X          goto RETURN;
  983. X      }    
  984. X***************
  985. X*** 345,351 ****
  986. X          }
  987. X      }
  988. X  
  989. X!     truth_already[if_level] = truth;
  990. X  
  991. X  /* if end of command, execute frame else conditionally execute rest of esd */
  992. X      s80[0] = 0;
  993. X--- 348,354 ----
  994. X          }
  995. X      }
  996. X  
  997. X!     truth_already[if_level] |= truth;
  998. X  
  999. X  /* if end of command, execute frame else conditionally execute rest of esd */
  1000. X      s80[0] = 0;
  1001. X***************
  1002. X*** 383,395 ****
  1003. X      }
  1004. X  
  1005. X  /* we have an "else" condition */
  1006. X-     truth = !truth;
  1007. X      pcb->current = pcb->current->next;
  1008. X  
  1009. X      trace_proc_cmd(pcb);
  1010. X  
  1011. X      if(end_of_cmd(else_line))
  1012. X          erc = execute_frame(truth);
  1013. X      else
  1014. X      {
  1015. X          save_index = else_line->old_index = else_line->index;
  1016. X--- 386,400 ----
  1017. X      }
  1018. X  
  1019. X  /* we have an "else" condition */
  1020. X      pcb->current = pcb->current->next;
  1021. X  
  1022. X      trace_proc_cmd(pcb);
  1023. X  
  1024. X      if(end_of_cmd(else_line))
  1025. X+     {
  1026. X+         truth = !truth_already[if_level];
  1027. X          erc = execute_frame(truth);
  1028. X+     }
  1029. X      else
  1030. X      {
  1031. X          save_index = else_line->old_index = else_line->index;
  1032. X***************
  1033. X*** 465,470 ****
  1034. X--- 470,476 ----
  1035. X          else if(!strncmp(s80,"while",5))
  1036. X          {
  1037. X              pputs("'while' command not allowed as 'else' conditional\n");
  1038. X+             pputs("put the statement inside braces\n");
  1039. X              return(eFATAL_ALREADY);
  1040. X          }
  1041. X          else
  1042. X*** ../ecu-3.23/pcmdtty.c    Sun Nov 15 16:40:14 1992
  1043. X--- pcmdtty.c    Sun Oct 18 14:32:21 1992
  1044. X***************
  1045. X*** 21,26 ****
  1046. X--- 21,27 ----
  1047. X  
  1048. X  --------------------------------------------------------------------------*/
  1049. X  /*+:EDITS:*/
  1050. X+ /*:10-18-1992-14:26-wht@n4hgf-add conxon */
  1051. X  /*:09-10-1992-14:00-wht@n4hgf-ECU release 3.20 */
  1052. X  /*:08-30-1992-23:15-wht@n4hgf-add fkmap */
  1053. X  /*:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA */
  1054. X***************
  1055. X*** 424,429 ****
  1056. X--- 425,460 ----
  1057. X      tcap_delete_lines(1);
  1058. X      return(0);
  1059. X  }    /* end of pcmd_delline */
  1060. X+ 
  1061. X+ /*+-------------------------------------------------------------------------
  1062. X+     pcmd_conxon(param)
  1063. X+ --------------------------------------------------------------------------*/
  1064. X+ int
  1065. X+ pcmd_conxon(param)
  1066. X+ ESD *param;
  1067. X+ {
  1068. X+     int erc;
  1069. X+     char new_xonxoff[8];
  1070. X+     char *conxon_status();
  1071. X+ 
  1072. X+     if(shm->Liofd < 0)
  1073. X+         return(eNoLineAttached);
  1074. X+ 
  1075. X+     if(erc = get_alpha_zstr(param,new_xonxoff,sizeof(new_xonxoff)))
  1076. X+         return(erc);
  1077. X+ 
  1078. X+     if(set_console_xon_xoff_by_arg(new_xonxoff))
  1079. X+         return(eBadParameter);
  1080. X+ 
  1081. X+     if(proctrace)
  1082. X+     {
  1083. X+         pprintf("console xon/xoff flow control set to %s\n",
  1084. X+             console_xon_status());
  1085. X+     }
  1086. X+ 
  1087. X+     return(erc);
  1088. X+ 
  1089. X+ }    /* end of pcmd_conxon */
  1090. X  
  1091. X  /* vi: set tabstop=4 shiftwidth=4: */
  1092. X  /* end of pcmdtty.c */
  1093. X*** ../ecu-3.23/pcmdxfer.c    Sun Nov 15 16:40:16 1992
  1094. X--- pcmdxfer.c    Wed Oct 21 19:19:49 1992
  1095. X***************
  1096. X*** 20,25 ****
  1097. X--- 20,26 ----
  1098. X  
  1099. X  --------------------------------------------------------------------------*/
  1100. X  /*+:EDITS:*/
  1101. X+ /*:10-21-1992-19:15-wht@n4hgf-proc file xfer didnt learn about eculibdir */
  1102. X  /*:09-10-1992-14:00-wht@n4hgf-ECU release 3.20 */
  1103. X  /*:09-05-1992-15:35-wht@n4hgf-add -r to sz */
  1104. X  /*:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA */
  1105. X***************
  1106. X*** 247,253 ****
  1107. X      /*
  1108. X       * build command at beginning of 'cmdesd' ESD
  1109. X       */
  1110. X!     sprintf(cmdesd->pb,"ecusz -X -. %d ",shm->Liofd);
  1111. X      strcat(cmdesd->pb,bottom_label);
  1112. X  
  1113. X  #if defined(WHT)    /* for testing */
  1114. X--- 248,254 ----
  1115. X      /*
  1116. X       * build command at beginning of 'cmdesd' ESD
  1117. X       */
  1118. X!     sprintf(cmdesd->pb,"%s/ecusz -X -. %d ",eculibdir,shm->Liofd);
  1119. X      strcat(cmdesd->pb,bottom_label);
  1120. X  
  1121. X  #if defined(WHT)    /* for testing */
  1122. X***************
  1123. X*** 320,326 ****
  1124. X      /*
  1125. X       * build command at beginning of 'cmdesd' ESD
  1126. X       */
  1127. X!     sprintf(cmdesd->pb,"ecusz -Y -. %d -k ",shm->Liofd);
  1128. X      strcat(cmdesd->pb,bottom_label);
  1129. X      if(strchr(switches,'a'))
  1130. X          strcat(cmdesd->pb,"-a ");
  1131. X--- 321,327 ----
  1132. X      /*
  1133. X       * build command at beginning of 'cmdesd' ESD
  1134. X       */
  1135. X!     sprintf(cmdesd->pb,"%s/ecusz -Y -. %d ",eculibdir,shm->Liofd);
  1136. X      strcat(cmdesd->pb,bottom_label);
  1137. X      if(strchr(switches,'a'))
  1138. X          strcat(cmdesd->pb,"-a ");
  1139. X***************
  1140. X*** 397,403 ****
  1141. X      /*
  1142. X       * build command at beginning of 'cmdesd' ESD
  1143. X       */
  1144. X!     sprintf(cmdesd->pb,"ecusz -Z -. %d -y ",shm->Liofd);
  1145. X      strcat(cmdesd->pb,bottom_label);
  1146. X  
  1147. X      if(strchr(switches,'N'))        /* force "no curses" */
  1148. X--- 398,404 ----
  1149. X      /*
  1150. X       * build command at beginning of 'cmdesd' ESD
  1151. X       */
  1152. X!     sprintf(cmdesd->pb,"%s/ecusz -Z -. %d ",eculibdir,shm->Liofd);
  1153. X      strcat(cmdesd->pb,bottom_label);
  1154. X  
  1155. X      if(strchr(switches,'N'))        /* force "no curses" */
  1156. X***************
  1157. X*** 631,637 ****
  1158. X      /*
  1159. X       * build command in 'cmdstr' string
  1160. X       */
  1161. X!     sprintf(cmdstr,"ecurz -X -. %d -c ",shm->Liofd);
  1162. X      strcat(cmdstr,bottom_label);
  1163. X      if(!strchr(switches,'b'))
  1164. X          strcat(cmdstr,"-b ");
  1165. X--- 632,638 ----
  1166. X      /*
  1167. X       * build command in 'cmdstr' string
  1168. X       */
  1169. X!     sprintf(cmdstr,"%s/ecurz -X -. %d ",eculibdir,shm->Liofd);
  1170. X      strcat(cmdstr,bottom_label);
  1171. X      if(!strchr(switches,'b'))
  1172. X          strcat(cmdstr,"-b ");
  1173. X***************
  1174. X*** 677,683 ****
  1175. X      /*
  1176. X       * build command in 'cmdstr' string
  1177. X       */
  1178. X!     sprintf(cmdstr,"ecurz -Y -. %d -y ",shm->Liofd);
  1179. X      strcat(cmdstr,bottom_label);
  1180. X      file_xfer_start();
  1181. X      if(exec_cmd(cmdstr))
  1182. X--- 678,684 ----
  1183. X      /*
  1184. X       * build command in 'cmdstr' string
  1185. X       */
  1186. X!     sprintf(cmdstr,"%s/ecurz -Y -. %d ",eculibdir,shm->Liofd);
  1187. X      strcat(cmdstr,bottom_label);
  1188. X      file_xfer_start();
  1189. X      if(exec_cmd(cmdstr))
  1190. X***************
  1191. X*** 712,718 ****
  1192. X      /*
  1193. X       * build command in 'cmdstr' string
  1194. X       */
  1195. X!     sprintf(cmdstr,"ecurz -Z -. %d ",shm->Liofd);
  1196. X      strcat(cmdstr,bottom_label);
  1197. X  
  1198. X      if(strchr(switches,'N'))        /* force "no curses" */
  1199. X--- 713,719 ----
  1200. X      /*
  1201. X       * build command in 'cmdstr' string
  1202. X       */
  1203. X!     sprintf(cmdstr,"%s/ecurz -Z -. %d ",eculibdir,shm->Liofd);
  1204. X      strcat(cmdstr,bottom_label);
  1205. X  
  1206. X      if(strchr(switches,'N'))        /* force "no curses" */
  1207. X*** ../ecu-3.23/sea/ecusea.c    Sun Nov 15 16:41:17 1992
  1208. X--- sea/ecusea.c    Sun Oct  4 21:59:05 1992
  1209. X***************
  1210. X*** 81,87 ****
  1211. X  #include <signal.h>
  1212. X  #include <setjmp.h>
  1213. X  #include <fcntl.h>
  1214. X- #include <fcntl.h>
  1215. X  #include <errno.h>
  1216. X  #if defined(sun)
  1217. X  #include <termios.h>
  1218. X--- 81,86 ----
  1219. SHAR_EOF
  1220. chmod 0644 PATCH04 ||
  1221. echo 'restore of PATCH04 failed'
  1222. Wc_c="`wc -c < 'PATCH04'`"
  1223. test 32607 -eq "$Wc_c" ||
  1224.     echo 'PATCH04: original size 32607, current size' "$Wc_c"
  1225. exit 0
  1226.  
  1227. --------------------------------------------------------------------
  1228. Warren Tucker, TuckerWare       n4hgf!wht or wht@n4hgf.Mt-Park.GA.US
  1229. Hacker Extraordinaire  d' async PADs,  pods,  proteins and protocols
  1230.  
  1231.  
  1232. -------------------------------------------------------------------------
  1233. Warren Tucker (404)587-5766          n4hgf!wht or wht@n4hgf.Mt-Park.GA.US
  1234.