Thread View: news.software.nntp
6 messages
6 total messages
Started by State Of Independence
Fri, 02 Jul 2004 03:05
Java Newsreaders
Author: State Of Independence
Date: Fri, 02 Jul 2004 03:05
Date: Fri, 02 Jul 2004 03:05
10 lines
1357 bytes
1357 bytes
Does anybody have any idea why there are not any java newsreaders? I went to the (obviously not very updated) site http://www.newsreaders.com where they list some java newsreaders, but most of the links are dead, while the links that still work have software that's not ready or available and/or is years out of date. Are there technical/practical reasons why a NNTP client cannot be written in java? It seems to me that it would be a useful - and crossplatform - tool, but I am not an expert on this kind of thing.
Re: Java Newsreaders
Author: Jeffrey M. Vinocur
Date: Fri, 02 Jul 2004 22:38
Date: Fri, 02 Jul 2004 22:38
20 lines
1662 bytes
1662 bytes
In article <bd1ebacd809d4fe04265729ce05f7178@news.teranews.com>, State Of Independence <no@thanks> wrote: >Does anybody have any idea why there are not any java newsreaders? Probably a combination of most newsreaders being old (or at least based in part on old code) whereas Java is relatively new, and the fact that all in all network clients in general (web browsers, email readers, and so on) are not often written in Java. >Are there technical/practical reasons why a NNTP client cannot be >written in java? Not particularly. -- Jeffrey M. Vinocur jeff@litech.org
Re: Java Newsreaders
Author: bobyetman
Date: Sat, 03 Jul 2004 11:19
Date: Sat, 03 Jul 2004 11:19
21 lines
2046 bytes
2046 bytes
Nope, there's no technical reason, I'm using a home-brewed Java newsreader to reply to this. I'm not ready to share it with the world yet, it still has some bugs in the threading department. > On Fri, 2 Jul 2004 22:38:20 +0000 (UTC) jeff@litech.org (Jeffrey M. Vinocur) said: > In article <bd1ebacd809d4fe04265729ce05f7178@news.teranews.com>, > State Of Independence <no@thanks> wrote: >>Does anybody have any idea why there are not any java newsreaders? > Probably a combination of most newsreaders being old (or at least > based in part on old code) whereas Java is relatively new, and > the fact that all in all network clients in general (web > browsers, email readers, and so on) are not often written in > Java. >>Are there technical/practical reasons why a NNTP client cannot be >>written in java? > Not particularly. -- Bob Yetman(bobyetman@comcast.net)
Re: Java Newsreaders
Author: State Of Independence
Date: Mon, 05 Jul 2004 02:26
Date: Mon, 05 Jul 2004 02:26
24 lines
2221 bytes
2221 bytes
On Sat, 03 Jul 2004 06:19:54 -0500, bobyetman@comcast.net wrote: >Nope, there's no technical reason, I'm using a home-brewed Java newsreader to >reply to this. I'm not ready to share it with the world yet, it still has some bugs >in the threading department. Thanks for the answers, Jeffery and Bob. Bob, are you a Java programmer and/or very experienced with it, or would it be relatively easy to learn to make a simple newsreader (for private use) for people new to Java? Are there any sites that might help? >> On Fri, 2 Jul 2004 22:38:20 +0000 (UTC) jeff@litech.org (Jeffrey M. Vinocur) said: >> In article <bd1ebacd809d4fe04265729ce05f7178@news.teranews.com>, >> State Of Independence <no@thanks> wrote: >>>Does anybody have any idea why there are not any java newsreaders? >> Probably a combination of most newsreaders being old (or at least >> based in part on old code) whereas Java is relatively new, and >> the fact that all in all network clients in general (web >> browsers, email readers, and so on) are not often written in >> Java. >>>Are there technical/practical reasons why a NNTP client cannot be >>>written in java? >> Not particularly.
Re: Java Newsreaders
Author: Alan Connor
Date: Mon, 05 Jul 2004 05:21
Date: Mon, 05 Jul 2004 05:21
30 lines
2444 bytes
2444 bytes
On Mon, 05 Jul 2004 02:26:14 GMT, State Of Independence <no@thanks> wrote: > > > On Sat, 03 Jul 2004 06:19:54 -0500, bobyetman@comcast.net wrote: > >>Nope, there's no technical reason, I'm using a home-brewed Java newsreader to >>reply to this. I'm not ready to share it with the world yet, it still has some bugs >>in the threading department. > > Thanks for the answers, Jeffery and Bob. Bob, are you a Java > programmer and/or very experienced with it, or would it be relatively > easy to learn to make a simple newsreader (for private use) for people > new to Java? Are there any sites that might help? > It's a lot simpler than you think. Java is just another programming language and the NNTP protocol is not particularly complex. There are newsreaders written in bash, for example, a shell scripting language. You just have to establish a TCP connection with the server (with bash, using /dev/tcp/serverIP/119, or a simple TCP tool like netcat) and then send basic commands to the server, saving the responses, most of which are the headers and bodies of the retrieved posts. For a description of the protocol and a list of these commands, see RFC 977 and RFC 2980. AC
Re: Java Newsreaders
Author: bobyetman
Date: Mon, 05 Jul 2004 12:40
Date: Mon, 05 Jul 2004 12:40
35 lines
2913 bytes
2913 bytes
When I wrote my reader, I had about a year of Java under my belt, but
20+ years of programming in general, so I would call myself experienced.
There's 2 parts to this: 1. the nntp commands to get articles, etc.
2. The GUI part of it to display the articles, etc.
Nr1 is not hard, as long as you adhere to the standards.
See http://www.ietf.org/ids.by.wg/usefor.html &
http://www.landfield.com/userfor for all the details.
See also the following sites for hints, etc:
http://www.xs4all.nl/~js/gnksa/gnksa.txt
http://www.newsreaders.com/misc/twpierce/news/newsreader-manifesto.html
By far the hardest part for me, and something I still haven't got quite right is the
proper threading of the articles. Read:
http://www.jwz.org/doc/threading.html
http://www.ieft.org/internet-drafts/draft-ietf-imapext-thread-12.txt
Nr2 can be easy to hard, depending on how much you know about Swing, or
how fancy your gui gets. There's a lot of tutorials, etc on this. Good luck
and have fun.
> On Mon, 05 Jul 2004 02:26:14 GMT State Of Independence <no@thanks> said:
> On Sat, 03 Jul 2004 06:19:54 -0500, bobyetman@comcast.net wrote:
>>Nope, there's no technical reason, I'm using a home-brewed Java newsreader to
>>reply to this. I'm not ready to share it with the world yet, it still has some bugs
>>in the threading department.
> Thanks for the answers, Jeffery and Bob. Bob, are you a Java
> programmer and/or very experienced with it, or would it be relatively
> easy to learn to make a simple newsreader (for private use) for people
> new to Java? Are there any sites that might help?
--
Bob Yetman(bobyetman@comcast.net)
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