[news.software.b] News software on HP-UX 6.21

joe@Pacer.UUCP (Joe Kelsey) (02/08/89)

Since Rick says that he doesn't want to issue any more bug fixes on
2.11, I thought I would post a quick note about running news on HP-UX
6.21 (hardware is HP 9000/3xx.)  This would be useful for the version
3 people if they don't already know it.  Starting with version 6.01 of
HP-UX, HP supported long filenames on NFS file systems and then on
version 6.21 they supported long filenames on local filesystems along
with symbolic links.  However, they did it in their own incompatible
way - <sys/dir.h> has all the definitions for a USG-compatible short
filename system and <ndir.h> has the definitions for a long filename
system.  So, in order to get inews to work on my long filename HP
disks, I have to edit params.h so that it says:

#ifdef hpux
#include <ndir.h>
#else
#include <sys/dir.h>
#endif

in the section under the #ifdef READDIR.  Also, as of 2.11.17 the
HP9K5 definitions are mostly useless, especially since the series 500
is a dead product line.  If you really are concerned about HP-isms,
use hpux or hp9000s300 or hp9000s500 or hp9000s800.  Only the 300 and
800 series are active products and the operating system features and
version numbering are supposed to merge around HP-UX version 7.01.

So, my basic plea is that the C News developers think about something
along this line for their release so I don't have to fight over it
when it gets here.  At least 2.11.17 finally included READDIR,
REANAMESUB and VFORK in the defs.dist file.

/Joe