Article View: net.micro.amiga
Article #5031Current patches (yes another set) to VT100 v2.2
From: DAVE TANSTAAFL WECKER
Date: Sat, 18 Oct 1986 15:56
Date: Sat, 18 Oct 1986 15:56
53 lines
2499 bytes
2499 bytes
Patches to VT100 (V2.2 DBW 861012) as of 861018 (all patches to date).
Note: some or all may already have been done by the MOD.AMIGA.SOURCE moderator
****************************** PATCH SET 2 ********************************
----------------------------------------------------------------
Fix Test in WINDOW.C from "=" to "==": (RAWKEY used incorrectly)
----------------------------------------------------------------
if (class==RAWKEY)
-----------------------------------------------------------------
Add "&& >= MAXX" to WINDOW.C: (so wrap mode works correctly)
-----------------------------------------------------------------
if (p_wrap && wrap_flag && x >= MAXX) {
****************************** PATCH SET 1 ********************************
-----------------------------------------------------
Remove from VT100.H: (unnecessary external reference)
-----------------------------------------------------
extern struct MenuItem WrdItem[WRDMAX];
extern struct IntuiText WrdText[WRDMAX];
---------------------------------------------------------------
Add line (as noted) to SCRIPT.C: (so EXIT with no params works)
---------------------------------------------------------------
void cmd_done(option)
char *option;
{
char *p;
int l;
if (*option) {
p = next_wrd(option,&l);
*(p+l) = '\000';
if (strcmp(p,"vt100") == 0 || strcmp(p,"VT100") == 0)
cleanup("Exit vt100 from script",0);
exit_script();
script_start(p);
}
else exit_script(); <============ ADD THIS LINE
}
--------------------------------------------------------------
Fix 2 compares with p_parity from ">= 0" to "> 0" in KERMIT.C:
(so eigth bit quoting works correctly)
--------------------------------------------------------------
if ((p_parity > 0) || ebqflg) { /* 8-bit quoting... */
else if (((p_parity > 0) || ebqflg) && (ebq == 'Y')) {
Technical Details
Message-ID:
<6022@decwrl.DEC.COM>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!elbereth!rutgers!lll-crg!nike!ucbcad!ucbvax!decwrl!cookie.dec.com!weckerShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!elbereth!rutgers!lll-crg!nike!ucbcad!ucbvax!decwrl!cookie.dec.com!wecker From: wecker@cookie.dec.com (DAVE TANSTAAFL WECKER) Newsgroups: net.micro.amiga Subject: Current patches (yes another set) to VT100 v2.2 Message-ID: <6022@decwrl.DEC.COM> Date: Sat, 18-Oct-86 11:56:42 EDT Article-I.D.: decwrl.6022 Posted: Sat Oct 18 11:56:42 1986 Date-Received: Tue, 21-Oct-86 05:44:04 EDT Sender: daemon@decwrl.DEC.COM Organization: Digital Equipment Corporation Lines: 53