🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1215

ksh88d on HPUX 7 (9000/300)

#1215
From: Alan M. Carroll
Date: Sat, 22 Sep 1990 16:07
20 lines
1677 bytes
Has anyone gotten ksh88d to work on an HP 9000/300 series running HPUX 7.0 and
YP? I had to make a number of code fixes to get it to compile, but it ran fine
initially. After actually enabling YP and running the servers, ksh would
immediately lock up after starting, into an unkillable process. Debugging
attempts led to a completely hung system. My best guess is that it is failing
in trying to get a lock on the history file, but why YP should affect that,
I don't know. Compiling with YELLOWP undefined gives the same symptoms.

Source Fixes:
+ Removed #define setpgid. HPUX has setpgid, but not getpgid. The
#define collides
with a function prototype in unistd.h
+ Removed #define for waitpid for the same reason.
+ Undefined SA_NOCLDSTOP, since HPUX has that but not SA_NOCLDWAIT. sigflag()
doesn't exist either.
+ Added define for PATH_MAX. Although present in the include files, it is under
conditionals and isn't actually defined for the ksh compilation.
+ Defined TCSADFLUSH to be TCSAFLUSH. HPUX has the latter, but not the former.
+ Changed the definition of HZ to be 50 instead of CLK_TCK. This is defined in
time.h, but for other reasons ksh includes times.h instead.
Technical Details
Message-ID: <1990Sep22.160721.14154@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!sunc7.cs.uiuc.edu!carroll

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!sunc7.cs.uiuc.edu!carroll
From: carroll@sunc7.cs.uiuc.edu (Alan M. Carroll)
Newsgroups: comp.unix.shell
Subject: ksh88d on HPUX 7 (9000/300)
Keywords: ksh ksh88d HPUX 7
Message-ID: <1990Sep22.160721.14154@ux1.cso.uiuc.edu>
Date: 22 Sep 90 16:07:21 GMT
Sender: news@ux1.cso.uiuc.edu (News)
Reply-To: carroll@sunc7.cs.uiuc.edu (Alan M. Carroll)
Organization: University of Illinois at Urbana
Lines: 20