Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!wanginst!ulowell!stever From: stever@videovax.TEK.COM Newsgroups: mod.amiga Subject: Diffs for vt100 version 2.2 Message-ID: <682@ulowell.UUCP> Date: Sun, 19-Oct-86 17:20:35 EDT Article-I.D.: ulowell.682 Posted: Sun Oct 19 17:20:35 1986 Date-Received: Mon, 20-Oct-86 00:48:02 EDT Sender: page@ulowell.UUCP Reply-To: stever@videovax.TEK.COM (Steven E. Rice) Organization: Tektronix, Inc Lines: 301 Keywords: differences, terminal emulator, 2.1 Approved: page@ulowell.UUCP 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. The changes to init.c will suit it to the Lattice compiler without breaking Manx. 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) ============================================================================