*BSD News Article 13455


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!usc!howland.reston.ans.net!gatech!ncar!csn!boulder!ucsu!rintintin.Colorado.EDU!galbrait
From: galbrait@rintintin.Colorado.EDU (GALBRAITH JOHN)
Subject: Re: cnews
Message-ID: <1993Mar28.001710.5222@ucsu.Colorado.EDU>
Sender: news@ucsu.Colorado.EDU (USENET News System)
Nntp-Posting-Host: rintintin.colorado.edu
Organization: University of Colorado, Boulder
References: <1p0652Ejc9@uni-erlangen.de>
Date: Sun, 28 Mar 1993 00:17:10 GMT
Lines: 37

In article <1p0652Ejc9@uni-erlangen.de> admerlev@cip.informatik.uni-erlangen.de (Arnd Merlevede) writes:
>Hi, anybody ported cnews yet?
>Thanx for any input.
>Arnd
>

I just did this.  I don't know if it has been done before or not
though.  It is actually pretty easy if you realize, like probably
everybody except me has, that /bin/sh doesn't usually work.  Get 
bash from somewhere and replace /bin/sh with bash and things
will go _much_ smoother.  
	There was a thread on this, I think in the development group,
that I got this idea from.

The other problem that I ran into is a missing ftime() call in the
386bsd os.  Again, I am pretty clueless about this issue and have
no idea what is really supposed to happen with this, but I just
rewrote the call using gettimeofday().  The ftime() structure is
located in /usr/include/sys/timeb.h.  I just wrote a simple function
to fill in that structure using the (newer?) structures for gettimeofday().

I am finally almost able to download news from school over my snail modem
(2400 baud) at night and read it at my leisure without waiting for 
the stupid modem all day.  I use term to redirect the nntp network port
to the server at school which does the actual download.

The Linux people who wrote much of this software (term and client
programs) were pretty cool about archiving this stuff.  I think
that it is amazing how much I can do at 2400 baud.

It would be pretty hard to just post the cnews binaries because
the install makes all kinds of directories and links as well.  However,
if anybody wants me to explain more about what I did let me know.

john
galbrait@rintintin.colorado.edu