🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5718

Object-oriented hooks for trn?

#5718
From: -- Spawn --
Date: Wed, 08 Sep 1993 03:32
49 lines
2660 bytes
I am considering writing a project for a software engineering class that
would basically involve putting an object oriented wrapper around trn.

What I'd like to do is to write in C++ or Objective-C. I am much more
familiar with Obj-C because of my NeXT experience. I want to be able to
do something like this:

	article =[ news_object get_article: article_number newsgroup: group ];

or the equivalent in (my extremely rusty) C++ 

	article =news_object.get_article(article_number,group);

My questions are :

	1: Is there an interest in something like this?

	The basic idea is to make it as easy as possible to write a
	front-end for news. I know that trn does good things like caching
	and maybe pre-fetching(?). I definitely don't want to reinvent the
	wheel. (If you've ever had a news server which had a NeXT client
	using NewsGrazer, you know how much nicer t/rn is on your CPU).

	2: Is there something like this in the works?

	For obvious reasons.

	3: How hard would this be?

	I have looked at the trn code some, but this is a one-term class,
	and I'd like to get the basics done in that time frame. I'd probably
	only make provisions for NNTP, and there would probably have to be
	several other limitations on the inital release, but of course I or
	other people could build on that.

	4: Are there other reasons this should/n't be done?

	Would it be better to use say nn, or some other news client as
	a base for my code(I really dislike tin)? Are there any major
	changes in the works for trn, news, NNTP, or something that I
	should be aware of?(I might even build on strn, which I am
	extremely fond of).


-- 
####  hubt@umich.edu -- Hubert Chen -- pgp key on request or via finger ####
The afterlife is so boring!  If I have to sing Cumbaya one more time I'll ...
 		-- Heather Chandler in _Heathers_
Technical Details
Message-ID: <26jjnr$3bg@stimpy.css.itd.umich.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!Germany.EU.net!mcsun!uknet!doc.ic.ac.uk!agate!howland.reston.ans.net!math.ohio-state.edu!caen!lsa.umich.edu!css.itd.umich.edu!stimpy.css.itd.umich.edu!hubt

Show Full Headers
Complete Article Headers
Message-ID: <26jjnr$3bg@stimpy.css.itd.umich.edu>
Subject: Object-oriented hooks for trn?
Date: Wed, 08 Sep 1993 03:32:11 +0000
From: hubt@css.itd.umich.edu (-- Spawn --)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!Germany.EU.net!mcsun!uknet!doc.ic.ac.uk!agate!howland.reston.ans.net!math.ohio-state.edu!caen!lsa.umich.edu!css.itd.umich.edu!stimpy.css.itd.umich.edu!hubt
Newsgroups: news.software.readers
Organization: University of Michigan ITD Consulting and Support Services
Lines: 49
Distribution: world
NNTP-Posting-Host: stimpy.css.itd.umich.edu
Keywords: trn,object-oriented