john@hpucph.dnk.hp.com (John Damm Srensen) (02/22/91)
I tried to compile and run the program on 7.0. It runs as expected on both 300 and 800 hardware. I compiled and linked like this cc curses.c -lcurses. John Damm Soerensen Danish Response Centre
gls@odyssey.att.COM (Col. G. L. Sicherman) (02/23/91)
In <16200010@hpucph.dnk.hp.com>, john@hpucph.dnk.hp.com writes: > I tried to compile and run the program on 7.0. > It runs as expected on both 300 and 800 hardware. > I compiled and linked like this cc curses.c -lcurses. I am running under "A.B7.00" -- maybe the "B" stands for Beta Release? The computer system is a 9000/855. My application programs work fine when I use a home-grown version of wprintw(). All it does is sprintf into a buffer and then waddstr() the contents to the window. The only other possibility that occurs to me is that, since we use C++ heavily, libcurses.a is somehow specially formulated for C++ and does not always understand C calling sequences. Can anybody else get the test program to work? -:- She was now working with fourteen pairs at once, and Alice couldn't help looking at her in great astonishment. "How _can_ she knit with so many?" the puzzled child thought to herself. "She gets more and more like a porcupine every minute!" "Can you row?" the Sheep asked, handing her a pair of knitting needles as she spoke. --L. Carroll, _Through the Looking-Glass_ -- Col. G. L. Sicherman gls@odyssey.att.COM