devries.bob at gmail.com
Sun Aug 5 22:05:46 EDT 2007
Paul, here's the termcap.h from the OS9/68000 disks:
/* termcap.h - terminal capability database definitions */
extern char PC_, *BC, *UP, *tgetstr(), *tgoto();
extern short ospeed;
extern int tgetnum(), tgetflag(), tgetent();
extern /*void*/ tputs();
/* EOF - termcap.h */
You will need to change the short to int and the int to long, I'm not
completely sure about that. The /*void*/ may need to be either removed or
changed to int (??) again, not sure.
The termcap library source is available on RTSI.
Regards, Bob Devries, Dalby, Queensland, Australia
Isaiah 50:4 The sovereign Lord has given me
the capacity to be his spokesman,
so that I know how to help the weary.
my blog: http://bdevries.invigorated.org/
----- Original Message -----
From: "Paul Fitch" <pfitchjr at bellsouth.net>
To: <coco at maltedmedia.com>
Sent: Monday, August 06, 2007 10:22 AM
Subject: [Coco] curses.c
> Curses wants a termcap.h file. Can I just use a GCC tercamp.h file, or is
> there one out already just for os9 Level 2?
> Coco mailing list
> Coco at maltedmedia.com
More information about the Coco