🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Wayne Davison Sat, 30 Oct 1993 05:17
Re: trn, overviews, and sluggishness through SLIP connections
#6309
Author: Wayne Davison
Date: Sat, 30 Oct 1993 05:17
17 lines
1514 bytes
According to Daniel M. Coleman <dcoleman@mbs.telesys.utexas.edu>:
> I am using trn 3.3 through SLIP [...]
> 	1) After it fetches the overviewfile and shows me the threads, after
> 	   I press various keys to select the various threads it takes 5 or
> 	   so seconds to respond to each keypress.

As other people have stated, trn is fetching the xrefs for the group in
the "background" while it waits for you to type.  The delay you experience
is exacerbated by your SLIP connection being slow and trn asking for 5
headers at a time between keyboard checks (it is using multiple XHDR
commands).  You may want to change this value (look for PREFETCH_SIZE in
head.h) or better yet, enable xrefs in your overview files and then
recompile trn with the xhdr-in-overview turned on (see OV_OTHERS_HAS_XREFS
in overview.h).
-- 
Wayne Davison
davison@borland.com
Re: trn, overviews, and sluggishness through SLIP connections
#6315
Author: Alan Coopersmith
Date: Sun, 31 Oct 1993 05:18
20 lines
1836 bytes
davison@borland.com (Wayne Davison) writes in news.software.readers:
)As other people have stated, trn is fetching the xrefs for the group in
)the "background" while it waits for you to type.  The delay you experience
)is exacerbated by your SLIP connection being slow and trn asking for 5
)headers at a time between keyboard checks (it is using multiple XHDR
)commands).  You may want to change this value (look for PREFETCH_SIZE in
)head.h) or better yet, enable xrefs in your overview files and then
)recompile trn with the xhdr-in-overview turned on (see OV_OTHERS_HAS_XREFS
)in overview.h).

So if our news server has "Xrefs:" in the overview we should manually enable
this?  How can I tell if I should?  (telnet server 119 and just see if Xref
appears in the XOVER data?)  Is there any way to automatically check for it
(some sort of NNTP Xover config report)?


-- 
--------------------------------------------------------------------------
Alan Coopersmith			  Internet: alanc@ocf.berkeley.edu
U.C. Berkeley Open Computing Facilty      Bitnet: alanc@ucbocf
Re: trn, overviews, and sluggishness through SLIP connections
#6324
Author: Wayne Davison
Date: Sun, 31 Oct 1993 21:39
32 lines
2298 bytes
According to Alan Coopersmith <alanc@ocf.berkeley.edu>:
> So if our news server has "Xrefs:" in the overview we should manually enable
> this?

It isn't required -- trn will figure this out on its own.  However, in the
case of a slow slip connection you will probably want to recompile trn with
xrefs-in-overview turned on to avoid that period of uncertainty where trn
is using xhdr commands looking for xrefs because it can't tell if they
are present in the overview file until it actually runs into one.  In the
worst case scenario, until you read a group that has a crossposted article
trn will waste time asking for xrefs via xhdr even when it doesn't need to.

> How can I tell if I should?  (telnet server 119 and just see if Xref
> appears in the XOVER data?)

Right, if you GROUP to a highly cross-posted group (like news.groups) you
can XOVER some article numbers and look for xrefs: data.  If it is there
you _can_ recompile trn with this info if you so desire.  Keep in mind that
if you use more than one news server you should only do this if all your
servers have xrefs in their overview data.

> Is there any way to automatically check for it
> (some sort of NNTP Xover config report)?

Yes and no.  I _think_ INN has some kind of overview report, but other
flavors of nntp don't.  At some point I'd like to see the overview standard
include a way to list the fields and their order so that people could
completely customize their overview data and newsreaders would be able
to handle it without blinking an eye.
-- 
Wayne Davison
davison@borland.com
Re: trn, overviews, and sluggishness through SLIP connections
#6205
Author: Alan Coopersmith
Date: Tue, 02 Nov 1993 01:42
50 lines
3085 bytes
davison@borland.com (Wayne Davison) writes in news.software.readers:
)According to Alan Coopersmith <alanc@ocf.berkeley.edu>:
)> So if our news server has "Xrefs:" in the overview we should manually enable
)> this?
)
)It isn't required -- trn will figure this out on its own.  However, in the
)case of a slow slip connection you will probably want to recompile trn with
)xrefs-in-overview turned on to avoid that period of uncertainty where trn
)is using xhdr commands looking for xrefs because it can't tell if they
)are present in the overview file until it actually runs into one.  In the
)worst case scenario, until you read a group that has a crossposted article
)trn will waste time asking for xrefs via xhdr even when it doesn't need to.

Actually, unless I'm really confused about what Xrefs: are used for,
shouldn't it just be asking if there is a "," in the Newsgroups: header?  In
which case it should automatically pick it up the first time it needs to use
the info.  

)> (some sort of NNTP Xover config report)?
)
)Yes and no.  I _think_ INN has some kind of overview report, but other
)flavors of nntp don't.  At some point I'd like to see the overview standard
)include a way to list the fields and their order so that people could
)completely customize their overview data and newsreaders would be able
)to handle it without blinking an eye.

