Re: Where should groups.dat be located?

Patrick Shanahan <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Ptilopteri in Pandemonium
Message-ID <[email protected]>
* Larry Alkoff <[email protected]> [06-06-07 14:08]:
> I'm using slrn and slrnpull and have spent several days configuring them.
> 
> When I get the list of groups, I see them in the slrn window, subscribe 
> to a group, then quit slrn.
> The list of groups doesn't appear next time I start slrn, probably 
> because the groups.dat file is in the wrong location.  Groups.dat and 
> groups.dat.time are being put in /usr/local/bin where the script below runs.
> 
> 
> To get the list of groups I first make sure
> set write_newsrc_flags 0
> is in ~/.slrnrc
> 
> and then issus
> slrn --nntp -h news.west.earthlink.net -a -f groups.dat --create
> 
> which should start slrn and download the groups and put them in the file 
> groups.dat.
> 
> I presume that the '-f groups.dat' should have a path but have no idea 
> what the path should be.

man slrn

14:31 wahoo:~ > slrn --help
Usage: slrn [--inews] [--nntp ...] [--spool] OPTIONS
-a              Use active file for getting new news.
-f newsrc-file  Name of the newsrc file to use.
-C[-]           [Do not] use colors.
-Dname          Add 'name' to list of predefined preprocessing tokens.
-d              Get new text descriptions of each group from server.
                 Note: This may take a LONG time to retrieve this information.
                 The resulting file can be several hundred Kilobytes!
-i init-file    Name of initialization file to use (default: .slrnrc)
-k              Do not process score file.
-k0             Process score file but inhibit expensive scores.
-m              Force XTerm mouse reporting
-n              Do not check for new groups.  This usually results in
                 a faster startup.
-w              Wait for key before switching to full screen mode
-w0             Wait for key (only when warnings / errors occur)
--create        Create a newsrc file by getting list of groups from server.
--debug FILE    Write debugging information to FILE
--help          Print this usage.
--kill-log FILE Keep a log of all killed articles in FILE
--version       Show version and supported features

NNTP mode has additional options; use "slrn --nntp --help" to display them.



14:34 wahoo:~ > env | grep -i nntp
NNTPSERVER=news-server.indy.rr.com

slrn -f ~/.newsrc -i ~/.slrnrc -C -h news-server.indy.rr.com --create

then

slrn -f ~/.rrnewsrc -i ~/.slrnrc -C -h news-server.indy.rr.com


Note the paths.
If this example doesn't help, ask again.

-- 
Patrick Shanahan         Plainfield, Indiana, USA        HOG # US1244711
http://wahoo.no-ip.org     Photo Album:  http://wahoo.no-ip.org/gallery2
OpenSUSE Linux                                   http://en.opensuse.org/
Registered Linux User #207535                    @ http://counter.li.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.