Thread View: news.software.nn
5 messages
5 total messages
Started by R. Stewart Ellis
Mon, 31 Oct 1994 14:04
use_nntp=1, still checking database. HELP
Author: R. Stewart Ellis
Date: Mon, 31 Oct 1994 14:04
Date: Mon, 31 Oct 1994 14:04
24 lines
1816 bytes
1816 bytes
I posted yesterday asking why nn6.5b3 compiled for NOV and NNTP is checking the database on open when I point it at the local machine which is running INN. When I point it at a remote INN server it works as I expect it. I grepped the code and found the place in nn.c where the database check is performed. Several lines above there is a line if (use_nntp) return; So I grepped for use_nntp and found the spot in global.c where it is initialized to 0 (?) and reset it to 1. Make clean; make. Try it again and I am still getting database not updated in 2xxxx hrs., No News, etc. I was reasonably sure I looked at every instance of use_nntp to make sure it is not being reset conditionally. Any ideas? I want it to use nntp unconditionally, even on the local host. -- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 ___________________ Humanities & Social Science, GMI Eng.& Mgmt. Inst. / _____ ______ Flint, MI 48504 ellis@nova.gmi.edu / / / / / / Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ / / / /
Re: use_nntp=1, still checking database. HELP
Author: storner
Date: Mon, 31 Oct 1994 15:59
Date: Mon, 31 Oct 1994 15:59
22 lines
1555 bytes
1555 bytes
In <ellis.783612277@gmi.edu> ellis@nova.gmi.edu (R. Stewart Ellis) writes:
[about using nntp unconditionally with nn 6.5.0.b3]:
>So I grepped for use_nntp and found the spot in global.c where it is
>initialized to 0 (?) and reset it to 1. Make clean; make. Try it again and
>I am still getting database not updated in 2xxxx hrs., No News, etc.
>Any ideas? I want it to use nntp unconditionally, even on the local host.
You need to change the setting of use_nntp in nntp.c, around line 770.
The routine nntp_check() has a line that reads
use_nntp = (strcmp(host, server_real_name) != 0);
Change this to
use_nntp = 1;
and you should be up an running.
--
Henrik Storner (storner@olicom.dk)
Re: use_nntp=1, still checking database. HELP
Author: R. Stewart Ellis
Date: Mon, 31 Oct 1994 17:59
Date: Mon, 31 Oct 1994 17:59
37 lines
2158 bytes
2158 bytes
storner@hst.olicom.dk (storner) writes: >In <ellis.783612277@gmi.edu> ellis@nova.gmi.edu (R. Stewart Ellis) writes: >[about using nntp unconditionally with nn 6.5.0.b3]: >>So I grepped for use_nntp and found the spot in global.c where it is >>initialized to 0 (?) and reset it to 1. Make clean; make. Try it again and >>I am still getting database not updated in 2xxxx hrs., No News, etc. >>Any ideas? I want it to use nntp unconditionally, even on the local host. >You need to change the setting of use_nntp in nntp.c, around line 770. >The routine nntp_check() has a line that reads > use_nntp = (strcmp(host, server_real_name) != 0); >Change this to > use_nntp = 1; >and you should be up an running. >-- >Henrik Storner (storner@olicom.dk) That is the sort of thing I was looking for. Sorry I missed it and bothered everyone. Thanks a lot! -- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 ___________________ Humanities & Social Science, GMI Eng.& Mgmt. Inst. / _____ ______ Flint, MI 48504 ellis@nova.gmi.edu / / / / / / Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ / / / /
Re: use_nntp=1, still checking database. HELP
Author: Barry W Anderson
Date: Tue, 08 Nov 1994 02:12
Date: Tue, 08 Nov 1994 02:12
43 lines
2305 bytes
2305 bytes
ellis@nova.gmi.edu (R. Stewart Ellis) writes: >storner@hst.olicom.dk (storner) writes: > >In <ellis.783612277@gmi.edu> ellis@nova.gmi.edu (R. Stewart Ellis) writes: > >[about using nntp unconditionally with nn 6.5.0.b3]: > >>So I grepped for use_nntp and found the spot in global.c where it is > >>initialized to 0 (?) and reset it to 1. Make clean; make. Try it again and > >>I am still getting database not updated in 2xxxx hrs., No News, etc. > >>Any ideas? I want it to use nntp unconditionally, even on the local host. > >You need to change the setting of use_nntp in nntp.c, around line 770. > >The routine nntp_check() has a line that reads > > use_nntp = (strcmp(host, server_real_name) != 0); > >Change this to > > use_nntp = 1; > >and you should be up an running. > >-- > >Henrik Storner (storner@olicom.dk) >That is the sort of thing I was looking for. Sorry I missed it and bothered >everyone. >Thanks a lot! >-- > R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 ___________________ > Humanities & Social Science, GMI Eng.& Mgmt. Inst. / _____ ______ > Flint, MI 48504 ellis@nova.gmi.edu / / / / / / > Gopher,chimera,nn,tin,jove,modems, free code is best!/________/ / / / / -- Entropy Surfer
Re: use_nntp=1, still checking database. HELP
Author: Barry W Anderson
Date: Tue, 08 Nov 1994 05:56
Date: Tue, 08 Nov 1994 05:56
12 lines
1289 bytes
1289 bytes
Sorry about that guys , what I meant to ask (and I *DIDN't* mean to include the article either) was: 1) is there supposed to be any way to achieve this w/o kludging the src 2) will this be in the next release ? ;-) 3) WILL THERE BE A NEXT RELEASE ? cheers, Barry -- Entropy Surfer
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