Article View: news.software.readers
Article #10612SUMMARY: How to get the list of all newsgroups, TIN/TRN?
From: 4th Dimension
Date: Thu, 04 Aug 1994 15:13
Date: Thu, 04 Aug 1994 15:13
77 lines
3519 bytes
3519 bytes
Recently I asked how I can retrieve the list of all newsgroups, from within TIN or TRN. Both are using NNTP. The simplest response came from John Red-Horse <jrredho@universe.digex.net>: >> Since you're using nntp, is there a technical reason not to do this via >> the nntp server directly? >> >> For my version of nntp, I did the following: >> >> $ telnet �my-nntp-server� nntp > active.groups >> list active >> quit >> >> Note that all nntp prompts will also be written to the specified file. Other responses: 1. From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman) >> trn specific solutions (I don't use tin): >> >> Since you mention NNTP, it should be simple enough. Once inside trn, >> at any prompt check what the following sequence produces: >> >> !more %P/rrnact.%$ >> >> The above is just a command "!more <public spool dir>/<active file for >> your process>". >> >> Once you find your process no. and the file, suspend your trn process >> and copy that file and use it in whatever way you want (with >> sed/awk/perl to pick the first field). >> >> The following is an alternative solution (much better): >> >> Check what %X yields inside trn (you can use /<esc>X to find out >> this directory of trn library). Then from the shell use >> >> �t�csh> <trn library dir>/getactive >> >> Use the option of "active" or "newsgroups" to get the active file or >> descriptions. >> >> If you want to know more on the % interpolation, use the manpage or >> use "<esc>h" inside trn. 2. From: Michael Castle <mcastle@umr.edu> >> A list of all newsgroups is regularly posted to one of the news.* >> groups. I think the group is news.groups but it may also be >> listed in news.newusers.questions. 3. From: Michael.Bergman@eua.ericsson.se (Michael Bergman) >> Tin-specific (1.22) solution: >> >> 1. Make sure you don't have a ~/.newsrc, i.e. delete it or mv it. >> 2. Start tin. >> >> That's it. It will read all the active groups into a new ~/.newsrc >> and you can the sort this or whatever. >> >> (The normal way of starting with tin "from scratch" would be to start >> with an empty, i.e. 0 bytes, ~/.newsrc. Tin will start up totally empty >> and then you can 'y' and start subscribing. It won't save all groups >> in as when you start without a .newsrc.) 4. In addition, thanks to the following people for their answers: Mark McLeod <mmcleod@clark.net> -- /* Amir J. Katz email: winter@datasrv.co.il */ /* 4th Dimension Software, LTD., Tel-Aviv, ISRAEL */ /* If you melt dry ice in a pool and go swimming, do you get wet? */ /* ... (Steven Wright) */
Technical Details
Message-ID:
<1994Aug4.151313.8433@news.datasrv.co.il>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!bga.com!news.sprintlink.net!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!howland.reston.ans.net!newsserver.jvnc.net!nntp.gmd.de!dearn!barilvm!news.datasrv.co.il!zeus.datasrv.co.il!winterShow Full Headers
Complete Article Headers
Message-ID: <1994Aug4.151313.8433@news.datasrv.co.il> Subject: SUMMARY: How to get the list of all newsgroups, TIN/TRN? Date: Thu, 4 Aug 1994 15:13:13 GMT From: winter@zeus.datasrv.co.il (4th Dimension) 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!bga.com!news.sprintlink.net!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!howland.reston.ans.net!newsserver.jvnc.net!nntp.gmd.de!dearn!barilvm!news.datasrv.co.il!zeus.datasrv.co.il!winter Newsgroups: news.software.readers Sender: usenet@news.datasrv.co.il (usenet) Organization: 4th Dimension Software Lines: 77