Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsh!gls From: gls@odyssey.att.COM (Col. G. L. Sicherman) Newsgroups: comp.sys.hp Subject: Re: example of curses doesn't work Message-ID: <1991Feb22.194650.9193@cbnewsh.att.com> Date: 22 Feb 91 19:46:50 GMT References: <1991Feb20.164935.19577@cbnewsh.att.com> <16200010@hpucph.dnk.hp.com> Sender: gls@cbnewsh.att.com (Col. G. L. Sicherman) Organization: Save the Dodoes Foundation Lines: 31 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 Brought to you by Super Global Mega Corp .com