wecker@cookie.dec.com (DAVE TANSTAAFL WECKER) (10/18/86)
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 ********************************
-----------------------------------------------------------------
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')) {