🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Chris Cuilla Tue, 01 Feb 1994 20:03
Writing a NNTP news reader...
#2395
Author: Chris Cuilla
Date: Tue, 01 Feb 1994 20:03
16 lines
1357 bytes
So...if I was thinking about writing a news reader, it appears that these  
might be the groups to keep an eye on for tips.  Am I correct?

First question might be...how to get started?  I guess I need some code to  
connect to and deal with an NNTP server (how am I doin' so fer?)  Is there  
anything like this that can get me started?

Thanks!

--
Chris Cuilla
---
NEXTSTEP Developer
chris@its.com
---------------------------------------------------------------------
"There's no such thing as a 'part-time' perfectionist."
Re: Writing a NNTP news reader...
#2401
Author: Tom Limoncelli
Date: Thu, 03 Feb 1994 00:11
37 lines
2683 bytes
In <1994Feb1.200332.693@il.us.swissbank.com> chris@its.com (Chris Cuilla) writes:

>So...if I was thinking about writing a news reader, it appears that these  
>might be the groups to keep an eye on for tips.  Am I correct?

Actually, most of the news.software groups would be useful to read.

>First question might be...how to get started?  I guess I need some code to  
>connect to and deal with an NNTP server (how am I doin' so fer?)  Is there  
>anything like this that can get me started?

Well, read the RFC's for NNTP and netnews.  If you link to libinn.a
(documented in the innlib man page) you don't need to learn anything
about TCP connections, etc.

The MOST IMPORTANT THING to remember when writing a newsreader: Write
as little code as possible.  Use the libinn.a routines to their
fullest, so that improvements to libinn.a will improve your
newsreader.  When posting to a NNTP server, the server will generate a
default header for any header you leave out (except From:, Subject: and
Newsgroups:).  So, don't waste any time generating (for example) a
Path: header.  You risk generating one that is wrong.  If you are
lazy and don't write any code you will end up with a BETTER posting
mechanism because the server ALWAYS generates the right headers!

The "market" is flooded with newsreaders but writing a newsreader is a
good exercize for someone learning to write user interfaces, etc.
You might want to to invent some feature that nobody has ever
done before.

Tom

-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Psst!  Hey, Anthony!  Y'know what I        | Disclaimer:  I do not
like about existing?"  "Uh... uh... what?"  | speak for Mentor Graphics.
"Possessing a physical extension."  -TSA    |
Re: Writing a NNTP news reader...
#2411
Author: tcollins
Date: Sat, 05 Feb 1994 09:42
20 lines
1964 bytes
In article <CKo96y.DE2@cmutual.com.au>, <MHammond@cmutual.com.au> writes:
> Sam works on the WinVN news reader - as far as we know, the only Windows
> newsreader with source.  Currently, we are also looking at building
> a bigger and better free newsreader.
> 
> Of course, this info only helps if you are building for Ms-Windows...
> 
> Mail Sam or me, and we can give you more details, and FTP sites for them.

Dear Mark,
     It would be wonderful if you and Sam would make your newsreader a 
newserver/reader. By that I mean, I would like to have a system that would grab 
all of the new messages in selected newsgroups while I am connected via SLIP, 
let me disconnect and read and reply to those messages at my leisure before 
reconnecting, passing on my replies and accepting the new messages. As more and 
more Internet providers begin to charge by the hour I can't help but believe 
there will be more and more people looking for a Windows nntp/winsock compliant 
program with these features.
                                    Traci
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