Article View: news.software.readers
Article #254595Re: Linux newsreader that can search newsserver by Message-ID?
From: Whiskers
Date: Tue, 21 May 2013 21:51
Date: Tue, 21 May 2013 21:51
64 lines
4125 bytes
4125 bytes
On 2013-05-21, Mike Easter <MikeE@ster.invalid> wrote: > 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. I haven't configured Lynx to do anything with 'authentication' over NNTP; if the upstream server asks for a username and password, Lynx asks me. [...] > 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. On my system, with the NNTPSERVER system variable identifying the default news-server (which happens to be my own local 'Leafnode'), the command #v+ $ lynx news:"<1l342q2.1sn44nt1hsvttmN%snipe@spambin.fsnet.co.uk>" #v- does it all (so long as the article identified is still in the server's spool, of course). I seldom need to do that, because slrn has its own command (Esc l) to achieve the same result. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Technical Details
Message-ID:
<slrnkpnr3p.etv.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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.62.100.242.MISMATCH!newsfeed.kamp.net!newsfeed.kamp.net!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> <b019n5Fqqf9U1@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnkpnr3p.etv.catwheezel@ID-107770.user.individual.net> Subject: Re: Linux newsreader that can search newsserver by Message-ID? Date: Tue, 21 May 2013 22:51:53 +0100 From: Whiskers <catwheezel@operamail.com> 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> <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.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!195.62.100.242.MISMATCH!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 64 X-Trace: individual.net E843sz5e5jtgTD1TBXMX3gx/MUK+otzFeaJVauSDAe3x2r5F0N X-Orig-Path: tavy.mobile.private!not-for-mail Cancel-Lock: sha1:egmjC5jHh4VohaSwrS9Lkhl8854= X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/1.0.1 (Linux) X-Original-Bytes: 3792