Article View: comp.sources.d
Article #117nn and 80286 processors
From: Michael Grenier
Date: Mon, 03 Jul 1989 14:30
Date: Mon, 03 Jul 1989 14:30
31 lines
1622 bytes
1622 bytes
For those of you trying to get nn to run on brain-damaged 16 bit
processors (like mine :-) :
Changed parms in call to setupterm to NULL,1,NULL from 0,1,0 in term.c
sinec the first and third parameters are supposed to be pointers.
For UNIX V.2 (in this case Microport) Add declarations for tgoto
in /usr/include/term.h which is used in term.c .i.e :
extern char *tgoto();
Of course, you could add that in all the files that include term.h
At this point, I was still getting core dumps in rc.c which I couldn't
figure out so in a moment of desparation I linked in the malloc library
that was posted to comp.sources.misc awhile back. (m286 - you can get it
from me if you have problems...however, I'm compiling nn using the beta
release of the UNIX V.3 compiler Microport ported for the 80286 which
may also have created the problem). The memory faults went away.
Finally, I ran into the problem described in the PROBLEMS file where
nn wouldn't find any articles to read. Here again an integer was used
where a 32 bit value should have been.
In nn.c , routine read_news(), change the second parameter in the call to
group_menu from -1 to -1L
Good Luck,
-Mike Grenier
mike@cimcor.mn.org
uunet!rosevax!cimcor!mike
Technical Details
Message-ID:
<803@cimcor.mn.org>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!tank!shamash!com50!bungia!cimcor!mikeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwvax!tank!shamash!com50!bungia!cimcor!mike From: mike@cimcor.mn.org (Michael Grenier) Newsgroups: comp.sources.d Subject: nn and 80286 processors Keywords: patches Message-ID: <803@cimcor.mn.org> Date: 3 Jul 89 14:30:25 GMT Organization: Grenier & friends, Forest Lake, MN Lines: 31