Article View: net.notes
Article #88bugs in miscio and pagein for 11's - (nf)
From: utzoodecvaxpur-eeCSvaxPhysicscrl
Date: Sat, 09 Oct 1982 04:01
Date: Sat, 09 Oct 1982 04:01
19 lines
1141 bytes
1141 bytes
#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
Technical Details
Message-ID:
<bnews.pur-phy.513>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
From: utzoo!decvax!pur-ee!CSvax:Physics:crl Newsgroups: net.notes Title: bugs in miscio and pagein for 11's - (nf) Article-I.D.: pur-phy.513 Posted: Sat Oct 9 04:01:32 1982 Received: Thu Oct 14 23:42:53 1982 Subject: bugs in miscio and pagein for 11's - (nf) Date: Sat, 09 Oct 1982 04:01:32 +0000 Message-ID: <bnews.pur-phy.513>