[comp.sys.mac.comm] NCSA Telnet

palmer@gap.caltech.edu (David Palmer) (08/24/90)

Minor bug in NCSA telnet, which causes a slightly decreased resolution
in Tektronix mode.  Here is how to fix it.

In the binary: version 2.3 (7/11/89)

Using ResEdit, open code segment 4: "Teklib", at location 2CE3, change:

2CE0:   102A 0012 4880 48C0 ...
	       vv
2CE0:	102A 0010 4880 48C0 ...


To patch the source code: File vgtek.c, procedure VGdraw (about half-way
through the file)

	case 3: /* this is loy; previous loy was really extra */
		vp->ney = (vp->nloy >> 2) & 3;
		vp->nex = (vp->nlox) & 3;	<- Bug here
		vp->nloy=value;
		state[vw]=HIX;
		break;
	}


Change the line:
		vp->nex = (vp->nlox) & 3;
to
		vp->nex = (vp->nloy) & 3;


This fix has not been endorsed by NCSA.  Nobody assumes any liability
for anything. Use at your own risk.  Change only copies of files,
not your original.  If captured or killed, the receptionist will
disavow all knowledge of your actions.  Close cover before striking.
Do not throw cigarette butts in urinals (it makes them soggy and hard
to light) etc. u.s.w.

--
		David Palmer
		palmer@gap.cco.caltech.edu
		...rutgers!cit-vax!gap.cco.caltech.edu!palmer
	I have the power to cloud men's minds -- or at least my own.

epsilon@wet.UUCP (Eric P. Scott) (08/26/90)

In article <palmer.651472823@gap> palmer@gap.caltech.edu (David Palmer) writes:
>In the binary: version 2.3 (7/11/89)

Is the same fix applicable to BYU Telnet 2.3.2 (5/4/90)?
Is it identical between NCSA and MacTCP versions?

					-=EPS=-