Article View: news.software.readers
Article #254561Re: Linux newsreader that can search newsserver by Message-ID?
From: Mike Easter
Date: Tue, 21 May 2013 13:04
Date: Tue, 21 May 2013 13:04
71 lines
4280 bytes
4280 bytes
Whiskers wrote: > Mike Easter >> Whiskers wrote: >> >>> The most direct method is to fire up your telnet client and use it to log >>> in to your news-server, then issue the ARTICLE command; eg (you may need >>> the AUTHINFO USER username and AUTHINFO PASS password commands to log in): >> How would one write a (bash) script that would contain user/pass for >> server authentication (for a general/net server, not personal server) >> and then pause for pasting in the MID so that the message result would >> then be/get pasted into some editor such as gedit and/or perhaps saved >> as a .nws file? Somewhere I read that doing it, an nntp session, with Python might be easier. > Lynx is very handy for scripting, and can handle news: and nntp:// URLs; it > will even prompt you for login details if necessary :)) (It isn't the > world's best tool for reading and posting to newsgroups, although it can). > > Try > > #v+ > $ lynx nntp://news.individual.net/"<1l342q2.1sn44nt1hsvttmN%snipe@spambin.fsnet.co.uk>" > #v- > > from a command prompt, if you have Lynx installed and an active account > with Individual.net. I installed lynx and I can see where to configure a default news server, but I can't see how to handle/configure/automate the authentication for nntp, just something like ftp. In Win, MS configured a handy little integration between IE and OE. If one uses the syntax news:mid (in which mid is without angle brackets) into the IE address line, then IE will call OE to log into its configured default news server and fetch the article with the article command, which OE puts into angles. Here is a log session for OE NNTP Log started at 05/21/2013 05:48:02 NNTP: 05:48:02 [db] Connecting to 'news.eternal-september.org' on port 119. NNTP: 05:48:02 [rx] 200 news.eternal-september.org InterNetNews NNRP server INN 2.6.0 (20130210 snapshot) ready (posting ok) NNTP: 05:48:02 [tx] MODE READER NNTP: 05:48:02 [rx] 200 news.eternal-september.org InterNetNews NNRP server INN 2.6.0 (20130210 snapshot) ready (posting ok) NNTP: 05:48:02 [tx] AUTHINFO USER munged NNTP: 05:48:03 [rx] 381 Enter password NNTP: 05:48:03 [tx] AUTHINFO PASS ******** NNTP: 05:48:03 [rx] 281 Authentication succeeded NNTP: 05:48:03 [tx] ARTICLE <avvifjFfmc0U1@mid.individual.net> NNTP: 05:48:04 [rx] 220 0 <avvifjFfmc0U1@mid.individual.net> article NNTP: 05:48:04 [db] Connection to 'news.eternal-september.org' closed. The most likely way I would use lynx would be to configure it for a news server, hopefully be able to configure for a user/pass, then open it with a lynx command and then input the nntp URL with the article. But if I can't configure lynx with a user/pass, I think I would rather learn how to write a .py. -- Mike Easter
Technical Details
Message-ID:
<b019n5Fqqf9U1@mid.individual.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<1l342q2.1sn44nt1hsvttmN%snipe@spambin.fsnet.co.uk> <slrnkphv0h.s4.catwheezel@ID-107770.user.individual.net> <1l34ph8.1r509uy1l3modrN%snipe@spambin.fsnet.co.uk> <slrnkpig57.s4.catwheezel@ID-107770.user.individual.net> <avvifjFfmc0U1@mid.individual.net> <slrnkpla6q.94u.catwheezel@ID-107770.user.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <b019n5Fqqf9U1@mid.individual.net> Subject: Re: Linux newsreader that can search newsserver by Message-ID? Date: Tue, 21 May 2013 06:04:48 -0700 From: Mike Easter <MikeE@ster.invalid> References: <1l342q2.1sn44nt1hsvttmN%snipe@spambin.fsnet.co.uk> <slrnkphv0h.s4.catwheezel@ID-107770.user.individual.net> <1l34ph8.1r509uy1l3modrN%snipe@spambin.fsnet.co.uk> <slrnkpig57.s4.catwheezel@ID-107770.user.individual.net> <avvifjFfmc0U1@mid.individual.net> <slrnkpla6q.94u.catwheezel@ID-107770.user.individual.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 71 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net HqKk/7gq+KRVCAILUOKIfQ6DkB4R6/O0RrlP7X39JWoER9t4PR Cancel-Lock: sha1:RcWGTAtKggIpM1NiLtRZ8LwLZhk= User-Agent: Mozilla/5.0 (X11; Linux i686; In-Reply-To: <slrnkpla6q.94u.catwheezel@ID-107770.user.individual.net> X-Original-Bytes: 4096