Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!gatech!gitpyr!stat!curci From: curci@stat.uucp (Ray Curci (scri)) Newsgroups: comp.unix.xenix Subject: Trouble with Curses and/or Xenix v2.2.3 Message-ID: <7672@pyr.gatech.EDU> Date: 21 Mar 89 17:38:53 GMT Sender: news@pyr.gatech.EDU Reply-To: curci@stat.fsu.edu (Ray Curci (scri)) Organization: Dept. of Statistics, Florida State Univ. Lines: 17 I have been writing a program that uses curses with the ps2 286 v2.2.3 xenix. By default CC uses the small model which worked fine until approximately when the program grew beyond 64K in size. Now, even when I compile using large model (-Ml), the program core dumps when it executes the initscr() function (the first function inside main()). As a test case, the program compiles and runs on SUN OS 3.5, 4.0, Ultrix v2.2, and even under antique IBM XENIX v1.0. If I take the small model executable from XENIX v1.0 and try to run it under SCO Xenix it gives a "Program too big" under /bin/sh, and "Not enough core" under /bin/csh. When I delete enough code to bring the SIZE below 64K, it seems to always compile and execute Okay. I installed TERMCAP as the default and am including #include and linking with -lcurses -ltermcap and also have tried -ltcap -ltermcap. Any pointers would be greatly appreciated. Ray Curci curci@stat.fsu.edu