Article View: news.software.readers
Article #10543Re: How to get the list of all newsgroups, TIN/TRN?
From: Sridhar Venkataraman
Date: Tue, 02 Aug 1994 13:36
Date: Tue, 02 Aug 1994 13:36
40 lines
2130 bytes
2130 bytes
winter@zeus.datasrv.co.il (4th Dimension) writes: | I'm using both TRN and TIN, both via NNTP. Is there a way to get | the list of all newsgroups into a file? I can do 'y' in tin, cut&paste | the page, type �F to next page, repeat, etc. Pretty tedious. | I have no direct access to the news machine. 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. | Please reply via e-mail. Mailed as well. But in future, please watch the group for solutions for a few days. Sridhar.
Technical Details
Message-ID:
<sridhar.02Aug94.060225@homecheese.eas.asu.edu>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!news.onramp.net!convex!cs.utexas.edu!howland.reston.ans.net!gatech!asuvax!ennews!n-f-mReferences:
<1994Aug2.054606.1897@news.datasrv.co.il>Show Full Headers
Complete Article Headers
Message-ID: <sridhar.02Aug94.060225@homecheese.eas.asu.edu> Subject: Re: How to get the list of all newsgroups, TIN/TRN? Date: Tue, 2 Aug 1994 13:36:14 GMT From: sridhar@asuvax.eas.asu.edu (Sridhar Venkataraman) References: <1994Aug2.054606.1897@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!news.onramp.net!convex!cs.utexas.edu!howland.reston.ans.net!gatech!asuvax!ennews!n-f-m Newsgroups: news.software.readers Sender: news@ennews.eas.asu.edu (USENET News System) Nntp-Posting-Host: homecheese.eas.asu.edu Organization: Arizona State University, Tempe AZ Lines: 40