[net.notes] bugs in miscio and pagein for 11's

CSvax:Physics:crl (10/09/82)

#N:pur-phy:9400001:000:717
pur-phy!crl    Oct  8 17:18:00 1982

We've been running notes now for about 3 weeks on a PDP 11/44
running 2.8 BSD and had to fix a couple bugs, both of which had
to do with the differences between 11's and Vaxen.
	1) in pagein.c, nchars is defined to be an int. Since a note
		may be as long as 64Kb, this doesn't work on shorts,
		which is what an int is on an 11.  We changed it to
		an unsigned, but a long could also be used.  The bug
		caused newsinput to bomb, leaving some locks around.
	2) in miscio.c, both localbits and oldlocalbits are declared
		as longs.  However, 2.8 BSD's tty driver uses
		shorts for these, and thus CTLECHO was not cleared,
		causing erase and kill chars to be echoed all the
		time.

Charles LaBrec
pur-ee!physics:crl