Newsgroups: comp.sources.misc Path: wupost!uunet!sparky!kent From: Warren Tucker Subject: v22i077: ecu - ECU async comm package rev 3.10, Patch04a/2 Message-ID: Followup-To: comp.sources.d Sender: kent@sparky.IMD.Sterling.COM (Kent Landfield) Organization: Sterling Software, IMD Date: Fri, 30 Aug 1991 00:29:20 GMT Approved: kent@sparky.imd.sterling.com Lines: 1644 X-Md4-Signature: 3fbb0411c02a7fe10b3b151591f4260d Submitted-by: Warren Tucker Posting-number: Volume 22, Issue 77 Archive-name: ecu/patch04a Environment: SCO, XENIX, ISC, SUNOS4.1, SYSVR4 Patch-To: ecu: Volume 21, Issue 53-89 This is patch 4 to ecu 3.10. Primarily it deals with SVR4 targets, but some ISC and system-independent improvements are present. Refer to README.P4. Apply the patch by patch -p < PATCH4.01 You *must* run the updated Configure procedure and fully reinstall. You do NOT havce to be root to install under SunOS or SYSVR4 if you have write access to all of the installed directories. There is no need for the setuid ecuungetty program in these environments. #!/bin/sh # This is ecu/patch4a (ECU 3.10 patch 4 part 1), a shell archive (shar 3.46) # made 08/28/1991 23:52 UTC by wht@n4hgf.GA.US # Source directory /export/home/wht/src/ecu # # existing files will NOT be overwritten unless -c is specified # # This is part 1 of a multipart archive # do not concatenate these parts, unpack them in order with /bin/sh # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 1049 -rw-rw-r-- README.P4 # 83457 -rw-rw-r-- PATCH4.01 # if test -r _shar_seq_.tmp; then echo 'Must unpack archives in sequence!' echo Please unpack part `cat _shar_seq_.tmp` next exit 1 fi # ============= README.P4 ============== if test -f 'README.P4' -a X"$1" != X"-c"; then echo 'x - skipping README.P4 (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting README.P4 (Text)' sed 's/^X//' << 'SHAR_EOF' > 'README.P4' && X XREADME.P4 ECU 3.10 Patch 4 Wed Aug 28 09:43:44 EDT 1991 X XThis describes patch 4 to ECU 3.10, bringing the program to Xversion 3.14. X XThe majority of this patch deals with good work done by Paul XSlootman (slootman@dri.nl) on the SVR4 port. From what he Xencountered, I am very very disappointed in some of the more anal XANSI C implementations out there. Trigraphs suck and we all knew Xthat, but having to cast a constant in a comparison with Xstrlen??? (Excuse me -- that is a trigraph -- I must learn to Xsay \?\?\?). X XOh well, there are a few other kinds of fixes in here too: ISC Xshould be better off. Some of the conditionally compiled code Xthat was running for SCO only should have been in for ISC too. X XI thought I had fixed the bad search for nonansikeys in XECULIBDIR/.ecu/ instead of ECULIBDIR/, but it is fixed now. X XTo use: X patch -p < PATCH4.01 X Configure X make X su root (may not be necessary on Sun or SVR4 if you X have write access to the installed directories) X make install SHAR_EOF chmod 0664 README.P4 || echo 'restore of README.P4 failed' Wc_c="`wc -c < 'README.P4'`" test 1049 -eq "$Wc_c" || echo 'README.P4: original size 1049, current size' "$Wc_c" rm -f _shar_wnt_.tmp fi # ============= PATCH4.01 ============== if test -f 'PATCH4.01' -a X"$1" != X"-c"; then echo 'x - skipping PATCH4.01 (File already exists)' rm -f _shar_wnt_.tmp else > _shar_wnt_.tmp echo 'x - extracting PATCH4.01 (Text)' sed 's/^X//' << 'SHAR_EOF' > 'PATCH4.01' && Xdiff -c -r /export/home/wht/src/ecu313/Make.src ./Make.src X*** /export/home/wht/src/ecu313/Make.src Wed Aug 28 19:34:40 1991 X--- ./Make.src Wed Aug 28 16:41:08 1991 X*************** X*** 25,32 **** X .SUFFIXES: .o .c .h .l X .c.o:; $(BINTIME) $(CC) -c $(CFLAGS) $*.c X X! ECUSHARNAME=ecu313 X! MANSHARNAME=ecuman313 X X SRC = \ X bamboozle.c\ X--- 25,32 ---- X .SUFFIXES: .o .c .h .l X .c.o:; $(BINTIME) $(CC) -c $(CFLAGS) $*.c X X! ECUSHARNAME=ecu314 X! MANSHARNAME=ecumar314 X X SRC = \ X bamboozle.c\ X*************** X*** 262,272 **** X X # for shar 3.46 or later X shar: shar.fls X! csh -c 'shar -m -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \ X -n$(ECUSHARNAME) -L53 -o/tmp/$(ECUSHARNAME) $(SHARFLS)' X! shar -m -F -c -C -L53 -o/tmp/ecu3cker -s "wht@n4hgf.Mt-Park.GA.US" -a \ X -necu3cker ckermit/ckermit X! shar -m -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \ X -n$(MANSHARNAME) -L53 -o/tmp/$(MANSHARNAME) doc/ecu.man doc/exits.man X X # tools for making ecu X--- 262,272 ---- X X # for shar 3.46 or later X shar: shar.fls X! csh -c 'shar -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \ X -n$(ECUSHARNAME) -L53 -o/tmp/$(ECUSHARNAME) $(SHARFLS)' X! shar -F -c -C -L53 -o/tmp/ecu3cker -s "wht@n4hgf.Mt-Park.GA.US" -a \ X -necu3cker ckermit/ckermit X! shar -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \ X -n$(MANSHARNAME) -L53 -o/tmp/$(MANSHARNAME) doc/ecu.man doc/exits.man X X # tools for making ecu X*************** X*** 310,316 **** X cd z;make clobber X cd sea;make clobber X if [ $(USE_ECUUNGETTY) = yes ]; then \ X! cd ecuungetty;make clobber X fi X X #regenerate .o:.h dependencies automatically X--- 310,316 ---- X cd z;make clobber X cd sea;make clobber X if [ $(USE_ECUUNGETTY) = yes ]; then \ X! cd ecuungetty;make clobber; \ X fi X X #regenerate .o:.h dependencies automatically XOnly in .: Makefile XOnly in /export/home/wht/src/ecu313: PATCH1.01 XOnly in /export/home/wht/src/ecu313: PATCH1.02 XOnly in /export/home/wht/src/ecu313: PATCH1.03 XOnly in /export/home/wht/src/ecu313: PATCH1.APPLY XOnly in /export/home/wht/src/ecu313: PATCH2.01 XOnly in /export/home/wht/src/ecu313: PATCH3.01 XOnly in .: PATCH4.01 XOnly in /export/home/wht/src/ecu313: README.P1 XOnly in /export/home/wht/src/ecu313: README.P2 XOnly in /export/home/wht/src/ecu313: README.P3 XOnly in .: README.P4 XOnly in .: SUNBUG Xdiff -c -r /export/home/wht/src/ecu313/afterlint.c ./afterlint.c X*** /export/home/wht/src/ecu313/afterlint.c Wed Aug 28 19:29:14 1991 X--- ./afterlint.c Wed Aug 28 19:28:02 1991 X*************** X*** 29,36 **** X X #define ff fprintf X X! #ifdef BSD4 X! #include X #define strchr index X #define strrchr rindex X char *index(); X--- 29,36 ---- X X #define ff fprintf X X! #ifdef BSD X! # include X #define strchr index X #define strrchr rindex X char *index(); X*************** X*** 38,46 **** X /**************************/ X #else /* assuming XENIX */ X /**************************/ X! #include X! #include X! #include X char *strchr(); X char *strrchr(); X #endif /* system dependencies */ X--- 38,46 ---- X /**************************/ X #else /* assuming XENIX */ X /**************************/ X! # include X! # include X! # include X char *strchr(); X char *strrchr(); X #endif /* system dependencies */ XOnly in .: bamboozle.o XCommon subdirectories: /export/home/wht/src/ecu313/bperr and ./bperr XOnly in .: ckermit XOnly in .: cmdtbl.o Xdiff -c -r /export/home/wht/src/ecu313/config.c ./config.c X*** /export/home/wht/src/ecu313/config.c Wed Aug 28 19:34:41 1991 X--- ./config.c Wed Aug 28 14:07:05 1991 X*************** X*** 27,32 **** X--- 27,33 ---- X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */ X /*:08-23-1991-01:37-wht@n4hgf-sun port */ X /*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */ X*************** X*** 599,605 **** X case 's': sys = S_SCO; break; X case 'i': sys = S_ISC; break; X case 'S': sys = S_SUN; break; X! case 'f': sys = S_SVR4; break; X } X } X X--- 600,606 ---- X case 's': sys = S_SCO; break; X case 'i': sys = S_ISC; break; X case 'S': sys = S_SUN; break; X! case '4': sys = S_SVR4; break; X } X } X Xdiff -c -r /export/home/wht/src/ecu313/dialprog.h ./dialprog.h X*** /export/home/wht/src/ecu313/dialprog.h Wed Aug 28 19:34:42 1991 X--- ./dialprog.h Sun Aug 25 13:02:47 1991 X*************** X*** 3,12 **** X wht@n4hgf.Mt-Park.GA.US X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X- /*:08-27-1991-03:08-ache@hq.demos.su-dialer enhancement */ X /*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */ X /*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */ X- X /* Return code masks: X * 0x80 bit = 1 if connection failed X * 0x10 bit = 1 if line is also used for dialin #ifndef HDUU X--- 3,10 ---- XCommon subdirectories: /export/home/wht/src/ecu313/doc and ./doc XOnly in .: ecu Xdiff -c -r /export/home/wht/src/ecu313/ecu.h ./ecu.h X*** /export/home/wht/src/ecu313/ecu.h Wed Aug 28 19:34:43 1991 X--- ./ecu.h Wed Aug 28 19:23:55 1991 X*************** X*** 51,59 **** X X #if !defined(NO_SELECT) && !defined(XECU) X #if defined(M_SYSV) /* SCO */ X! #include X #else X! #include X #endif X #endif X X--- 51,59 ---- X X #if !defined(NO_SELECT) && !defined(XECU) X #if defined(M_SYSV) /* SCO */ X! # include X #else X! # include X #endif X #endif X X*************** X*** 105,111 **** X #include "lint_args.h" X X #ifdef XECU X! #include "xecu.h" X #endif X X /* X--- 105,111 ---- X #include "lint_args.h" X X #ifdef XECU X! # include "xecu.h" X #endif X X /* XOnly in .: ecu.o Xdiff -c -r /export/home/wht/src/ecu313/ecuDCE.c ./ecuDCE.c X*** /export/home/wht/src/ecu313/ecuDCE.c Wed Aug 28 19:34:43 1991 X--- ./ecuDCE.c Wed Aug 28 14:07:06 1991 X*************** X*** 23,28 **** X--- 23,29 ---- X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */ X /*:07-17-1991-07:04-wht@n4hgf-avoid SCO UNIX nap bug */ X /*:06-29-1991-15:42-wht@n4hgf-if WHT and xterm, play with title bar */ X*************** X*** 635,641 **** X } X if(!strncmp(result,"CONNECT",7)) X { X! if(strlen(result) > 7) X { X if(shm->Lbaud != (unsigned)atoi(result + 7)) X { X--- 636,642 ---- X } X if(!strncmp(result,"CONNECT",7)) X { X! if(strlen(result) > (unsigned)7) X { X if(shm->Lbaud != (unsigned)atoi(result + 7)) X { XOnly in .: ecuDCE.o XOnly in .: ecuLCK.o XOnly in .: ecuchdir.o XOnly in .: ecudump.o XOnly in .: ecufinsert.o XOnly in .: ecufkey.o XOnly in .: ecufork.o XCommon subdirectories: /export/home/wht/src/ecu313/ecufriend and ./ecufriend XOnly in .: ecuicmaux.o XOnly in .: ecuicmd.o XOnly in .: ecuicmhelp.o Xdiff -c -r /export/home/wht/src/ecu313/ecuicmhist.c ./ecuicmhist.c X*** /export/home/wht/src/ecu313/ecuicmhist.c Wed Aug 28 19:34:26 1991 X--- ./ecuicmhist.c Wed Aug 28 14:07:07 1991 X*************** X*** 8,13 **** X--- 8,14 ---- X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-11-1991-14:58-wht@n4hgf-new ttygets botched command history handler */ X /*:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 */ X /*:07-14-1991-18:18-wht@n4hgf-new ttygets functions */ X*************** X*** 61,67 **** X free((char *)icmdh); X return; X } X! if(strlen((char *)icmdh->icmd) > ICMDH_MAXLEN) X icmdh->icmd[ICMDH_MAXLEN] = 0; X if(icmdh_tail) X { X--- 62,68 ---- X free((char *)icmdh); X return; X } X! if(strlen((char *)icmdh->icmd) > (unsigned)ICMDH_MAXLEN) X icmdh->icmd[ICMDH_MAXLEN] = 0; X if(icmdh_tail) X { XOnly in .: ecuicmhist.o Xdiff -c -r /export/home/wht/src/ecu313/eculine.c ./eculine.c X*** /export/home/wht/src/ecu313/eculine.c Wed Aug 28 19:34:47 1991 X--- ./eculine.c Wed Aug 28 14:50:09 1991 X*************** X*** 926,935 **** X lset_parity(1); /* do perform ioctl */ X X lopen_err_str[0] = 0; X- return(0); X #ifdef SVR4 X hx_flag = 0; X #endif X X } /* end of lopen */ X X--- 926,935 ---- X lset_parity(1); /* do perform ioctl */ X X lopen_err_str[0] = 0; X #ifdef SVR4 X hx_flag = 0; X #endif X+ return(0); X X } /* end of lopen */ X XOnly in .: eculine.o XOnly in .: eculock.o Xdiff -c -r /export/home/wht/src/ecu313/ecunumrev.c ./ecunumrev.c X*** /export/home/wht/src/ecu313/ecunumrev.c Wed Aug 28 19:34:48 1991 X--- ./ecunumrev.c Wed Aug 28 14:07:07 1991 X*************** X*** 3,8 **** X--- 3,9 ---- X wht@n4hgf.Mt-Park.GA.US X ------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */ X /*:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 */ X /*:07-12-1991-14:14-wht@n4hgf-GCC140 differentiation */ X*************** X*** 23,29 **** X #endif X X #ifdef WHT X! char *numeric_revision = "x3.6r"; X #else X char *numeric_revision = "3"; X #endif X--- 24,30 ---- X #endif X X #ifdef WHT X! char *numeric_revision = "x3.64"; X #else X char *numeric_revision = "3"; X #endif X*************** X*** 86,92 **** X X if(!(revstr = malloc(strlen(s128) + 1))) X { X! fprintf(stderr,"out of memory so early??!\n"); X exit(255); X } X strcpy(revstr,s128); X--- 87,93 ---- X X if(!(revstr = malloc(strlen(s128) + 1))) X { X! fprintf(stderr,"out of memory so early\?\?!\n"); X exit(255); X } X strcpy(revstr,s128); XOnly in .: ecunumrev.o Xdiff -c -r /export/home/wht/src/ecu313/ecuphone.c ./ecuphone.c X*** /export/home/wht/src/ecu313/ecuphone.c Wed Aug 28 19:34:49 1991 X--- ./ecuphone.c Wed Aug 28 15:19:42 1991 X*************** X*** 71,76 **** X--- 71,77 ---- X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-15:15-wht@n4hgf2-fix bad structure in pde_add_or_edit_read */ X /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */ X /*:08-15-1991-18:13-wht@n4hgf-do not allow edit of non-existent entry */ X /*:08-11-1991-19:56-wht@n4hgf-soup up tty name for ISC vs. SCO */ X*************** X*** 1174,1179 **** X--- 1175,1181 ---- X { X int wgpos = -1; X char s80[80]; X+ int done = 0; X X if(!check_curr_pde()) X return; X*************** X*** 1181,1202 **** X wmove(addw,9,2); X waddstr(addw,prompt); X X! while(1) X { X- wstandout(addw); X- if(edit) X- strcpy(s80,buf); X- AGAIN: X (void)wingets(addw,y,20,s80,bufmax,delim,edit,&wgpos); X wstandend(addw); X clear_area(addw,y,20,bufmax); X! edit = 1; /* if we come back to AGAIN, edit string */ X X switch(*((uchar *)delim)) X { X case ESC: X waddstr(addw,buf); X! goto RETURN; X X case TAB: X case NL: X--- 1183,1205 ---- X wmove(addw,9,2); X waddstr(addw,prompt); X X! wstandout(addw); X! if(edit) X! strcpy(s80,buf); X! X! do X { X (void)wingets(addw,y,20,s80,bufmax,delim,edit,&wgpos); X wstandend(addw); X clear_area(addw,y,20,bufmax); X! edit = 1; /* if we come back again, edit string */ X X switch(*((uchar *)delim)) X { X case ESC: X waddstr(addw,buf); X! done = 1; X! break; X X case TAB: X case NL: X*************** X*** 1204,1214 **** X strcpy(buf,s80); X waddstr(addw,buf); X *delim = NL; X! goto RETURN; X X case CTL_U: X s80[0] = 0; X! goto AGAIN; X X case CTL_B: X case XFcurup: X--- 1207,1218 ---- X strcpy(buf,s80); X waddstr(addw,buf); X *delim = NL; X! done = 1; X! break; X X case CTL_U: X s80[0] = 0; X! break; X X case CTL_B: X case XFcurup: X*************** X*** 1215,1229 **** X strcpy(buf,s80); X waddstr(addw,buf); X *delim = CTL_B; X! goto RETURN; X X default: X ring_bell(); X! goto AGAIN; X } X! } X X- RETURN: X clear_area(addw,9,2,strlen(prompt)); X X } /* end of pde_add_or_edit_read */ X--- 1219,1233 ---- X strcpy(buf,s80); X waddstr(addw,buf); X *delim = CTL_B; X! done = 1; X! break; X X default: X ring_bell(); X! break; X } X! } while(!done); X X clear_area(addw,9,2,strlen(prompt)); X X } /* end of pde_add_or_edit_read */ XOnly in .: ecuphone.o XOnly in .: ecuphrase.o XOnly in .: ecurcvr.o XOnly in .: ecuscrdump.o Xdiff -c -r /export/home/wht/src/ecu313/ecusetup.c ./ecusetup.c X*** /export/home/wht/src/ecu313/ecusetup.c Wed Aug 28 19:34:54 1991 X--- ./ecusetup.c Wed Aug 28 14:07:08 1991 X*************** X*** 34,39 **** X--- 34,40 ---- X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */ X /*:08-12-1991-00:58-wht@n4hgf-ISC tty names */ X /*:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 */ X*************** X*** 398,404 **** X register char *nondelim_list; X { X register uint itmp; X! static char setw_nondelim_list[] = X { X CRET,NL,CTL_B,CTL_D,TAB,ESC,CTL_L,CTL_R,XFend X }; X--- 399,405 ---- X register char *nondelim_list; X { X register uint itmp; X! static uchar setw_nondelim_list[] = X { X CRET,NL,CTL_B,CTL_D,TAB,ESC,CTL_L,CTL_R,XFend X }; X*************** X*** 423,429 **** X uint baud; X uchar delim; /* important to be unsigned to avoid sign extension */ X WINDOW *window_create(); X! static char use_input_delim[] = {TAB,NL,XFend,CTL_D}; X X windows_start(); X sprintf(s80,"ecu %s",revstr); X--- 424,430 ---- X uint baud; X uchar delim; /* important to be unsigned to avoid sign extension */ X WINDOW *window_create(); X! static uchar use_input_delim[] = {TAB,NL,XFend,CTL_D,(uchar)0}; X X windows_start(); X sprintf(s80,"ecu %s",revstr); X*************** X*** 460,466 **** X (shm->Llogical[0] != 0),(int *)0); X setw_err_msg(""); X } X! if(strchr(use_input_delim,delim)) X { X strcpy(shm->Llogical,s80); X if(shm->Llogical[0] && !lookup_logical_telno()) X--- 461,467 ---- X (shm->Llogical[0] != 0),(int *)0); X setw_err_msg(""); X } X! if(strchr((char *)use_input_delim,delim)) X { X strcpy(shm->Llogical,s80); X if(shm->Llogical[0] && !lookup_logical_telno()) X*************** X*** 497,503 **** X itmp = wingets(setw,TTY_Y,TTY_X,s80,TTY_LEN + 1,&delim, X 1,(int *)0); X setw_err_msg(""); X! if(strchr(use_input_delim,delim)) X strcpy(&shm->Lline[5],s80); X setup_display_tty(); X break; X--- 498,504 ---- X itmp = wingets(setw,TTY_Y,TTY_X,s80,TTY_LEN + 1,&delim, X 1,(int *)0); X setw_err_msg(""); X! if(strchr((char *)use_input_delim,delim)) X strcpy(&shm->Lline[5],s80); X setup_display_tty(); X break; X*************** X*** 526,532 **** X sprintf(s80,"%u",shm->Lbaud); X itmp = wingets(setw,BAUD_Y,BAUD_X,s80,BAUD_LEN + 1,&delim, X 1,(int *)0); X! if(strchr(use_input_delim,delim)) X { X if(valid_baud_rate(baud = atoi(s80)) < 0) X { X--- 527,533 ---- X sprintf(s80,"%u",shm->Lbaud); X itmp = wingets(setw,BAUD_Y,BAUD_X,s80,BAUD_LEN + 1,&delim, X 1,(int *)0); X! if(strchr((char *)use_input_delim,delim)) X { X if(valid_baud_rate(baud = atoi(s80)) < 0) X { XOnly in .: ecusetup.o XOnly in .: ecushm.o XOnly in .: ecusighdl.o XOnly in .: ecutcap.o XOnly in .: ecutime.o XOnly in .: ecutty.o XOnly in .: ecuuclc.o XCommon subdirectories: /export/home/wht/src/ecu313/ecuungetty and ./ecuungetty XOnly in .: ecuusage.o XOnly in .: ecuutil.o XOnly in .: ecuwinutil.o Xdiff -c -r /export/home/wht/src/ecu313/ecuxenix.c ./ecuxenix.c X*** /export/home/wht/src/ecu313/ecuxenix.c Wed Aug 28 19:35:00 1991 X--- ./ecuxenix.c Wed Aug 28 15:26:25 1991 X*************** X*** 3,8 **** X--- 3,10 ---- X wht@n4hgf.Mt-Park.GA.US X X Defined functions: X+ audio_notify(type) X+ audio_play(filename) X bell_alarm(xbell_type) X bell_notify(xbell_type) X kbd_escape(xkey) X*************** X*** 16,25 **** X--- 18,29 ---- X signal_name_text(sig) X xbell(type,count) X xbell_fd(fd,type,count) X+ xterm_title(text,code) X X This module is a grab bag for historical reasons. Needs reorg. X ------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-13-1991-15:28-wht@n4hgf-more problems with history manager */ X /*:07-25-1991-12:57-wht@n4hgf-ECU release 3.10 */ X /*:07-17-1991-07:04-wht@n4hgf-avoid SCO UNIX nap bug */ X*************** X*** 408,413 **** X--- 412,421 ---- X if(morse_bell(type,count)) X ring_bell(); X #else X+ #if defined(WHT) && defined(AUDIO) X+ void audio_notify(); X+ audio_notify(type); X+ #else X if(!tty_is_multiscreen) X { X ring_bell(); X*************** X*** 418,438 **** X if(morse_bell(type,count)) X #endif X xbell_fd(1,type,count); X #endif /* WHT && MORSE */ X X } /* end of xbell */ X X /*+------------------------------------------------------------------------- X! audio_play(file) - play a sound file X --------------------------------------------------------------------------*/ X! #ifdef sun4 X void X! audio_play(file) X! char *file; X { X char cmd[1024]; X! strcpy(cmd,"!cat ") X! strcat(cmd,file); X strcat(cmd," | /usr/demo/SOUND/play"); X shell(cmd); X } /* end of audio_play */ X--- 426,447 ---- X if(morse_bell(type,count)) X #endif X xbell_fd(1,type,count); X+ #endif /* WHT && AUDIO */ X #endif /* WHT && MORSE */ X X } /* end of xbell */ X X /*+------------------------------------------------------------------------- X! audio_play(filename) - play a sound file X --------------------------------------------------------------------------*/ X! #if defined(AUDIO) X void X! audio_play(filename) X! char *filename; X { X char cmd[1024]; X! strcpy(cmd,"!cat "); X! strcat(cmd,filename); X strcat(cmd," | /usr/demo/SOUND/play"); X shell(cmd); X } /* end of audio_play */ X*************** X*** 441,451 **** X /*+------------------------------------------------------------------------- X audio_notify(type) - "bell_notify" with audio X --------------------------------------------------------------------------*/ X! #ifdef sun4 X void X audio_notify(type) X register type; X { X switch(type) X { X case XBELL_DONE: X--- 450,461 ---- X /*+------------------------------------------------------------------------- X audio_notify(type) - "bell_notify" with audio X --------------------------------------------------------------------------*/ X! #if defined(AUDIO) X void X audio_notify(type) X register type; X { X+ char *file; X switch(type) X { X case XBELL_DONE: X*************** X*** 552,561 **** X { X bell_alarm(xbell_type); X } X! #endif X! #if defined(sun4) X audio_notify(xbell_type); X #endif X } /* end of bell_notify */ X X /*+------------------------------------------------------------------------- X--- 562,572 ---- X { X bell_alarm(xbell_type); X } X! #else X! #if defined(AUDIO) X audio_notify(xbell_type); X #endif X+ #endif X } /* end of bell_notify */ X X /*+------------------------------------------------------------------------- X*************** X*** 579,586 **** X--- 590,599 ---- X #ifdef SIGABRT X case SIGABRT: cptr = "SIGABRT"; break; X #else X+ #ifdef SIGABRT X case SIGIOT: cptr = "SIGIOT"; break; X #endif X+ #endif X case SIGEMT: cptr = "SIGEMT"; break; X case SIGFPE: cptr = "SIGFPE"; break; X case SIGKILL: cptr = "SIGKILL"; break; X*************** X*** 622,628 **** X /*+------------------------------------------------------------------------- X rename(from,to) X --------------------------------------------------------------------------*/ X! #if !defined(M_UNIX) && !defined(BUILDING_LINT_ARGS) X rename(from,to) X char *from; X char *to; X--- 635,642 ---- X /*+------------------------------------------------------------------------- X rename(from,to) X --------------------------------------------------------------------------*/ X! #if defined(M_XENIX) && !defined(BUILDING_LINT_ARGS) X! int X rename(from,to) X char *from; X char *to; XOnly in .: ecuxenix.o Xdiff -c -r /export/home/wht/src/ecu313/ecuxfer.c ./ecuxfer.c X*** /export/home/wht/src/ecu313/ecuxfer.c Wed Aug 28 19:35:00 1991 X--- ./ecuxfer.c Wed Aug 28 14:07:09 1991 X*************** X*** 35,40 **** X--- 35,41 ---- X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */ X /*:07-25-1991-12:57-wht@n4hgf-ECU release 3.10 */ X /*:07-17-1991-07:04-wht@n4hgf-avoid SCO UNIX nap bug */ X*************** X*** 219,227 **** X register char *nondelim_list; X { X register uint itmp; X! static char xfrw_nondelim_list[] = X { X! CRET,NL,XFcurup,XFcurdn,CTL_B,TAB,ESC,CTL_L,CTL_R,XFend X }; X X itmp = winget_single(xfrw,nondelim_list,xfrw_nondelim_list); X--- 220,228 ---- X register char *nondelim_list; X { X register uint itmp; X! static uchar xfrw_nondelim_list[] = X { X! CRET,NL,XFcurup,XFcurdn,CTL_B,TAB,ESC,CTL_L,CTL_R,XFend,(uchar)0 X }; X X itmp = winget_single(xfrw,nondelim_list,xfrw_nondelim_list); X*************** X*** 260,266 **** X { X register itmp; X char *cmd_string = "TAB:next ^B:prev END:perform transfer ESC:abort"; X! register left_spaces = ((xfrw_cols - 2) - strlen(cmd_string)) / 2; X int x; X int y; X X--- 261,267 ---- X { X register itmp; X char *cmd_string = "TAB:next ^B:prev END:perform transfer ESC:abort"; X! register left_spaces = ((xfrw_cols - 2) - strlen(cmd_string)) / (unsigned)2; X int x; X int y; X X*************** X*** 534,540 **** X xfrws_display_allvars(); X wmove(xfrw,0,27); X waddstr(xfrw," dir: "); X! if(strlen(curr_dir) > (xfrw_cols - 32)) X { X strncpy(s80,curr_dir,xfrw_cols - 32); X s80[xfrw_cols - 32] = 0; X--- 535,541 ---- X xfrws_display_allvars(); X wmove(xfrw,0,27); X waddstr(xfrw," dir: "); X! if(strlen(curr_dir) > (unsigned)(xfrw_cols - 32)) X { X strncpy(s80,curr_dir,xfrw_cols - 32); X s80[xfrw_cols - 32] = 0; XOnly in .: ecuxfer.o Xdiff -c -r /export/home/wht/src/ecu313/ecuxkey.h ./ecuxkey.h X*** /export/home/wht/src/ecu313/ecuxkey.h Wed Aug 28 19:30:13 1991 X--- ./ecuxkey.h Wed Aug 28 14:07:09 1991 X*************** X*** 7,12 **** X--- 7,13 ---- X unadvisable. X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:07-25-1991-12:57-wht@n4hgf-ECU release 3.10 */ X /*:05-02-1991-01:57-r@n4hgf-alt-[a-z] range moved from 0x80-0x99 to 0xE0-0xF9 */ X /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */ X*************** X*** 52,58 **** X * extended ALT+[a-z] codes X */ X #define XF_ALTA 0xE0 /* depends on /usr/lib/keyboard keys ... */ X! #define XF_ALTZ (0xE0+'z'-'a') /* ... mapping ALT-a to 0xE0, etc */ X X /* vi: set tabstop=4 shiftwidth=4: */ X /* end of ecuxkey.h */ X--- 53,59 ---- X * extended ALT+[a-z] codes X */ X #define XF_ALTA 0xE0 /* depends on /usr/lib/keyboard keys ... */ X! #define XF_ALTZ ((unsigned)(0xE0+'z'-'a')) /* ... mapping ALT-a to 0xE0, etc */ X X /* vi: set tabstop=4 shiftwidth=4: */ X /* end of ecuxkey.h */ XOnly in .: esdutil.o Xdiff -c -r /export/home/wht/src/ecu313/expresp.c ./expresp.c X*** /export/home/wht/src/ecu313/expresp.c Wed Aug 28 19:35:01 1991 X--- ./expresp.c Wed Aug 28 14:19:56 1991 X*************** X*** 46,52 **** X #define DEFAULT_TIMEOUT_MSECS (10*1000L) X X #define ERDEBUG(verb,str,arg) if(expresp_verbosity >= verb) \ X! pprintf(str,arg); X X long atol(); X X--- 46,52 ---- X #define DEFAULT_TIMEOUT_MSECS (10*1000L) X X #define ERDEBUG(verb,str,arg) if(expresp_verbosity >= verb) \ X! pprintf(str,arg) X X long atol(); X XOnly in .: expresp.o XCommon subdirectories: /export/home/wht/src/ecu313/fasi and ./fasi XOnly in .: fasiintf.o XOnly in .: feval.o XCommon subdirectories: /export/home/wht/src/ecu313/gendial and ./gendial XOnly in .: gint.o XOnly in .: gstr.o Xdiff -c -r /export/home/wht/src/ecu313/hdbintf.c ./hdbintf.c X*** /export/home/wht/src/ecu313/hdbintf.c Wed Aug 28 19:35:02 1991 X--- ./hdbintf.c Sun Aug 25 14:00:09 1991 X*************** X*** 4,10 **** X #endif X X /* #define CHOOSE_DEBUG */ X- /* #defined CALL_DIALER_BY_ECUDIAL */ /* gendial makes use of this */ X X /*+------------------------------------------------------------------------- X hdbintf.c - HDB UUCP database and /etc/utmp interface routines X--- 4,9 ---- X*************** X*** 39,46 **** X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X- /*:08-27-1991-03:08-ache@hq.demos.su-pass dial prog name in lieu of "ECUdial" */ X- /*:08-27-1991-03:08-ache@hq.demos.su-dialer enhancement */ X /*:08-25-1991-13:07-wht@n4hgf-apply ache@hq.demos.su patches */ X /*:08-10-1991-17:39-wht@n4hgf-US_WEGOTIT handling */ X /*:07-25-1991-12:58-wht@n4hgf-ECU release 3.10 */ X--- 38,43 ---- X*************** X*** 1014,1028 **** X if((dial_pid = smart_fork()) == 0) X { X signal(SIGINT,SIG_DFL); X! execl(dve->dialprog, X! #if defined(WHT) || defined(CALL_DIALER_BY_ECUDIAL) X! "ECUdial", /* I want to know ECU is calling */ X! #else X! dve->dialprog, /* other dialers need to know how they X! * are being called X! */ X! #endif X! dbgstr, X shm->Lline,token, X baudstr,(char *)0); X exit(-1); X--- 1011,1017 ---- X if((dial_pid = smart_fork()) == 0) X { X signal(SIGINT,SIG_DFL); X! execl(dve->dialprog,"ECUdial",dbgstr, X shm->Lline,token, X baudstr,(char *)0); X exit(-1); XOnly in .: hdbintf.o XCommon subdirectories: /export/home/wht/src/ecu313/help and ./help Xdiff -c -r /export/home/wht/src/ecu313/kbdtest3.c ./kbdtest3.c X*** /export/home/wht/src/ecu313/kbdtest3.c Wed Aug 28 19:35:04 1991 X--- ./kbdtest3.c Wed Aug 28 14:07:10 1991 X*************** X*** 24,29 **** X--- 24,30 ---- X X ------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-17-1991-13:58-root@n4hgf-make kbd entirely raw */ X /*:08-06-1991-13:12-wht@n4hgf-add parity reporting */ X /*:08-06-1991-13:12-wht@n4hgf-some terminals reinvent parity bit's use */ X*************** X*** 77,83 **** X "Thank you. If you wish to mail me the contents of kbdtest3.out,\n", X "please include a detailed description of the system and software\n", X "(i.e., \"Metrolink xterm keyboard on SCO 3.2r2\")\n", X! "I also need the curses terminal type (TERM=???) entry for this keyboard\n", X "(I WANT you to mail me results for non-SCO/non-ISC-console keyboards.)\n", X "If you had to hack this program, mail it in its entirety as well.\n", X "\n", X--- 78,84 ---- X "Thank you. If you wish to mail me the contents of kbdtest3.out,\n", X "please include a detailed description of the system and software\n", X "(i.e., \"Metrolink xterm keyboard on SCO 3.2r2\")\n", X! "I also need the curses terminal type (TERM=\?\?\?) entry for this keyboard\n", X "(I WANT you to mail me results for non-SCO/non-ISC-console keyboards.)\n", X "If you had to hack this program, mail it in its entirety as well.\n", X "\n", X*************** X*** 309,315 **** X char s256[256]; X X sprintf(s256," %s:%s:",name,name); X! while(strlen(s256) < 20) X strcat(s256," "); X X while(buflen--) X--- 310,316 ---- X char s256[256]; X X sprintf(s256," %s:%s:",name,name); X! while(strlen(s256) < (unsigned)20) X strcat(s256," "); X X while(buflen--) XOnly in .: kbdtest3.out XOnly in .: logevent.o XOnly in .: makedirs.o XCommon subdirectories: /export/home/wht/src/ecu313/mapkey and ./mapkey XOnly in .: mkdirs.o XCommon subdirectories: /export/home/wht/src/ecu313/models and ./models Xdiff -c -r /export/home/wht/src/ecu313/nonansikey.c ./nonansikey.c X*** /export/home/wht/src/ecu313/nonansikey.c Wed Aug 28 19:35:05 1991 X--- ./nonansikey.c Wed Aug 28 14:53:32 1991 X*************** X*** 11,16 **** X--- 11,17 ---- X X ------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:51-wht@n4hgf2-look correctly for nonansikeys in ECULIBDIR */ X /*:08-26-1991-05:45-wht@n4hgf2-# got included in key def */ X /*:08-06-1991-13:19-wht@n4hgf-allow any code as first in key sequence */ X /*:08-03-1991-14:44-wht@n4hgf-look for nonansikeys in ECULIBDIR too */ X*************** X*** 198,204 **** X { X char * eculibdir = ECULIBDIR; X strcpy(ecukeys_name,eculibdir); X! strcat(ecukeys_name,"/.ecu/nonansikeys"); X if(!(fp_keys = fopen(ecukeys_name,"r"))) X { X ff(se,"'nonansikeys' not in ~/.ecu or %s; unable to proceed\r\n", X--- 199,205 ---- X { X char * eculibdir = ECULIBDIR; X strcpy(ecukeys_name,eculibdir); X! strcat(ecukeys_name,"/nonansikeys"); X if(!(fp_keys = fopen(ecukeys_name,"r"))) X { X ff(se,"'nonansikeys' not in ~/.ecu or %s; unable to proceed\r\n", XOnly in .: nonansikey.o XOnly in .: patch04a XOnly in .: patch04b XOnly in .: patch4a XOnly in .: patch4b Xdiff -c -r /export/home/wht/src/ecu313/patchlevel.h ./patchlevel.h X*** /export/home/wht/src/ecu313/patchlevel.h Wed Aug 28 19:35:05 1991 X--- ./patchlevel.h Wed Aug 28 14:05:30 1991 X*************** X*** 1 **** X! #define PATCHLEVEL 13 X--- 1 ---- X! #define PATCHLEVEL 14 XOnly in .: pcmd.o XOnly in .: pcmdfile.o XOnly in .: pcmdif.o XOnly in .: pcmdtty.o XOnly in .: pcmdwhile.o XOnly in .: pcmdxfer.o XOnly in .: poutput.o XOnly in .: pprintf.o XOnly in .: proc.o XOnly in .: proc_error.o XOnly in .: procframe.o Xdiff -c -r /export/home/wht/src/ecu313/regexp.c ./regexp.c X*** /export/home/wht/src/ecu313/regexp.c Wed Aug 28 19:30:47 1991 X--- ./regexp.c Wed Aug 28 14:23:04 1991 X*************** X*** 2,7 **** X--- 2,8 ---- X regexp.c -- regular expression functions made sane X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:07-25-1991-12:59-wht@n4hgf-ECU release 3.10 */ X /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */ X X*************** X*** 45,51 **** X int low; X int size; X X! char bittab[] = { 1,2,4,8,16,32,64,128 }; X X jmp_buf compile_error_jmpbuf; X X--- 46,52 ---- X int low; X int size; X X! unsigned char bittab[] = { 1,2,4,8,16,32,64,128 }; X X jmp_buf compile_error_jmpbuf; X XOnly in .: regexp.o XCommon subdirectories: /export/home/wht/src/ecu313/sea and ./sea XOnly in .: shar.fls Xdiff -c -r /export/home/wht/src/ecu313/stdio_lint.h ./stdio_lint.h X*** /export/home/wht/src/ecu313/stdio_lint.h Wed Aug 28 19:35:13 1991 X--- ./stdio_lint.h Wed Aug 28 14:07:11 1991 X*************** X*** 3,8 **** X--- 3,9 ---- X wht@n4hgf.Mt-Park.GA.US X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-28-1991-14:07-wht@n4hgf2-SVR4 cleanup by slootman@dri.nl */ X /*:08-25-1991-14:39-wht@n4hgf-SVR4 port thanks to aega84!lh */ X /*:07-25-1991-12:59-wht@n4hgf-ECU release 3.10 */ X /*:01-18-1991-11:55-wht@n4hgf-fix strchr/strrchr per steve@nshore.ncoast.org */ X*************** X*** 9,14 **** X--- 10,17 ---- X /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */ X X #if defined(__STDC__) X+ #include X+ #include X char *gets(char *); X char *getenv(char *); X int access(char *,int); XOnly in .: utmpstat.o XOnly in .: var.o XCommon subdirectories: /export/home/wht/src/ecu313/xsel386 and ./xsel386 XCommon subdirectories: /export/home/wht/src/ecu313/z and ./z Xdiff -c -r /export/home/wht/src/ecu313/doc/__rtscts.txt ./doc/__rtscts.txt X*** /export/home/wht/src/ecu313/doc/__rtscts.txt Wed Aug 28 19:32:07 1991 X--- ./doc/__rtscts.txt Sun Aug 25 22:56:13 1991 X*************** X*** 5,11 **** X control, RTSFLOW and CTSFLOW can be used to specify SCO-style flow X control. Advice: use rts on or off for SCO, use appropriate magic X numbered device for FAS. X- X .DS I X argument | RTSFLOW | CTSFLOW argument | RTSFLOW | CTSFLOW X ---------+---------+--------- ---------+---------+--------- X--- 5,10 ---- X*************** X*** 13,16 **** X--- 12,36 ---- X on | 0 | 1 1 | 0 | 1 X no | 0 | 0 2 | 1 | 0 X yes | 1 | 1 3 | 1 | 1 X+ .DE X+ Under System V Release 4, an TCGETX/TCSETX manipulation X+ is performed, modifying the x_hflag bits as follows: X+ .DS I X+ argument | RTSXOFF | CTSXON argument | RTSXOFF | CTSXON X+ ---------+---------+--------- ---------+---------+--------- X+ off | 0 | 0 0 | 0 | 0 X+ on | 0 | 1 1 | 0 | 1 X+ no | 0 | 0 2 | 1 | 0 X+ yes | 1 | 1 3 | 1 | 1 X+ .DE X+ Under SunOS 4.1, only CTS support is provided. You should read X+ the termio and zs man pages. Arguments result in the stated X+ manipulations of the termio element c_cflag: X+ .DS I X+ argument | CRTSCTS argument | CRTSCTS X+ ---------+--------- ----------+--------- X+ off | 0 0 | 0 X+ on | 1 1 | 1 X+ no | 0 X+ yes | 1 X .DE Xdiff -c -r /export/home/wht/src/ecu313/doc/_basic.txt ./doc/_basic.txt X*** /export/home/wht/src/ecu313/doc/_basic.txt Wed Aug 28 19:32:08 1991 X--- ./doc/_basic.txt Fri Aug 23 14:23:46 1991 X*************** X*** 94,100 **** X produce a screen snapshot when it is pressed and XMTR is X reading from the keyboard. X X! Thhe BackTab (shift Tab) key is mpermanently mapped to a screen X redisplay feature. X X .*s 3 "Auxiliary Operation Control" X--- 94,100 ---- X produce a screen snapshot when it is pressed and XMTR is X reading from the keyboard. X X! The BackTab (shift Tab) key is permanently mapped to a screen X redisplay feature. X X .*s 3 "Auxiliary Operation Control" Xdiff -c -r /export/home/wht/src/ecu313/doc/_p_cmd.txt ./doc/_p_cmd.txt X*** /export/home/wht/src/ecu313/doc/_p_cmd.txt Wed Aug 28 19:32:17 1991 X--- ./doc/_p_cmd.txt Mon Aug 26 00:14:56 1991 X*************** X*** 479,485 **** X \\\m### causes a ### millisecond delay. Note this adds an ambiguity to X the syntax of the send string: you may not follow an \m delay with a X literal digit to send. For example, suppose you wish to delay 300 X! missileconds then send "4A". \\\m3004A will delay for 3004 X (approximately) milliseconds, then send an "A". X X Integer variable $i0 is set to one if the expect-respond script X--- 479,485 ---- X \\\m### causes a ### millisecond delay. Note this adds an ambiguity to X the syntax of the send string: you may not follow an \m delay with a X literal digit to send. For example, suppose you wish to delay 300 X! milliseconds then send "4A". \\\m3004A will delay for 3004 X (approximately) milliseconds, then send an "A". X X Integer variable $i0 is set to one if the expect-respond script X*************** X*** 760,766 **** X Note: all the above examples cause transfer to the label GET_NEXT. X .DE X .DS L X! A switch or case function of sorts may be implimented by something like: X X #$i0 has been set to the "switch" value X ifi $i0 < 0 || $i0 > 2 # avoid gosub label not found X--- 760,766 ---- X Note: all the above examples cause transfer to the label GET_NEXT. X .DE X .DS L X! A switch or case function of sorts may be implemented by something like: X X #$i0 has been set to the "switch" value X ifi $i0 < 0 || $i0 > 2 # avoid gosub label not found X*************** X*** 858,868 **** X .DS L X usage: hexdump [-s] X hexdump -t[s] X- .DE X X buf to dump X title (if -t) X -s short (terse) dump X X This command prints a hexadecimal dump of on the screen X (and to the procedure log file, if logging enabled with the X--- 858,868 ---- X .DS L X usage: hexdump [-s] X hexdump -t[s] X X buf to dump X title (if -t) X -s short (terse) dump X+ .DE X X This command prints a hexadecimal dump of on the screen X (and to the procedure log file, if logging enabled with the Xdiff -c -r /export/home/wht/src/ecu313/doc/_top.txt ./doc/_top.txt X*** /export/home/wht/src/ecu313/doc/_top.txt Wed Aug 28 19:33:43 1991 X--- ./doc/_top.txt Fri Aug 23 14:23:59 1991 X*************** X*** 11,17 **** X .sp 2i X .ft B X .ce 10 X! ECU 3.11 X X (Extended Call Utility) X .ce 0 X--- 11,17 ---- X .sp 2i X .ft B X .ce 10 X! ECU 3.13 X X (Extended Call Utility) X .ce 0 X*************** X*** 29,35 **** X .sp 1i X .ce 100 X Technical Description X! Revision 3.10 X \n(mo/\n(dy/\n(yr X .ce 0 X .ls 1 X--- 29,35 ---- X .sp 1i X .ce 100 X Technical Description X! Revision 3.13 X \n(mo/\n(dy/\n(yr X .ce 0 X .ls 1 XOnly in ./doc: ecu.man XOnly in ./doc: exits.man Xdiff -c -r /export/home/wht/src/ecu313/ecufriend/Make.src ./ecufriend/Make.src X*** /export/home/wht/src/ecu313/ecufriend/Make.src Wed Aug 28 19:29:08 1991 X--- ./ecufriend/Make.src Mon Aug 26 05:59:08 1991 X*************** X*** 2,8 **** X # Makefile for sample ecufriend X # wht@n4hgf.Mt-Park.GA.US X #---------------------------------------------------------------- X! #+:EDITS:*/ X #:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 X #:04-21-1991-12:05-wht@n4hgf-convert to Make.src X X--- 2,9 ---- X # Makefile for sample ecufriend X # wht@n4hgf.Mt-Park.GA.US X #---------------------------------------------------------------- X! #+:EDITS: X! #:08-26-1991-05:59-wht@n4hgf2-default target was .o not executable X #:07-25-1991-12:56-wht@n4hgf-ECU release 3.10 X #:04-21-1991-12:05-wht@n4hgf-convert to Make.src X X*************** X*** 15,20 **** X--- 16,23 ---- X .c.o:; $(BINTIME) $(CC) -c $(CFLAGS) $*.c X X OBJ = $(PROGRAM).o X+ X+ all: $(PROGRAM) X X $(OBJ): Makefile X XOnly in ./ecufriend: Makefile XOnly in ./ecufriend: ecufriend XOnly in ./ecufriend: ecufriend.o Xdiff -c -r /export/home/wht/src/ecu313/ecuungetty/Make.src ./ecuungetty/Make.src X*** /export/home/wht/src/ecu313/ecuungetty/Make.src Wed Aug 28 19:33:53 1991 X--- ./ecuungetty/Make.src Fri Aug 23 14:21:19 1991 X*************** X*** 77,89 **** X >> depend.tmp) ;\ X fi X X! echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp X! echo '.+1,$$d' >>exdep.tmp X! echo 'r depend.tmp' >> exdep.tmp X! echo 'w' >> exdep.tmp X cp Makefile Makefile.new X! ex Makefile.new < exdep.tmp X! rm exdep.tmp depend.tmp X echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new X echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new X echo '# see make depend above'>>Makefile.new X--- 77,89 ---- X >> depend.tmp) ;\ X fi X X! echo '/^# DO NOT DELETE THIS LINE' >eddep.tmp X! echo '.+1,$$d' >>eddep.tmp X! echo 'r depend.tmp' >> eddep.tmp X! echo 'w' >> eddep.tmp X cp Makefile Makefile.new X! ed Makefile.new < eddep.tmp X! rm eddep.tmp depend.tmp X echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new X echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new X echo '# see make depend above'>>Makefile.new Xdiff -c -r /export/home/wht/src/ecu313/ecuungetty/ecuungetty.c ./ecuungetty/ecuungetty.c X*** /export/home/wht/src/ecu313/ecuungetty/ecuungetty.c Wed Aug 28 19:33:13 1991 X--- ./ecuungetty/ecuungetty.c Sun Aug 25 13:30:50 1991 X*************** X*** 1,5 **** X #ifndef lint X! char *revision = "ecuungetty 3.10"; X #endif X /*+------------------------------------------------------------------------- X ecuungetty.c - ecu "ungetty" program X--- 1,5 ---- X #ifndef lint X! char *revision = "ecuungetty 3.13"; X #endif X /*+------------------------------------------------------------------------- X ecuungetty.c - ecu "ungetty" program XOnly in ./gendial: Makefile Xdiff -c -r /export/home/wht/src/ecu313/gendial/dceT2500.c ./gendial/dceT2500.c X*** /export/home/wht/src/ecu313/gendial/dceT2500.c Wed Aug 28 19:31:34 1991 X--- ./gendial/dceT2500.c Fri Aug 23 14:23:18 1991 X*************** X*** 159,165 **** X X } X myexit(RC_FAIL | RCE_SPEED); X! #if defined(__GNUC__) && defined(__OPTIMIZE) /* don't complain */ X return(0); X #endif X } /* end of DCE_baud_to_CBAUD */ X--- 159,165 ---- X X } X myexit(RC_FAIL | RCE_SPEED); X! #if defined(__GNUC__) && defined(__OPTIMIZE__) /* don't complain */ X return(0); X #endif X } /* end of DCE_baud_to_CBAUD */ Xdiff -c -r /export/home/wht/src/ecu313/gendial/gendial.c ./gendial/gendial.c X*** /export/home/wht/src/ecu313/gendial/gendial.c Wed Aug 28 19:31:39 1991 X--- ./gendial/gendial.c Fri Aug 23 14:23:22 1991 X*************** X*** 70,75 **** X--- 70,76 ---- X X --------------------------------------------------------------------------*/ X /*+:EDITS:*/ X+ /*:08-13-1991-14:36-wht@n4hgf-perror on dce open error */ X /*:07-25-1991-12:58-wht@n4hgf-ECU release 3.10 */ X /*:05-01-1991-21:28-wht@n4hgf-add dial timing */ X /*:03-12-1991-19:11-wht@n4hgf-if ecu dialing, show complete call progress */ X*************** X*** 90,96 **** X /* globals available to device dependent module */ X int gargc; /* global copy of main's argv */ X char **gargv; /* global copy of main's argv */ X! char *dce_name; /* full pathname of ACU device */ X char *telno = (char *)0; /* phone number if dial type request */ X struct termio dce_termio; /* last termio for device */ X int Debug = DBG; /* set per -x flag */ X--- 91,97 ---- X /* globals available to device dependent module */ X int gargc; /* global copy of main's argv */ X char **gargv; /* global copy of main's argv */ X! char *dce_name; /* full pathname of ACU device */ X char *telno = (char *)0; /* phone number if dial type request */ X struct termio dce_termio; /* last termio for device */ X int Debug = DBG; /* set per -x flag */ X*************** X*** 792,798 **** X /* open with O_NDELAY set or the open probably will hang */ X if((fd1 = open(dce_name,O_RDWR | O_NDELAY)) < 0) X { X! ff(se,"%s: Can't open device: %s\n",*gargv,dce_name); X myexit(RC_FAIL | RCE_OPEN | DialerExitCode); X } X X--- 793,800 ---- X /* open with O_NDELAY set or the open probably will hang */ X if((fd1 = open(dce_name,O_RDWR | O_NDELAY)) < 0) X { X! ff(se,"%s: Can't open device: ",*gargv); X! perror(dce_name); X myexit(RC_FAIL | RCE_OPEN | DialerExitCode); X } X Xdiff -c -r /export/home/wht/src/ecu313/help/Make.src ./help/Make.src X*** /export/home/wht/src/ecu313/help/Make.src Wed Aug 28 19:31:01 1991 X--- ./help/Make.src Fri Aug 23 14:21:24 1991 X*************** X*** 75,87 **** X >> depend.tmp) ;\ X fi X X! echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp X! echo '.+1,$$d' >>exdep.tmp X! echo 'r depend.tmp' >> exdep.tmp X! echo 'w' >> exdep.tmp X cp Makefile Makefile.new X! ex Makefile.new < exdep.tmp X! rm exdep.tmp depend.tmp X echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new X echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new X echo '# see make depend above'>>Makefile.new X--- 75,87 ---- X >> depend.tmp) ;\ X fi X X! echo '/^# DO NOT DELETE THIS LINE' >eddep.tmp X! echo '.+1,$$d' >>eddep.tmp X! echo 'r depend.tmp' >> eddep.tmp X! echo 'w' >> eddep.tmp X cp Makefile Makefile.new X! ed Makefile.new < eddep.tmp X! rm eddep.tmp depend.tmp X echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new X echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new X echo '# see make depend above'>>Makefile.new XOnly in ./help: Makefile XOnly in ./help: ecuhelp.data Xdiff -c -r /export/home/wht/src/ecu313/help/ecuhelp.src ./help/ecuhelp.src X*** /export/home/wht/src/ecu313/help/ecuhelp.src Wed Aug 28 19:33:58 1991 X--- ./help/ecuhelp.src Sun Aug 25 22:44:26 1991 X*************** X*** 204,209 **** X--- 204,216 ---- X Issuing this command with no argument displays a list of commands X followed by a request for a command for further information. X #-------------------------------------------------------------------- X+ %kbdtest X+ Usage: kbdtest X+ X+ This command enters a keybord test mode which tests the X+ mapping of keyboard generated character sequences to ECU internal X+ key codes. X+ #-------------------------------------------------------------------- X %llp X Usage: llp X X*************** X*** 547,559 **** X %rtscts X Usage: rtscts [ y | n | ] X X! This SCO-only command turns on or off the driver RTS and CTS flow X! control. As of this writing, SCO's driver does half duplex (traditional, X! brain damaged) flow control if RTSFLOW is enabled. FAS does hardware X! flow control based on the device magic number, but if you use a device X! number specifying no hardware flow control, RTSFLOW and CTSFLOW can be X! used to specify SCO-style flow control. Advice: use rts on or off for X! SCO, use appropriate magic numbered device for FAS. X X argument | RTSFLOW | CTSFLOW argument | RTSFLOW | CTSFLOW X ---------+---------+--------- ---------+---------+--------- X--- 554,567 ---- X %rtscts X Usage: rtscts [ y | n | ] X X! This command turns on or off the driver RTS and CTS flow control X! if support is provided by the OS. As of this writing, SCO's X! driver does half duplex (traditional, brain damaged) flow control X! if RTSFLOW is enabled. FAS does hardware flow control based on X! the device magic number, but if you use a device number X! specifying no hardware flow control, RTSFLOW and CTSFLOW can be X! used to specify SCO-style flow control. Advice: use rts on or X! off for SCO sio, use appropriate magic numbered device for FAS. X X argument | RTSFLOW | CTSFLOW argument | RTSFLOW | CTSFLOW X ---------+---------+--------- ---------+---------+--------- X*************** X*** 561,566 **** X--- 569,576 ---- X on | 0 | 1 1 | 0 | 1 X no | 0 | 0 2 | 1 | 0 X yes | 1 | 1 3 | 1 | 1 X+ A similar feature is provided under S4. Under SunOS, CTS X+ flow control is upported. See the manual. X #-------------------------------------------------------------------- X %sdname X Usage: sdname [ | ] XOnly in ./help: helpgen XOnly in ./help: helpgen.o XOnly in ./help: util.o Xdiff -c -r /export/home/wht/src/ecu313/models/nonansikeys ./models/nonansikeys X*** /export/home/wht/src/ecu313/models/nonansikeys Wed Aug 28 19:34:01 1991 X--- ./models/nonansikeys Mon Aug 26 16:26:56 1991 X*************** X*** 1,5 **** X #+------------------------------------------------------------------------ X! # ECU 3.10 nonansikeys X # X # This file contains mapping information to convert non-ANSI X # keyboard function keys to an internal ECU function key X--- 1,5 ---- X #+------------------------------------------------------------------------ SHAR_EOF true || echo 'restore of PATCH4.01 failed' fi echo 'End of ecu/patch part 1' echo 'File PATCH4.01 is continued in part 2' echo 2 > _shar_seq_.tmp exit 0 exit 0 # Just in case...