[94] in Zephyr Mailing List

home help back first fref pref prev next nref lref last post

Re: building zephyr for HP9000/715 running hp-ux 9.01

daemon@ATHENA.MIT.EDU (Lucien Van Elsen)
Fri Aug 13 15:20:11 1993

Date: Fri, 13 Aug 1993 15:17:47 -0400
From: lucien@watson.ibm.com (Lucien Van Elsen)
To: tompalka@mit.edu
Cc: zephyr@Athena.MIT.EDU
In-Reply-To: <9308131841.AA17378@hing.LCS.MIT.EDU> (message from tom palka on Fri, 13 Aug 93 14:41:11 -0400)

Look for the "BSD to HP-UX porting tricks" post by Mike Peterson on
comp.sys.hp; it gives a bunch of drop-in routines for common BSD commands.

Basically, for getdtablesize, you should use the posix
sysconf(_SC_OPEN_MAX); for TIOCNOTTY, you shouldn't redefine it, but instead
use the posix setsid().  Another thing to look into is making sure you're
using the POSIX sigaction() instead of the signal() subroutines; they have
the SYSV version signal and not the BSD version that zephyr expects.  Also, the
problems with the display structure references can be fixed by including
<X11/Xlibint.h> in X_driver.c.

		-Lucien

-----------------------------------------------------------------------
Lucien Van Elsen                                          IBM  Research
lucien@watson.ibm.com                                     Project Agora

home help back first fref pref prev next nref lref last post