Article View: news.software.nntp
Article #68892Writing news reader ...
From: Dan Mocharnouk
Date: Thu, 01 Apr 2004 16:35
Date: Thu, 01 Apr 2004 16:35
53 lines
2464 bytes
2464 bytes
I am trying to do a project to write a toy news client. To write properly, I am doing hand experience by sending commands. I am trying a few news servers. On most of them I have successfully tried basic things like getting date article body, posting etc. On one of them I am having problem with post command. When I give a dot, it does not do anything. It just sits there. With that one when I say post followed immediately by a dot, it says incomplete. I have tried dot after one or more header and it says incomplete. But if I put message text and put dot, it does nothing. The following is help output from that server. If you want to know the server, send me an email. What is (GC 2.4.74) ? Is it a \r problem? I have tried to read the rfc and tried putting \r after every line of message text ie crlf but there is no success. ie have tried a bunch of possibilities with this one server w/o success. 200 News.myISP.Com AUTHINFO USER xxxxxxxxxxxxx 381 more authentication required AUTHINFO PASS xxxxxxxxxxxxx 281 news.myISPfeed.com help 100 help (GC 2.4.74) article [<messageid>|number] authinfo type value body [<messageid>|number] date group newsgroup head [<messageid>|number] help last list listgroup newsgroup mode reader newgroups yyyymmdd hhmmss [GMT] newnews newsgroups yyyymmdd hhmmss [GMT] next post stat xhdr field range xover range xpat field range pattern quit .. I am reading the .a libraries also. Ignorantly, Dan Mocharnouk
Technical Details
Message-ID:
<20040401153158435.MAN058994@techemail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!postnews2.google.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <20040401153158435.MAN058994@techemail.com> Subject: Writing news reader ... Date: Thu, 1 Apr 2004 08:35:37 PST From: gambler@techemail.com (Dan Mocharnouk) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-02!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!postnews2.google.com!not-for-mail Newsgroups: news.software.nntp Organization: groups.google.com X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Complaints-To: abuse@supernews.com Lines: 53