Thread View: news.software.readers
16 messages
16 total messages
Started by Pseudo Silk Kimono
Fri, 14 Sep 2007 10:50
[slrn] Using slrn to read from multiple servers
Author: Pseudo Silk Kimono
Date: Fri, 14 Sep 2007 10:50
Date: Fri, 14 Sep 2007 10:50
17 lines
1728 bytes
1728 bytes
Greetings, Not only do I read news from motzarella, I also frequent the grc news server. Is there a way to configure slrn so that I can use multiple .slrn files, one for each server? Or better yet, add something to the .slrnrc file like a switch or flag that will tell slrn which server to connect to. Thanks -- PSK - RLU 452647 http://improve-usenet.org Killing GG and Supernews now on Ubuntu, Vista and XP http://www.grc.com/stevegibson.htm
Re: [slrn] Using slrn to read from multiple servers
Author: Blinky the Shark
Date: Fri, 14 Sep 2007 11:37
Date: Fri, 14 Sep 2007 11:37
43 lines
3160 bytes
3160 bytes
Pseudo Silk Kimono wrote: > > Greetings, > > Not only do I read news from motzarella, I also frequent the grc news > server. Is there a way to configure slrn so that I can use multiple > .slrn files, one for each server? Or better yet, add something to the > .slrnrc file like a switch or flag that will tell slrn which server to > connect to. This is what I've done to accomplish that. 1. Create a mini .slrnrc for each server that only contains the few lines that are server specific. Name it something like, for instance, .slrnrc-motz 2. Create a master .slrnrc file that *excludes* the server-specific commands that you have included in your mini .slrnrc files, above. 3. In the mini .slrnrc files, use an include command to pull in the master .slrnrc file at run time. This will create a complete .slrnrc file for the server you're using. And when you want to change general (non-server-specific) settings you only have to change them once - in the master .slrnrc file. 4. Run slrn from a shell script that includes the slrn -i switch that designates the .slrnrc file to use (.slrnrc-motz, in this example) and the -h switch that designates the server (news.motzarella.org, in this example). Note: you do *not* need to screw with the NNTPSERVER environment variable; you're specifying your host in this script, so the value of the environment variable is irrelevant. If I were doing this for motzarella, my bash script would look like this: #!/bin/bash cleanscore -f ~/News/Score -e 2 rxvt -title 'Blinky Motz' +sb -e slrn -i .slrnrc-motz -h news.motzarella.org -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Re: [slrn] Using slrn to read from multiple servers
Author: Troy Piggins
Date: Fri, 14 Sep 2007 13:24
Date: Fri, 14 Sep 2007 13:24
26 lines
2239 bytes
2239 bytes
* Pseudo Silk Kimono is quoted & my replies are inline below : > > Greetings, > > Not only do I read news from motzarella, I also frequent the grc news > server. Is there a way to configure slrn so that I can use multiple > .slrn files, one for each server? Or better yet, add something to the > .slrnrc file like a switch or flag that will tell slrn which server to > connect to. You could do as Blinky suggests and run different instances of slrn for different servers, or you could use slrnpull, a part of slrn, to download messages from all mail servers and slrn reads from slrnpull as a local spool. I did that for a while. Now I use leafnode, actually I'm using leafnode v2alpha, to do the same thing with a lot more functionality. Way more flexibility/power than slrnpull. -- Troy Piggins | http://piggo.com/~troy/slrn * UPDATED MACROS 9/9/07 ___ | __ __ ,-O (o- O - whois.sl |___ | |/ |/ | O ) //\ O - view_manuals.sl ___| | | | | `-O V_/_ OOO
Re: [slrn] Using slrn to read from multiple servers
Author: Blinky the Shark
Date: Fri, 14 Sep 2007 19:03
Date: Fri, 14 Sep 2007 19:03
27 lines
2460 bytes
2460 bytes
Troy Piggins wrote: > * Pseudo Silk Kimono is quoted & my replies are inline below : >> >> Greetings, >> >> Not only do I read news from motzarella, I also frequent the grc news >> server. Is there a way to configure slrn so that I can use multiple >> .slrn files, one for each server? Or better yet, add something to >> the .slrnrc file like a switch or flag that will tell slrn which >> server to connect to. > > You could do as Blinky suggests and run different instances of slrn > for different servers, or you could use slrnpull, a part of slrn, to > download messages from all mail servers and slrn reads from slrnpull > as a local spool. And, Pseudo, there's another option, I believe from PJR, that uses IF logic within .slnrrc to determine what server-specific settings are to be used, based on fiddling around with the otherwise irrelevant NNTPSERVER environment variable. -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Re: [slrn] Using slrn to read from multiple servers
Author: Peter J Ross
Date: Sat, 15 Sep 2007 18:33
Date: Sat, 15 Sep 2007 18:33
20 lines
1854 bytes
1854 bytes
In news.software.readers on 14 Sep 2007 19:03:52 GMT, Blinky the Shark <no.spam@box.invalid> wrote: > And, Pseudo, there's another option, I believe from PJR, that uses IF > logic within .slnrrc to determine what server-specific settings are to > be used, based on fiddling around with the otherwise irrelevant > NNTPSERVER environment variable. Message-ID: <slrnfe5nik.b24.pjr@pjr.gotdns.org> or <http://groups.google.com/group/news.software.readers/msg/4c99c7cdc7f36a12> Your method and mine have identical results. Troy's method is more efficient than both but requires a local server or proxy to be installed. Swings and roundabouts. -- PJR :-)
Re: [slrn] Using slrn to read from multiple servers
Author: Pseudo Silk Kimono
Date: Sun, 16 Sep 2007 02:02
Date: Sun, 16 Sep 2007 02:02
49 lines
3147 bytes
3147 bytes
On 2007-09-14, Blinky the Shark <no.spam@box.invalid> wrote: > Troy Piggins wrote: >> * Pseudo Silk Kimono is quoted & my replies are inline below : >>> >>> Greetings, >>> >>> Not only do I read news from motzarella, I also frequent the grc news >>> server. Is there a way to configure slrn so that I can use multiple >>> .slrn files, one for each server? Or better yet, add something to >>> the .slrnrc file like a switch or flag that will tell slrn which >>> server to connect to. >> >> You could do as Blinky suggests and run different instances of slrn >> for different servers, or you could use slrnpull, a part of slrn, to >> download messages from all mail servers and slrn reads from slrnpull >> as a local spool. > > And, Pseudo, there's another option, I believe from PJR, that uses IF > logic within .slnrrc to determine what server-specific settings are to > be used, based on fiddling around with the otherwise irrelevant > NNTPSERVER environment variable. > > I got it working. It's kind of brute force. I create a script called runslrn and make it executable. server=$1 if [[ $server = "grc" ]] then export NNTPSERVER=news.grc.com slrn -i ~/.slrnrc-grc else export NNTPSERVER=news.motzarella.org slrn -i ~/.slrnrc fi .slrnrc-grc is basically a copy of .slrnrc except that I changed the details for motzarella to grc. Then I simply run ./runslrn grc or ./runslrn motza and I have both And I can have both at the same time, in separate terminals. I suppose I could change the script to run slrn in background, but it's not too bad for a 5 minute hack. -- PSK - RLU 452647 http://improve-usenet.org Killing GG and Supernews now on Ubuntu, Vista and XP http://www.grc.com/stevegibson.htm
Re: [slrn] Using slrn to read from multiple servers
Author: Pseudo Silk Kimono
Date: Sun, 16 Sep 2007 02:13
Date: Sun, 16 Sep 2007 02:13
43 lines
3072 bytes
3072 bytes
On 2007-09-15, Peter J Ross <pjr@example.invalid> wrote: > In news.software.readers on 14 Sep 2007 19:03:52 GMT, Blinky the Shark ><no.spam@box.invalid> wrote: > >> And, Pseudo, there's another option, I believe from PJR, that uses IF >> logic within .slnrrc to determine what server-specific settings are to >> be used, based on fiddling around with the otherwise irrelevant >> NNTPSERVER environment variable. > > Message-ID: <slrnfe5nik.b24.pjr@pjr.gotdns.org> > or ><http://groups.google.com/group/news.software.readers/msg/4c99c7cdc7f36a12> > > Your method and mine have identical results. Troy's method is more > efficient than both but requires a local server or proxy to be > installed. > > Swings and roundabouts. > A hand held over a candle in angst fuelled bravado a carbon trail scores a moist fresh palm Trapped in the indecion of another fine menu and you sit there and ask me to tell you the story so far This is the story so far Shuffling your memories dealing your doodles in margins you scrawl out your poems across a beermat or two and when you declare the point of grave creation They turn round and you to tell them the story so far This is the story so far And you listen with a tear in you eye to their hopes and betrayals and your only reply is Slainte mhath Princes in exile raising the standard Drambuie parading their anecdotes tired from oldd campaigns holding their own last orders commanding attention we sit here and listen to all of the story so far -- PSK - RLU 452647 http://improve-usenet.org Killing GG and Supernews now on Ubuntu, Vista and XP http://www.grc.com/stevegibson.htm
Re: [slrn] Using slrn to read from multiple servers
Author: Blinky the Shark
Date: Sun, 16 Sep 2007 02:16
Date: Sun, 16 Sep 2007 02:16
58 lines
3777 bytes
3777 bytes
Pseudo Silk Kimono wrote: > On 2007-09-14, Blinky the Shark <no.spam@box.invalid> wrote: >> Troy Piggins wrote: >>> * Pseudo Silk Kimono is quoted & my replies are inline below : >>>> >>>> Greetings, >>>> >>>> Not only do I read news from motzarella, I also frequent the grc news >>>> server. Is there a way to configure slrn so that I can use multiple >>>> .slrn files, one for each server? Or better yet, add something to >>>> the .slrnrc file like a switch or flag that will tell slrn which >>>> server to connect to. >>> >>> You could do as Blinky suggests and run different instances of slrn >>> for different servers, or you could use slrnpull, a part of slrn, to >>> download messages from all mail servers and slrn reads from slrnpull >>> as a local spool. >> >> And, Pseudo, there's another option, I believe from PJR, that uses IF >> logic within .slnrrc to determine what server-specific settings are to >> be used, based on fiddling around with the otherwise irrelevant >> NNTPSERVER environment variable. > > I got it working. It's kind of brute force. > I create a script called runslrn and make it executable. Brute force from the kimono guy? I suspect samurai slang scripting! :) > server=$1 > if [[ $server = "grc" ]] > then > export NNTPSERVER=news.grc.com > slrn -i ~/.slrnrc-grc > else > export NNTPSERVER=news.motzarella.org > slrn -i ~/.slrnrc > fi > > .slrnrc-grc is basically a copy of .slrnrc except that I changed the > details for motzarella to grc. > Then I simply run ./runslrn grc or ./runslrn motza and I have both Gotcha. I just thought of something. You might want to incorporate my method of making those server-specific files contain *only* the handful of server-specific lines, and using includes to pull in the generic stuff from a common large file of all the other stuff. That would give you the simplicity of your few (expandable for more servers) lines of code *and* my advantage of being able to make general configuration tweaks in only one place -- that single copy of the general rc file. -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Re: [slrn] Using slrn to read from multiple servers
Author: Pseudo Silk Kimono
Date: Sun, 16 Sep 2007 02:33
Date: Sun, 16 Sep 2007 02:33
27 lines
2650 bytes
2650 bytes
On 2007-09-16, Blinky the Shark <no.spam@box.invalid> wrote: > > Brute force from the kimono guy? I suspect samurai slang scripting! :) http://www.songlyrics.com/song-lyrics/Marillion/Misplaced_Childhood/Pseudo_Silk_Kimono/94829.html > > I just thought of something. You might want to incorporate my method of > making those server-specific files contain *only* the handful of > server-specific lines, and using includes to pull in the generic stuff > from a common large file of all the other stuff. That would give you > the simplicity of your few (expandable for more servers) lines of code > *and* my advantage of being able to make general configuration tweaks in > only one place -- that single copy of the general rc file. > > That will work. I just wanted a Q&D solution until I have a chance to study your solution in depth. I agree that having to make changes in multiple places is a no-no, so I will be eager to try out your solution. It's almost like "Structured Programming: The Shell Scripting Methods" -- PSK - RLU 452647 http://improve-usenet.org Killing GG and Supernews now on Ubuntu, Vista and XP http://www.grc.com/stevegibson.htm
Re: [slrn] Using slrn to read from multiple servers
Author: Blinky the Shark
Date: Sun, 16 Sep 2007 03:09
Date: Sun, 16 Sep 2007 03:09
40 lines
3175 bytes
3175 bytes
Pseudo Silk Kimono wrote: > On 2007-09-16, Blinky the Shark <no.spam@box.invalid> wrote: >> >> Brute force from the kimono guy? I suspect samurai slang scripting! >> :) > > http://www.songlyrics.com/song-lyrics/Marillion/Misplaced_Childhood/Pseudo_Silk_Kimono/94829.html I did not know of the origin of your nym. I thought you were just weird. Not that this new knowledge does anything to dispell that. ;) >> I just thought of something. You might want to incorporate my method >> of making those server-specific files contain *only* the handful of >> server-specific lines, and using includes to pull in the generic >> stuff from a common large file of all the other stuff. That would >> give you the simplicity of your few (expandable for more servers) >> lines of code *and* my advantage of being able to make general >> configuration tweaks in only one place -- that single copy of the >> general rc file. >> >> > That will work. I just wanted a Q&D solution until I have a chance to > study your solution in depth. I agree that having to make changes in I know. And I never thought to combine the two methods before I read your post. Synthesis. Neato. > multiple places is a no-no, so I will be eager to try out your > solution. It's almost like "Structured Programming: The Shell > Scripting Methods" In school (and sharks school for life) my middle name is "Object-Oriented". -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Re: [slrn] Using slrn to read from multiple servers
Author: Pseudo Silk Kimono
Date: Sun, 16 Sep 2007 04:53
Date: Sun, 16 Sep 2007 04:53
32 lines
2756 bytes
2756 bytes
On 2007-09-16, Blinky the Shark <no.spam@box.invalid> wrote: > > I did not know of the origin of your nym. I thought you were just > weird. Not that this new knowledge does anything to dispell that. ;) > I know I am but what are you? Seriously, Marillion has always been one of my favorite bands. PSK, in combination with motzarella, is my way of maintaining some degree of annonymity. > > I know. And I never thought to combine the two methods before I read > your post. Synthesis. Neato. > I'm just suprised that what I did actually worked. The idea of launching slrn in the background, however, does not work. I was hoping that I could start the CLI and still have my terminal to work on, rather than having to open a second terminal to do other stuff. > In school (and sharks school for life) my middle name is > "Object-Oriented". > > I was ready to say Object Oriented, but I thought some of the purists might tell me to move over to one of the Java groups. But I'm already there so it wouldn't matter. -- PSK - RLU 452647 http://improve-usenet.org Killing GG and Supernews now on Ubuntu, Vista and XP http://www.grc.com/stevegibson.htm
Re: [slrn] Using slrn to read from multiple servers
Author: Blinky the Shark
Date: Sun, 16 Sep 2007 04:59
Date: Sun, 16 Sep 2007 04:59
42 lines
3158 bytes
3158 bytes
Pseudo Silk Kimono wrote: > On 2007-09-16, Blinky the Shark <no.spam@box.invalid> wrote: >> >> I did not know of the origin of your nym. I thought you were just >> weird. Not that this new knowledge does anything to dispell that. ;) >> > > I know I am but what are you? Seriously, Marillion has always been one > of my favorite bands. PSK, in combination with motzarella, is my way of > maintaining some degree of annonymity. It's not like I use my real name. ;) As for the band, I confess to never having heard of them. For the record I just turned 60. >> I know. And I never thought to combine the two methods before I read >> your post. Synthesis. Neato. >> > > I'm just suprised that what I did actually worked. The idea of > launching slrn in the background, however, does not work. I was hoping > that I could start the CLI and still have my terminal to work on, rather > than having to open a second terminal to do other stuff. Do you run slrn in a separate login, as versus a terminal emulator? >> In school (and sharks school for life) my middle name is >> "Object-Oriented". > > I was ready to say Object Oriented, but I thought some of the purists > might tell me to move over to one of the Java groups. But I'm already > there so it wouldn't matter. :) -- Blinky RLU 297263 Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <----------- New Site Aug 28
Re: [slrn] Using slrn to read from multiple servers
Author: Brad Sims
Date: Tue, 18 Sep 2007 21:14
Date: Tue, 18 Sep 2007 21:14
36 lines
3283 bytes
3283 bytes
In Dread Ink, the Grave hand of Blinky the Shark Did Inscribe: > > This is what I've done to accomplish that. > > 1. Create a mini .slrnrc for each server that only contains the few > lines that are server specific. Name it something like, for instance, > .slrnrc-motz > > 2. Create a master .slrnrc file that *excludes* the server-specific > commands that you have included in your mini .slrnrc files, above. > > 3. In the mini .slrnrc files, use an include command to pull in the > master .slrnrc file at run time. This will create a complete .slrnrc > file for the server you're using. And when you want to change general > (non-server-specific) settings you only have to change them once - in > the master .slrnrc file. > > 4. Run slrn from a shell script that includes the slrn -i switch that > designates the .slrnrc file to use (.slrnrc-motz, in this example) and > the -h switch that designates the server (news.motzarella.org, in this > example). Note: you do *not* need to screw with the NNTPSERVER > environment variable; you're specifying your host in this script, so the > value of the environment variable is irrelevant. If I were doing this > for motzarella, my bash script would look like this: What I did was create seperate server entries with specified .jnewsrc files in .slrnrc; then I listed the passwords/etc in npraccess. I have a script that displays the servers I use and I simply pick the one I want. -- The Patrol probably makes a really big show of any they catch, complete with public service announcements: "So remember, kids: if they can't say it in your mind, you don't have to mind what they say!" -- Doug Dawson in RASFW, on conmen pretending to be Lensmen
Re: [slrn] Using slrn to read from multiple servers
Author: Blinky the Shark
Date: Wed, 19 Sep 2007 02:34
Date: Wed, 19 Sep 2007 02:34
41 lines
2874 bytes
2874 bytes
Brad Sims wrote: > In Dread Ink, the Grave hand of Blinky the Shark Did Inscribe: >> >> This is what I've done to accomplish that. >> >> 1. Create a mini .slrnrc for each server that only contains the >> few lines that are server specific. Name it something like, >> for instance, .slrnrc-motz >> >> 2. Create a master .slrnrc file that *excludes* the >> server-specific commands that you have included in your mini >> .slrnrc files, above. >> >> 3. In the mini .slrnrc files, use an include command to pull in >> the master .slrnrc file at run time. This will create a >> complete .slrnrc file for the server you're using. And when >> you want to change general (non-server-specific) settings you >> only have to change them once - in the master .slrnrc file. >> >> 4. Run slrn from a shell script that includes the slrn -i >> switch that designates the .slrnrc file to use (.slrnrc-motz, >> in this example) and the -h switch that designates the server >> (news.motzarella.org, in this example). Note: you do *not* >> need to screw with the NNTPSERVER environment variable; you're >> specifying your host in this script, so the value of the >> environment variable is irrelevant. If I were doing this for >> motzarella, my bash script would look like this: > > What I did was create seperate server entries with specified > .jnewsrc files in .slrnrc; then I listed the passwords/etc in > npraccess. Hmm. I've never used npraccess. -- Blinky Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <------------- New Site Aug 28
Re: [slrn] Using slrn to read from multiple servers
Author: Brad Sims
Date: Wed, 19 Sep 2007 13:40
Date: Wed, 19 Sep 2007 13:40
12 lines
2114 bytes
2114 bytes
In Dread Ink, the Grave hand of Blinky the Shark Did Inscribe: > Hmm. I've never used npraccess. It's great, you don't get prompted to enter your username and password... downside is it is there in plain text. -- I say that if religious believers have to answer for Torquemada, then atheists have to answer for Stalin. If Christians have to answer for bigots like the founders of the KKK, then atheists have to answer for the likes of Pol Pot. -- Dean Esmay
Re: [slrn] Using slrn to read from multiple servers
Author: Blinky the Shark
Date: Wed, 19 Sep 2007 18:14
Date: Wed, 19 Sep 2007 18:14
18 lines
1846 bytes
1846 bytes
Brad Sims wrote: > In Dread Ink, the Grave hand of Blinky the Shark Did Inscribe: > >> Hmm. I've never used npraccess. > > It's great, you don't get prompted to enter your username > and password... downside is it is there in plain text. I don't get prompted for username and password. I sure wouldn't use a method that required such. :) -- Blinky Killing all posts from Google Groups The Usenet Improvement Project: http://improve-usenet.org <------------- New Site Aug 28
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