🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Dominik Zimmermann Sat, 26 Sep 1992 21:59
How to write a newsreader ?
#3165
Author: Dominik Zimmermann
Date: Sat, 26 Sep 1992 21:59
9 lines
1275 bytes
As a semester-exercise for a unix course I have to write a very simpel newsreader.
Up to now I haven't been really into news and all that stuff. My problem is this:
The algorithm, wich searches the news-directories ( for example for creating the .newsrc-file ), takes about 5 min to do so, using opendir(), readdir() etc.
I don't think that's the optimum speed achievable, especially since other newsreaders are much faster.
I would be very happy about any advice on how to write an efficient algorithm as well as any comment that helps me to understand the whole thing.

Greetings

Dominik
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