By doing some simple research, I found that this info is available from the
local INN 1.4 server by doing "LIST overview.fmt":
	200 agate InterNetNews NNRP server INN 1.4 20-Mar-93 ready (posting ok).
	list overview.fmt
	215 Order of fields in overview database.
	Subject:
	From:
	Date:
	Message-ID:
	References:
	Bytes:
	Lines:
	Xref:full
	.
	
Unfortunately giving the same command to other servers returns either an
error message or the active file.  Unless there is some way of determingin
beofre hand if it is supported (check the initial status line for "INN"?)
it may not be useful to trn yet.  (Same with Pnews and the "LIST
distributions" instead of hardcoding them in.)
-- 
--------------------------------------------------------------------------
Alan Coopersmith			  Internet: alanc@ocf.berkeley.edu
U.C. Berkeley Open Computing Facilty      Bitnet: alanc@ucbocf
Re: trn, overviews, and sluggishness through SLIP connections
#6344
Author: John Schmitz
Date: Tue, 02 Nov 1993 17:23
24 lines
1818 bytes
We had a problem just like the original poster's:

 I am using trn 3.3 through SLIP [...]
 	1) After it fetches the overviewfile and shows me the threads, after
 	   I press various keys to select the various threads it takes 5 or
 	   so seconds to respond to each keypress.

but we are not using SLIP.

I read this:

davison@borland.com (Wayne Davison) wrote:
> As other people have stated, trn is fetching the xrefs for the group in
> the "background" while it waits for you to type.  The delay you experience
> is exacerbated by your SLIP connection being slow and trn asking for 5
> headers at a time between keyboard checks (it is using multiple XHDR
> commands).  You may want to change this value (look for PREFETCH_SIZE in
> head.h) or better yet, enable xrefs in your overview files and then
> recompile trn with the xhdr-in-overview turned on (see OV_OTHERS_HAS_XREFS
> in overview.h).

And found that defining OV_OTHERS_HAS_XREFS (which is valid in our
case) did nothing at all.  But as another poster noted, changing
OV_CHUNK_SIZE did make a difference.  What's the scoop?
Re: trn, overviews, and sluggishness through SLIP connections
#6351
Author: Alan Coopersmith
Date: Wed, 03 Nov 1993 00:58
13 lines
1551 bytes
alanc@ocf.berkeley.edu writes in news.software.readers:
)Actually, unless I'm really confused about what Xrefs: are used for,
)shouldn't it just be asking if there is a "," in the Newsgroups: header?  In
)which case it should automatically pick it up the first time it needs to use
)the info.  

Of course I forgot that Newsgroups isn't included in the overview so you
can't check the overview file...oh well...

-- 
--------------------------------------------------------------------------
Alan Coopersmith			  Internet: alanc@ocf.berkeley.edu
U.C. Berkeley Open Computing Facilty      Bitnet: alanc@ucbocf
Re: trn, overviews, and sluggishness through SLIP connections
#6352
Author: Wayne Davison
Date: Wed, 03 Nov 1993 01:51
18 lines
1707 bytes
According to John Schmitz <schmitz@scd.hp.com>:
> And found that defining OV_OTHERS_HAS_XREFS (which is valid in our
> case) did nothing at all.  But as another poster noted, changing
> OV_CHUNK_SIZE did make a difference.  What's the scoop?

The scoop is that I was wrong about what was causing the slow down -- it
doesn't happen here, and I thought I had guessed right, but alas -- 'twas
not so.  One reason for the memory lapse is that I prefer to use the -a
option when using overview files so that then entire file is slurped in
when entering the group.  Without this trn reads only enough of the
overview file to cover the unread articles in the group, starts reading
or selecting the group, and then reads the rest of the overview info
in the background.  With a fast net connection 100 overview lines isn't
too bad, but I should probably lower this.  Try setting it to 50 or
see how you like using the -a option.
-- 
Wayne Davison
davison@borland.com
Re: trn, overviews, and sluggishness through SLIP connections
#6406
Author: Rich Salz
Date: Mon, 08 Nov 1993 16:52
15 lines
1449 bytes
In <2avhrr$4dq@agate.berkeley.edu> alanc@ocf.berkeley.edu writes:
>So if our news server has "Xrefs:" in the overview we should manually enable
>this?  How can I tell if I should?  (telnet server 119 and just see if Xref
>appears in the XOVER data?)  Is there any way to automatically check for it
>(some sort of NNTP Xover config report)?

With INN
	LIST overview.fmt
will give you the headers that appear.

The reference implementation (e.g., Geoff's original work) defines common
headers that are in all NOV implementations.  Any other headers, that
come after the initial set, are "self-describing" in that they have
the header name first.
	/r$
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