Gnus development mailing list
 help / color / mirror / Atom feed
From: Frank Schmitt <usereplyto@Frank-Schmitt.net>
Subject: Re: The two Servers
Date: Sun, 17 Mar 2002 18:53:07 +0100	[thread overview]
Message-ID: <pu235bek.fsf@hschmi22.userfqdn.rz-online.de> (raw)
In-Reply-To: <a72ft9$eh$1@quimby.gnus.org>

Andre Canis <Andre.Canis@web.de> writes:

>>I wished it was this easy. Problem number one: At home I've got a dialup
>>connection and I don't like Gnus agent, so I've got to use a local nntp
>>server (That's hamster in my case).
>
>Does your Hamster fetch its news from the same server you use at
>university? Maybe it's possible to tell it to store its articles using
>the same numbers as the upstream server; then you could easily sync
>your .newsrc files.

I'm just writing an application to solve my problem, here's what it
does:

It gets as input the name of a server and the information if it should be
slave or master. 

If it's master then it opens a file consisting of pairs from
article-number and corresponding message-ids (for this server), which
was created by previous runs of the program.

Then it opens ~/.newsrc, looks up for which articles the message-id is
still missing, and gets those message-ids from the newsserver. After
that it creates a file including the message-ids from all articles
listed in ~/.newsrc.

If it's started as slave, it reads the file the master created (the file
with the message-id's of read articles), gets the corresponding article
numbers (like above, already known ones from a file, new ones from the
server) and creates a new ~/.newsrc.

-- 
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
19. Dezember 2001



  reply	other threads:[~2002-03-17 17:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06 12:24 Frank Schmitt
2002-03-06 14:38 ` Kai Großjohann
2002-03-06 14:38 ` Kai Großjohann
2002-03-06 16:48   ` Frank Schmitt
2002-03-07 10:38     ` Kai Großjohann
2002-03-07 10:38     ` Kai Großjohann
2002-03-07 22:03       ` Raymond Scholz
2002-03-07 22:03       ` Raymond Scholz
2002-03-17 16:19     ` Andre Canis
2002-03-17 17:53       ` Frank Schmitt [this message]
2002-03-06 16:48   ` Frank Schmitt
2002-03-06 12:24 Frank Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pu235bek.fsf@hschmi22.userfqdn.rz-online.de \
    --to=usereplyto@frank-schmitt.net \
    --cc=usenet@Frank-Schmitt.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).