🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.shell
1 messages
1 total messages Started by Alan M. Carroll Sat, 22 Sep 1990 16:07
ksh88d on HPUX 7 (9000/300)
#1215
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads