Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!elbereth!rutgers!sri-spam!sri-unix!hplabs!tektronix!tekcrl!vice!tekfdi!videovax!stever From: stever@videovax.UUCP (Steven E. Rice, P.E.) Newsgroups: net.micro.amiga Subject: Diffs for vt100 version 2.2 Message-ID: <2003@videovax.UUCP> Date: Sat, 18-Oct-86 09:31:48 EDT Article-I.D.: videovax.2003 Posted: Sat Oct 18 09:31:48 1986 Date-Received: Tue, 21-Oct-86 06:43:23 EDT References: <4625@decwrl.DEC.COM> <5980@decwrl.DEC.COM> Reply-To: stever@videovax.UUCP (Steven E. Rice, P.E.) Organization: Tektronix, Comm Group, TV R&D Lines: 298 I have kept a running list of changes and updates to Dave Wecker's vt100. The following diffs are for version 2.2. The diff to init.c corrects a problem pointed out by Dawn Banks in article <4625@decwrl.DEC.COM> (posted on August 4th). Lattice C is unable to cope with the construct [n+1]. To avoid problems here, all occurrences of [n+1] are replaced by [nplus1], which is defined as an int and set equal to n+1 (surprise!). The diffs to kermit.c and script.c are taken from a very recent article by Dave Wecker (<5980@decwrl.DEC.COM>). These correct problems that he found. Dave also mentioned the need to remove a couple of lines from vt100.h, but this was apparently done by the mod.amiga.sources moderator. Steve Rice ---------------------------------------------------------------------------- {decvax | hplabs | ihnp4 | uw-beaver}!tektronix!videovax!stever ============================================================================ *** init.c.orig Thu Oct 16 11:12:11 1986 --- init.c Fri Oct 17 18:25:03 1986 *************** *** 349,355 /*****************************************************************/ void InitFileItems() { ! int n; /* initialize each menu item and IntuiText with loop */ for( n=0; n= 0) || ebqflg) { /* 8-bit quoting... */ data[6] = MYEBQ; /* If parity or flag on, send &. */ if ((ebq > 0040 && ebq < 0100) || /* If flag off, then turn it on */ (ebq > 0140 && ebq < 0177) || /* if other side has asked us to */ --- 784,790 ----- data[3] = ctl(MYPCHAR); data[4] = tochar(MYEOL); data[5] = MYQUOTE; ! if ((p_parity > 0) || ebqflg) { /* 8-bit quoting... */ data[6] = MYEBQ; /* If parity or flag on, send &. */ if ((ebq > 0040 && ebq < 0100) || /* If flag off, then turn it on */ (ebq > 0140 && ebq < 0177) || /* if other side has asked us to */ *************** *** 811,817 if (data[6] == 0) return; ebq = data[6]; if ((ebq > 040 && ebq < 0100) || (ebq > 0140 && ebq < 0177)) ebqflg = 1; ! else if (((p_parity >= 0) || ebqflg) && (ebq == 'Y')) { ebqflg = 1; ebq = '&'; } --- 811,817 ----- if (data[6] == 0) return; ebq = data[6]; if ((ebq > 040 && ebq < 0100) || (ebq > 0140 && ebq < 0177)) ebqflg = 1; ! else if (((p_parity > 0) || ebqflg) && (ebq == 'Y')) { ebqflg = 1; ebq = '&'; } ============================================================================ *** script.c.orig Sat Oct 18 02:05:58 1986 --- script.c Sat Oct 18 02:09:32 1986 *************** *** 339,344 exit_script(); script_start(p); } } void cmd_ks(file) --- 339,345 ----- exit_script(); script_start(p); } + else exit_script(); } void cmd_ks(file) ============================================================================