Thread View: news.software.nn
11 messages
11 total messages
Started by Burg
Fri, 22 Jan 1999 00:00
nn connecting to another newsserver
Author: Burg
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
18 lines
1002 bytes
1002 bytes
On the unix prompt starting nn, nn connects default to my newsprovider which is good. But how can I tell him to connect to an other host ? I did read the faq's but no answers there. Anyone knows the answer. Thanks in advance!! Burg
Re: nn connecting to another newsserver
Author: Burg
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
39 lines
1745 bytes
1745 bytes
>burgie@CUTCUTxs4all.nl (Burg):
>> On the unix prompt starting nn, nn connects default to my newsprovider
>> which is good. But how can I tell him to connect to an other host?
>
>Quit and restart.
>
>> I did read the faq's but no answers there.
>
>The answer is too easy to be in the FAQ. ;-)
;-)
That's not what I meant.
nn is connecting to news.myhost.nl but I want to connect to another
host f.e. news.myfriendsnewsserver.uk
The faq says:
Subject: 01.09 Can I connect to a remote news server?
Yes, as with other newsreaders just set the NNTPSERVER environment
variable (in versions 6.5 and later). E.g.,
NNTPSERVER=news.primenet.com
export NNTPSERVER
Where or in which init or config file should I put this?
I currently have only a init.host in my dir with these two lines:
set folder ~/WWW/news/1/
set nntp-cache-dir /tmp
Burg
Re: nn connecting to another newsserver
Author: Cameron Kaiser
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
24 lines
1570 bytes
1570 bytes
burgie@CUTCUTxs4all.nl (Burg) writes: >The faq says: >Subject: 01.09 Can I connect to a remote news server? >Yes, as with other newsreaders just set the NNTPSERVER environment >variable (in versions 6.5 and later). E.g., > > NNTPSERVER=news.primenet.com > export NNTPSERVER >Where or in which init or config file should I put this? Neither. This is a line for your .profile file (for sh, ksh, bash, etc.). If you're smarter and have learned the exotic pleasures of csh or tcsh, add this to your .login file: setenv NNTPSERVER news.primenet.com -- Cameron Kaiser * cdkaiser.cris@com * powered by eight bits * operating on faith -- supporting the Commodore 64/128: http://www.armory.com/~spectre/cwi/ -- head moderator comp.binaries.cbm * cbm special forces unit $ea31 (tincsf) personal page http://calvin.ptloma.edu/~spectre/ * "when in doubt, take a pawn"
Re: nn connecting to another newsserver
Author: Sven Guckes
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
17 lines
1189 bytes
1189 bytes
burgie@CUTCUTxs4all.nl (Burg): > On the unix prompt starting nn, nn connects default to my newsprovider > which is good. But how can I tell him to connect to an other host? Quit and restart. > I did read the faq's but no answers there. The answer is too easy to be in the FAQ. ;-) Sven -- nn: http://www.math.fu-berlin.de/~guckes/nn/ slrn: http://www.math.fu-berlin.de/~guckes/slrn/
Re: nn connecting to another newsserver
Author: Cameron Kaiser
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
15 lines
1169 bytes
1169 bytes
burgie@CUTCUTxs4all.nl (Burg) writes: >>setenv NNTPSERVER news.primenet.com >.login. And did it work? -- Cameron Kaiser * cdkaiser.cris@com * powered by eight bits * operating on faith -- supporting the Commodore 64/128: http://www.armory.com/~spectre/cwi/ -- head moderator comp.binaries.cbm * cbm special forces unit $ea31 (tincsf) personal page http://calvin.ptloma.edu/~spectre/ * "when in doubt, take a pawn"
Re: nn connecting to another newsserver
Author: Burg
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
15 lines
1160 bytes
1160 bytes
>Neither. This is a line for your .profile file (for sh, ksh, bash, etc.). If >you're smarter and have learned the exotic pleasures of csh or tcsh, add >this to your .login file: > >setenv NNTPSERVER news.primenet.com .login. Burg
Re: nn connecting to another newsserver
Author: Burg
Date: Sat, 23 Jan 1999 00:00
Date: Sat, 23 Jan 1999 00:00
25 lines
1545 bytes
1545 bytes
>>>setenv NNTPSERVER news.primenet.com > >>.login. > >And did it work? we're getting close. 1. I know now that there IS an enviroment! 2. I know now how to list it (env)! 3. "env - NNTPSERVER news.myfriendshost.nl" works fine on the Unix prompt and the new NNTP server is set in the env. But after that nn is still connecting to news.myhost.nl 4. I created a .profile (chmod 744) and tried these lines: setenv NNTPSERVER=news.myfriendshost.nl set env NNTPS..etc env - NNTP..etc no luck so far. 5. We are running BSDI BSD/OS 4.0(Beta) Burg
Re: nn connecting to another newsserver
Author: M. Buchenrieder
Date: Sat, 23 Jan 1999 00:00
Date: Sat, 23 Jan 1999 00:00
24 lines
1350 bytes
1350 bytes
burgie@CUTCUTxs4all.nl (Burg) writes:
[...]
>4. I created a .profile (chmod 744) and tried these lines:
>setenv NNTPSERVER=news.myfriendshost.nl
>set env NNTPS..etc
>env - NNTP..etc
>no luck so far.
Listing it in your .profile just isn't enough. You will have
to add
export NNTPSERVER
as well, otherwise the variable will not get exported anywhere else.
Michael
--
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't mungle your address.
Re: nn connecting to another newsserver
Author: Burg
Date: Sun, 24 Jan 1999 00:00
Date: Sun, 24 Jan 1999 00:00
36 lines
1694 bytes
1694 bytes
>>4. I created a .profile (chmod 744) and tried these lines: >>setenv NNTPSERVER=news.myfriendshost.nl >>set env NNTPS..etc >>env - NNTP..etc >>no luck so far. > >Listing it in your .profile just isn't enough. You will have >to add > >export NNTPSERVER > >as well, otherwise the variable will not get exported anywhere else. I've added those line to the .profile as well, but no luck. Here's my current .profile: env - NNTPSERVER=news.somehost.nl export NNTPSERVER after exit and login the env is still listing the wrong NNTPserver. Unix is :bsdi4.0 and shell is /usr/local/bin/tcsh ??? What is going wrong? Burg
Re: nn connecting to another newsserver
Author: Cameron Kaiser
Date: Sun, 24 Jan 1999 00:00
Date: Sun, 24 Jan 1999 00:00
20 lines
1473 bytes
1473 bytes
burgie@CUTCUTxs4all.nl (Burg) writes: >4. I created a .profile (chmod 744) and tried these lines: >setenv NNTPSERVER=news.myfriendshost.nl >set env NNTPS..etc >env - NNTP..etc >no luck so far. tcsh does not read your .profile. You need to put the line in .login. And tcsh setenv has no equals sigh: setenv NNTPSERVER bletch.foo.com -- Cameron Kaiser * cdkaiser.cris@com * powered by eight bits * operating on faith -- supporting the Commodore 64/128: http://www.armory.com/~spectre/cwi/ -- head moderator comp.binaries.cbm * cbm special forces unit $ea31 (tincsf) personal page http://calvin.ptloma.edu/~spectre/ * "when in doubt, take a pawn"
Re: nn connecting to another newsserver
Author: Sven Guckes
Date: Mon, 25 Jan 1999 00:00
Date: Mon, 25 Jan 1999 00:00
24 lines
1541 bytes
1541 bytes
burgie@CUTCUTxs4all.nl (Burg): > Here's my current .profile: > > env - NNTPSERVER=news.somehost.nl > export NNTPSERVER > > after exit and login the env is still listing the wrong NNTPserver. > > Unix is :bsdi4.0 > and shell is /usr/local/bin/tcsh > > What is going wrong? Wrong file and wrong syntax! The file is "$HOME/.login" and the syntax is "setenv var value". RTFM! $ echo "setenv NNTPSERVER news.somehost.nl" >> ~/.login Hint: comp.unix.shell 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