Gnus development mailing list
 help / color / mirror / Atom feed
* Making agent work on foreign server / one way that works
@ 1998-03-06 13:57 Harry Putnam
  1998-03-07  2:30 ` Eze Ogwuma
  0 siblings, 1 reply; 5+ messages in thread
From: Harry Putnam @ 1998-03-06 13:57 UTC (permalink / raw)


						Mar 06 11:06am

Most readers will probably be appalled at the lack of technique here, but
here is one way to get agent to work on foreign server groups:

Being iliterate in computer matters and especially unix and elisp has
led to doing this with full on 'Hillbilly' rigging, so hang on to your hats.

On the two setups of qgnus-0.34 I have running (two different users both me)
In each case I was not able to access the articles in these groups when
unplugged.

On the first instance I had long file names set to 't'.  Took me awhile
to see that was the problem.  So changed it to 'nil'.  In the second
instance (setup as an experiment) It began life with long file names set
to 'nil'

In both cases the same file structure was built inside /News/agent/ 

I think the 'agent' built a file structure that it can't recognize when
it comes time to call the off-line server.

The structure of a 'Native' group is built different than foreign
groups. As can be seen below. I am defining a 'foreign' group as one
subscribed to by the method of "B" (browse foreign server).

Agent built a file structure for my two foreign groups
(emac.ding and emacs.w3.beta) both from 'sunsite.auc.dk'
that looks like this:

original structure:
Foreign groups:
~/News/agent/nntp/sunsite.auc.dk/nntp+sunsite/auc/dk:emacs/ding 

~/News/agent/nntp/sunsite.auc.dk/nntp+sunsite/auc/dk:emacs/w3/beta

'Native' groups:
~/News/agent/nntp/enews.newsguy.com/comp/emacs

~/News/agent/nntp/enews.newsguy.com/gnu/emacs/gnus

What I did was build a structure like a native group structure and then
move the postings, .agentview, and .overview files into it.
The new structure looks like:

~/News/agent/nntp/sunsite.auc.dk/emacs/ding

~/News/agent/nntp/sunsite.auc.dk/emacs/w3/beta

As can be seen, I eliminated the unix style /'s in the server name.
Now 'agent' can access these groups when unplugged.  Retrieving to them
seems to work too

Running with this setup, I am having trouble with the '@' character being
added to  articles but that is no doubt the result of more
'hillbilly' rigging on the download 'predicate' and scoring.

Didn't like the default of 'short' ( a poor choice of default in my
opinion) so tried to change it to spam or just run with none.  Haven't
figured out how to do that yet.  Easy enough to 'kill' short and set
'spam' as default.  But still having lots of @'s show up.

This wouldn't be a big problem except for one major detail:

If there are  any @'s in a group when 'J s' is run then agent stops
right there and gives this message: 
  > Symbol's function definition is void: nil

The full message says:
  > Fetching headers for comp.editors...	 
  > Loading hexl (compiled)...		 
  > Loading hexl (compiled)...done		 
  > Symbol's function definition is void: nil

No further retrieving happens.  But if I go to the group and change any
@'s to %'s or just remove them then the next group with the @'s in it
stops the action.  So removing them in advance means gnus will
successfully retrieve from all retrievable groups.

It doesn't seem to be possible to kill the default predicate and run
with out one. It just comes back.
I don't know how to give the 'agent' an all inclusive predicate or a
blank one or whatever.

A uggestion is to have no predicate as default.  When a preson gets
competent with using agent is time enough to start worrying about
predicates.

__  

Harry Putnam  reader@newsguy.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-03-07 14:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-06 13:57 Making agent work on foreign server / one way that works Harry Putnam
1998-03-07  2:30 ` Eze Ogwuma
1998-03-06 22:12   ` Harry Putnam
1998-03-07 14:05     ` Eze Ogwuma
1998-03-07 14:44       ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).