Re: Where should groups.dat be located?
Larry Alkoff <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
Patrick Shanahan wrote: > * 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. > Thanks for the help Patrick. I have sucessfully created a ~/.newsrc from your --create line above and subscribed to a single newsgroup. A nice step forward. What does the second line containing 'rrnewsrc' do? From my reading, the next step would be to get the headers for which I have customized a 'slrnpull.sh' script from someone else. Would you please give it a sanity check? #!/bin/sh # I run this file from cron every night to pull a few newsgroups from my # news server. It does the following: # # 1. Runs slrnpull in expire mode to expire old articles # 2. Starts up ppp via a ppp-on script (not provided) # 3. Runs slrnpull to grab articles from the server # 4. Turns off ppp via a ppp-off script (not provided) dir=/var/spool/slrnpull/news server=news.west.earthlink.net # I'm not sure what to put in the next line: # ?? slrnpull=/home/john/src/slrn/src/objs/slrnpull umask 022 # Before getting new articles, perform expiration. $slrnpull -d $dir --expire # I don't think this last line is working and don't understand 'perform expiration'. Will I die? Larry -- Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux ------------------------------------------------------------------------- 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/