🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by - Sat, 26 Feb 2000 00:00
newsrc file for slrn?
#58578
Author: -
Date: Sat, 26 Feb 2000 00:00
14 lines
930 bytes
I've been trying to setup slrn so that it will use different newsrc files
for different users. I had put alias slrn1="slrn -f jnewsrc" for example,
into the .profile file. This used to function ok, but now the isp seems to
be overriding this command and it keeps using .newsrc and won't use
anything I put into .profile.

Anyone know a way to fix this?

Thanks.

-- 
remove "nospam" to reply

Re: newsrc file for slrn?
#58584
Author: Heikki Kantola
Date: Sat, 26 Feb 2000 00:00
35 lines
2394 bytes
<pzion@yahoo.com> informed news.software.readers with the following:
>I've been trying to setup slrn so that it will use different newsrc files
>for different users. 

Stupid question: why need different newsrc-filenames for different
_users_, shouldn't each user have their own home directories where
Slrn puts the newsrc... Or is this some non-Un*x system?

>I had put alias slrn1="slrn -f jnewsrc" for example, into the .profile
>file. This used to function ok, but now the isp seems to be overriding
>this command and it keeps using .newsrc and won't use anything I put
>into .profile.
>
>Anyone know a way to fix this?

In .slrnrc (or slrn.rc for global settings and on inferior OSs ;)) you
can set newsrc-file location based on newsserver (and enviroment
variables if you use S-Lang preprocessor conditionals[1]) with "server"
command. For example you can define:
	server nntp.somewhe.re .newsrc
	server news.mozilla.org .newsrc-mozilla
	
And the server name comes either from 1) compile time setting 2) file
(eg. /usr/local/lib/news/nntp_server) containing the server name set
at compile time, 3) NNTPSERVER-enviroment variable or 4) command line
option -h.

[1] <URL:http://www.s-lang.org/docs/slprep.html>
-- 
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: newsrc file for slrn?
#58590
Author: -
Date: Sat, 26 Feb 2000 00:00
17 lines
1286 bytes
On 26 Feb 2000 15:34:30 GMT, Heikki Kantola <hezu@iki.fi> wrote:
><pzion@yahoo.com> informed news.software.readers with the following:
>>I've been trying to setup slrn so that it will use different newsrc files
>>for different users. 
>
>Stupid question: why need different newsrc-filenames for different
>_users_, shouldn't each user have their own home directories where
>Slrn puts the newsrc... Or is this some non-Un*x system?

It is not our isp - we only have an account and a home directory, but
there are 2 people who use it. The system is overriding the settings in
.profile for the newsrc file.

-- 
remove "nospam" to reply

Re: newsrc file for slrn?
#58613
Author: Adam Bailey
Date: Sat, 26 Feb 2000 00:00
24 lines
1683 bytes
pzion@yahoo.com (-) wrote:

> I've been trying to setup slrn so that it will use different newsrc 
> files for different users. I had put alias slrn1="slrn -f jnewsrc" 
> for example, into the .profile file. This used to function ok, but 
> now the isp seems to be overriding this command and it keeps using 
> .newsrc and won't use anything I put into .profile.
> 
> Anyone know a way to fix this?

I couldn't even mess it up by disagreeing with my .slrnrc's SERVER to 
NEWSRC mapping.

Does it work if you just type it into the command line?

What message do you get during startup, where it talks about the 
newsrc file it's using?

-- 
Adam Bailey    | Chicago, Illinois
adamb@lull.org | Finger/Web for PGP
adamkb@aol.com | http://www.lull.org/adam/

Re: newsrc file for slrn? (on shared account)
#58838
Author: Sven Guckes
Date: Wed, 01 Mar 2000 00:00
22 lines
1369 bytes
* pzion@nospam.yahoo.com <pzion@nospam.yahoo.com>:
> It is not our isp - we only have an account and a
> home directory, but there are 2 people who use it.
> The system is overriding the settings
> in .profile for the newsrc file.

Sharing accounts is always a problem.
You can overcome this problem with
many solutions and workarounds - but
separate accounts is the best solution.

Hint:
	$ alias slrn1='slrn -i initfile1'
	$ alias slrn2='slrn -i initfile2'
	$ cat initfile1
	server host slrnrc1
	$ cat initfile2
	server host slrnrc2

Sven

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