pcomm1.1
Ross Wakelin
rossw at nezsupp.icl.co.nz
Wed Oct 5 19:01:16 AEST 1988
>
>Has anyone gotten pcomm v1.1 to run under Xenix yet?
Lots of people are complaining about the typedef chtype in pcomm 1.1,
especially in SCO Xenix machines.
We compiled pcomm on a straight V.2 box, not a problem.
We compiled pcomm on a V.2 on top of BSD box, compiles ok, crashes when
running, something to do with incompatible wait routines (yet to be
investigated).
We tried to compile pcomm on a box running Uniplus+ V.2 (tm ?) and it gave
the various chtype errors mentioned. We looked in curses.h (/usr/include)
and found that on the straight V.2 box, chtype was already typedeffed as
a short int, but on the Uniplus+ implementation it was a union of structures.
Our fix follows for the file misc.h
.
.
.
#ifdef OLDCURSES
typedef char chtype
#endif /* OLDCURSES */
#ifdef UNIPLUS
/* hack fix to get over chtype incompatibility in curses.h */
#define chtype chartype
typedef char chartype;
#endif
.
.
.
Also note that the OLDCURSES def above does not have a trailing semi colon
on the typedef, which may (?) cause your compiler to barf.
Also note that the makefile should have the above def (UNIPLUS) added, or
changed to SCO or XENIX as appropriate.
pcomm also has some problems in cursor handling, but I haven't got to those
yet.
This fixed our problem, hope it helps with yours.
Good luck.
--
Ross Wakelin uucp: uunet!vuwcomp!nezsupp!rossw
Unix Support Consultant rossw at nezsupp.icl.co.nz
ICL (NZ) Ltd audio: +64 4 724 884
Wellington, NEW ZEALAND PO Box 394, Wellington, New Zealand
More information about the Comp.unix.xenix
mailing list