Thread View: news.software.readers
11 messages
11 total messages
Started by Pascal A. Dupuis
Tue, 15 Jul 1997 00:00
slrn : global group description file ?
Author: Pascal A. Dupuis
Date: Tue, 15 Jul 1997 00:00
Date: Tue, 15 Jul 1997 00:00
17 lines
1131 bytes
1131 bytes
slrn -d creates a group description file in the user's home dir.
From src/group.c, its name is derived from the Slrn_Newsrc_File.
Is is possible to have this file (.jnewrc.dsc on *nix system) live
elsewhere (readable for every user f.i.), and refreshed from time
to time by the sysadmin ?
Thanks
Pascal A. Dupuis
--
* To get the real E-Mail adress, remove the word "not-for-bot."
* One-Shot Case Study, n.:
The scientific equivalent of the four-leaf clover, from which
it is concluded all clovers possess four leaves and are sometimes
green.
Re: slrn : global group description file ?
Author: Sven Guckes
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
23 lines
1623 bytes
1623 bytes
dupuis@not-for-bot.lei.ucl.ac.be (Pascal A. Dupuis): > slrn -d creates a group description file in the user's home dir. > From src/group.c, its name is derived from the Slrn_Newsrc_File. > Is is possible to have this file (.jnewrc.dsc on *nix system) live elsewhere > (readable for every user), and refreshed from time to time by the sysadmin ? Yes, why not? Added to the wishlist: http://www.math.fu-berlin.de/~guckes/slrn/wish.html#file_description I think I'll post the wishlist here in news.software.readers - please let me know of additions and errors! Sven -- Sven Guckes guckes@math.fu-berlin.de using SLRN 0.9.4.3 [970714] SLRN Pages: http://www.math.fu-berlin.de/~guckes/slrn/ 0.9.4.3 [970714] SLRN Wishlist: http://www.math.fu-berlin.de/~guckes/slrn/wish.html SLRN Author: http://space.mit.edu/~davis/slrn.html John E. Davis aka JED
Re: slrn : global group description file ?
Author: Drazen Kacar
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
23 lines
1811 bytes
1811 bytes
Sven Guckes wrote:
> dupuis@not-for-bot.lei.ucl.ac.be (Pascal A. Dupuis):
> > slrn -d creates a group description file in the user's home dir.
> > From src/group.c, its name is derived from the Slrn_Newsrc_File.
> > Is is possible to have this file (.jnewrc.dsc on *nix system) live elsewhere
> > (readable for every user), and refreshed from time to time by the sysadmin ?
>
> Yes, why not? Added to the wishlist:
>
> http://www.math.fu-berlin.de/~guckes/slrn/wish.html#file_description
It works fine with /usr/local/lib/slrn/newsrc.dsc for me.
Slrn tries to locate newsgroup descriptions with several file names in
its lib directory. IIRC, newsrc.dsc is the first one. Use the source, Luke. :)
--
.-. .-. Life is a sexually transmitted disease.
(_ \ / _)
| dave@srce.hr
| dave@fly.cc.fer.hr
Re: slrn : global group description file ?
Author: Heikki Kantola
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
18 lines
1354 bytes
1354 bytes
According to dupuis@not-for-bot.lei.ucl.ac.be (Pascal A. Dupuis): > slrn -d creates a group description file in the user's home dir. > From src/group.c, its name is derived from the Slrn_Newsrc_File. > Is is possible to have this file (.jnewrc.dsc on *nix system) live > elsewhere (readable for every user f.i.), and refreshed from time > to time by the sysadmin ? Yes, Slrn looks for $(SLRN_LIB_DIR)/newsgroups.dsc for system-wide newsgroup listing. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: slrn : global group description file ?
Author: Byrial Jensen
Date: Wed, 16 Jul 1997 00:00
Date: Wed, 16 Jul 1997 00:00
11 lines
850 bytes
850 bytes
Pascal A. Dupuis <dupuis@not-for-bot.lei.ucl.ac.be> wrote: >Is is possible to have this file (.jnewrc.dsc on *nix system) live >elsewhere (readable for every user f.i.), and refreshed from time >to time by the sysadmin ? Yes. For details see the file doc/INSTALL in the slrn package. - Byrial
Re: slrn : global group description file ?
Author: Pascal A. Dupuis
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
23 lines
1566 bytes
1566 bytes
Thus spake Drazen Kacar on news.software.readers
>Sven Guckes wrote:
>It works fine with /usr/local/lib/slrn/newsrc.dsc for me.
>Slrn tries to locate newsgroup descriptions with several file names in
>its lib directory. IIRC, newsrc.dsc is the first one. Use the source, Luke. :)
>
There is a dark side in the source, as I tried in /usr/local/lib/slrn:
newrc.dsc newsgroups.dsc slrn.dsc
None of them work. With a .jnewrc.dsc in the home dir, slrn fires up in
two seconds. Without the aformentioned files, it needs 20 seconds, and no
description availables. John ?
Pascal "Luke" Dupuis
--
* To get the real E-Mail adress, remove the word "not-for-bot."
* One-Shot Case Study, n.:
The scientific equivalent of the four-leaf clover, from which
it is concluded all clovers possess four leaves and are sometimes
green.
Re: slrn : global group description file ?
Author: Drazen Kacar
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
25 lines
2030 bytes
2030 bytes
Pascal A. Dupuis wrote:
> Thus spake Drazen Kacar on news.software.readers
> >It works fine with /usr/local/lib/slrn/newsrc.dsc for me.
> >Slrn tries to locate newsgroup descriptions with several file names in
> >its lib directory. IIRC, newsrc.dsc is the first one. Use the source, Luke. :)
> >
> There is a dark side in the source, as I tried in /usr/local/lib/slrn:
> newrc.dsc newsgroups.dsc slrn.dsc
> None of them work. With a .jnewrc.dsc in the home dir, slrn fires up in
> two seconds. Without the aformentioned files, it needs 20 seconds, and no
> description availables. John ?
It looks like different versions search for different file name.
0.9.4.3 works with newsgroups.dsc on Solaris, at least. Could it be that the
file permissions for your newsgroups.dsc have gone to the dark side?
--
.-. .-. Life is a sexually transmitted disease.
(_ \ / _)
| dave@srce.hr
| dave@fly.cc.fer.hr
Re: slrn : global group description file ?
Author: Ingmar Hupp
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
16 lines
1210 bytes
1210 bytes
On 18 Jul 1997 14:24:42 GMT, Pascal A. Dupuis <dupuis@not-for-bot.lei.ucl.ac.be> wrote: >There is a dark side in the source, as I tried in /usr/local/lib/slrn: >newrc.dsc newsgroups.dsc slrn.dsc >None of them work. With a .jnewrc.dsc in the home dir, slrn fires up in >two seconds. Without the aformentioned files, it needs 20 seconds, and no >description availables. John ? Have you set SLRN_LIB_DIR to the directory containing the File (/usr/local/lib/slrn in your case)? -- Ingmar
Re: slrn : global group description file ?
Author: Jim Irwin
Date: Sat, 19 Jul 1997 00:00
Date: Sat, 19 Jul 1997 00:00
35 lines
2198 bytes
2198 bytes
On 18 Jul 1997 18:17:03 GMT, Ingmar Hupp <hyper@mignon.mayn.de> wrote: >On 18 Jul 1997 14:24:42 GMT, Pascal A. Dupuis <dupuis@not-for-bot.lei.ucl.ac.be> wrote: > >>There is a dark side in the source, as I tried in /usr/local/lib/slrn: >>newrc.dsc newsgroups.dsc slrn.dsc >>None of them work. With a .jnewrc.dsc in the home dir, slrn fires up in >>two seconds. Without the aformentioned files, it needs 20 seconds, and no >>description availables. John ? > >Have you set SLRN_LIB_DIR to the directory containing the File >(/usr/local/lib/slrn in your case)? > Just one observation. Prior to using slrn, I had been using tin and my newsgroups file had been in /usr/lib/news/newsgroups. I copied this file to /usr/local/lib/slrn/newsgroups.dsc thinking that this would make the descriptions available to slrn but it didn't work. So I ran slrn -d once. This created .jnewsrc.dsc (or whatever the exact name was) in my home directory. I then moved this file to /usr/local/lib/slrn/ newsgroups.dsc and the deed was done. The two files had different formats, tin's newsgroups file having the form: group.name <a bunch of tabs> group description while the slrn newsgroups.dsc file has the form: group.name:group description If you have been trying to use an existing newsgroups file, then try this. -- Jim Irwin <jirwin@mail.netshop.net> running (..um..walking) Linux 2.0.30
Re: slrn : global group description file ?
Author: Heikki Kantola
Date: Mon, 21 Jul 1997 00:00
Date: Mon, 21 Jul 1997 00:00
41 lines
2640 bytes
2640 bytes
Jim Irwin <jirwin@mail.netshop.net> informed news.software.readers with the following: >Just one observation. Prior to using slrn, I had been using tin and my >newsgroups file had been in /usr/lib/news/newsgroups. I copied this >file to /usr/local/lib/slrn/newsgroups.dsc thinking that this would >make the descriptions available to slrn but it didn't work. So I ran >slrn -d once. This created .jnewsrc.dsc (or whatever the exact name was) >in my home directory. I then moved this file to /usr/local/lib/slrn/ >newsgroups.dsc and the deed was done. The two files had different >formats, tin's newsgroups file having the form: >group.name <a bunch of tabs> group description > >while the slrn newsgroups.dsc file has the form: >group.name:group description > >If you have been trying to use an existing newsgroups file, then >try this. If you want to utilize that existing newsgroups-file it's fairly simple to change it into Slrn's preferred format. I've had following in my crontab for quite some time and it appears to work fine: 55 * * * * umask 022; if (/usr/local/contrib/gnu/bin/test /usr/local/lib/news/newsgroups -nt /usr/local/contrib/lib/slrn/ newsgroups.dsc) then /usr/local/bin/perl -pe 's/^(\S+)\s*(.+)$/$1:$2/' /usr/local/lib/news/newsgroups >/usr/local/contrib/lib/slrn/newsgroups.dsc; fi (It should be one-liner. Alter the paths to suit your needs. The GNU test invocation I've used on first line is just there because I've used it on digital UNIX where /bin/test is so lame that it lacks "-nt" option...) -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: slrn : global group description file ?
Author: Pascal A. Dupuis
Date: Tue, 22 Jul 1997 00:00
Date: Tue, 22 Jul 1997 00:00
38 lines
2386 bytes
2386 bytes
Thus spake Jim Irwin on news.software.readers
>On 18 Jul 1997 18:17:03 GMT, Ingmar Hupp <hyper@mignon.mayn.de> wrote:
>>On 18 Jul 1997 14:24:42 GMT, Pascal A. Dupuis <dupuis@not-for-bot.lei.ucl.ac.be> wrote:
>>
>>>There is a dark side in the source, as I tried in /usr/local/lib/slrn:
>>>newrc.dsc newsgroups.dsc slrn.dsc
>>>None of them work. With a .jnewrc.dsc in the home dir, slrn fires up in
>>>two seconds. Without the aformentioned files, it needs 20 seconds, and no
>>>description availables. John ?
>>
>>Have you set SLRN_LIB_DIR to the directory containing the File
>>(/usr/local/lib/slrn in your case)?
>>
>
Thanks to all the poster for their suggestion, but I still couldn't solve
my problem. I finally took gdb, with a breakpoint set in
src/group.c:slrn_read_group_descriptions()
From there, the correct file is opened (/usr/local/lib/slrn/newsgroups.dsc),
content is processed OK (I think ?):
alt.1d:One-dimensional imaging, & the thinking behind it.
through the add_group_description ().
Browsing from there, I saw a list is followed through pointer-to-structure g.
But the elements seemed already initialised, with a *descript set to NULL.
And when the initial screen appears in slrn, I have no descriptions at all.
Any clue ?
Pascal A. Dupuis
--
* To get the real E-Mail adress, remove the word "not-for-bot."
* One-Shot Case Study, n.:
The scientific equivalent of the four-leaf clover, from which
it is concluded all clovers possess four leaves and are sometimes
green.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads