home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sources.misc
- From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
- Subject: v32i082: ecu - ECU Asynchronous Communications v3.20, Patch02
- Message-ID: <1992Sep20.223522.28149@sparky.imd.sterling.com>
- X-Md4-Signature: 3574ad245c2ffd8439923f85e487dfd7
- Date: Sun, 20 Sep 1992 22:35:22 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
- Posting-number: Volume 32, Issue 82
- Archive-name: ecu/patch02
- Environment: SCO,XENIX,ISC,SUNOS,SYSVR4,HDB,Curses
- Patch-To: ecu: Volume 32, Issue 36-75
-
- This patch removes some debugging code left in when patch 1 was
- made. The debug code was invoked only when executed on SCO color
- multiscreens or scoterms.
-
- My thanks to jeffl@comix.santa-cruz.ca.us (Jeff Lieberman)
- for pointing this out so rapidly.
-
- To apply this patch, extract the shell archive below in the ECU
- distribution directory. Then patch by
-
- patch < PATCH02
-
- (In the future, even temporary debug code will be bracketed by
- conditional #ifdef/#endif WHT .-< )
-
- #!/bin/sh
- # This is a shell archive (shar 3.461)
- # made 09/15/1992 22:59 UTC by wht@n4hgf.Mt-Park.GA.US
- # Source directory /u1/src/ecu.3.20-shars
- #
- # Existing files will NOT be overwritten unless -c is specified
- #
- # This shar contains:
- # length mode name
- # ------ ---------- ------------------------------------------
- # 1041 -rw-r--r-- PATCH02
- #
- # ============= PATCH02 ==============
- if test -f 'PATCH02' -a X"$1" != X"-c"; then
- echo 'x - skipping PATCH02 (File already exists)'
- else
- echo 'x - extracting PATCH02 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'PATCH02' &&
- XPrereq: 21
- X*** patchlevel.h- Tue Sep 15 18:16:36 1992
- X--- patchlevel.h Tue Sep 15 18:16:06 1992
- X***************
- X*** 1 ****
- X! #define PATCHLEVEL 21
- X--- 1 ----
- X! #define PATCHLEVEL 22
- X*** ecutty.c- Tue Sep 15 18:13:40 1992
- X--- ecutty.c Tue Sep 15 18:14:26 1992
- X***************
- X*** 404,416 ****
- X #endif /* ESIXSVR4 */
- X #else /* not any SVR4 */
- X #ifdef M_SYSV /* SCO */
- X- { char s[128];
- X- sprintf(s,"\033[=%ldF\033[=%ldG",(clrs >> 8) & 0xFF,clrs & 0xFF);
- X- hex_dump(s,strlen(s),"_setcolor normal color",0);
- X- sprintf(s,"\033[=%ldH\033[=%ldI",(clrs >> 24) & 0xFF,(clrs >> 16) & 0xFF);
- X- hex_dump(s,strlen(s),"_setcolor reverse color",0);
- X- }
- X-
- X /* normal */
- X ff(se,"\033[=%ldF\033[=%ldG",(clrs >> 8) & 0xFF,clrs & 0xFF);
- X
- X--- 404,409 ----
- X*** CHANGES- Tue Sep 15 18:56:05 1992
- X--- CHANGES Tue Sep 15 18:54:39 1992
- X***************
- X*** 34,36 ****
- X--- 34,41 ----
- X
- X 5. This file was added.
- X
- X+ ==> Patch 2
- X+
- X+ 1992-09-15-18:52-ecutty.c-wht@n4hgf-left some debug code in patch01 dammit
- X+
- X+ 6. Remove debug code from _setcolor().
- SHAR_EOF
- chmod 0644 PATCH02 ||
- echo 'restore of PATCH02 failed'
- Wc_c="`wc -c < 'PATCH02'`"
- test 1041 -eq "$Wc_c" ||
- echo 'PATCH02: original size 1041, current size' "$Wc_c"
- fi
- exit 0
-
- exit 0 # Just in case...
-