[comp.os.minix] UUPC, etc

bill@chinet.chi.il.us (Bill Mitchell) (08/06/89)

Well, I've blown another weekend trying to get UUPC up.

Thanks to Peter Housel for posting it in the first place
Thanks to Thos Sumner who put me on the trail of dirent.h in the archives.
Thanks to Richard Todd for some more hints on where to find it.
Thanks to Glen Overby for the Minix Info Sheet with info about the Mars Hotel
Thanks to James de Silva for operating the Mars Hotel

I downloaded archive MNX8712C.ARC from Mars.  It contains dirent.h
as part of a PD tar.  Dirent.h is listed below.


/*
	<dirent.h> -- definitions for SVR3 directory access routines

	last edit:	25-Apr-1987	D A Gwyn

	Prerequisite:	<sys/types.h>
*/

#include	<sys/dirent.h>

#define	DIRBUF		2048		/* buffer size for fs-indep. dirs */
	/* must in general be larger than the filesystem buffer size */

typedef struct
	{
	int	dd_fd;			/* file descriptor */
	int	dd_loc;			/* offset in block */
	int	dd_size;		/* amount of valid data */
	char	*dd_buf;		/* -> directory block */
	}	DIR;			/* stream data from opendir() */

extern DIR		*opendir();
extern struct dirent	*readdir();
extern off_t		telldir();
extern void		seekdir();
extern void		rewinddir();
extern int		closedir();

#ifndef NULL
#define	NULL	0			/* DAG -- added for convenience */
#endif

Unfortunately, <dirent.h> #includes <sys/dirent.h>, which was not present.

Can anyone please send me a copy of sys/dirent.h or let me know where
I can find it?

Can anyone please let me know if there are more gotchas beyond this
before I might finally be able to get UUPC up under PH Minix 1.3?

Is anyone but me interested in trying to put together some more effective
means of accessing contributed software than spending great gobs of time
running up huge phone bills dialing all over the country downloading
stuff from BBS systems in hopes of finding what might be needed?  I
guess those with net access from a university or employer's computer
might have it easier, or perhaps there's a better way which I haven't
discovered yet.

How about something like the various shareware/freeware distribution
houses?  Someone maintains a store of stuff and mails it out for
$5 a disk or so.  I'd gladly have paid $5 for a disk with ALL the stuff
for UUPC on it.  I've certainly spent many times $5 worth of time
trying to track down the missing pieces needed to get it up under
my vanilla PH Minix 1.3.  I'd maintain the store and do the mailing
if I had some way of getting stuff into the store in the first place.
My experience so far with UUPC indicates that I don't.


Comments?