🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #83124

Re: Synchronizing my client machines

#83124
From: Manni Heumann
Date: Fri, 17 Aug 2001 22:26
73 lines
2916 bytes
Leigh Haynes wrote:

> I don't have a C++ compiler on either machine
> so I'd probably do it in awk. Or would I just
> be able to run your C++ program on my PC ? I'm
> embarrassingly unclear on this concept. 

You would not need a compiler, I could just send you the 
compiled program. But if you are familiar with awk, I guess it 
should be quite easy to do it with awk (although I am 
embarrassingly unclear on this concept). Every line in Xnews' 
newsrc contains one newsgroup name followed by a : or a ! The 
ones with the : are your subscribed groups. 

> Regardless,
> I'd love to see the batch files. I'm not sure 
> if it's more appropriate for you to email me the 
> files, or to post them here. Whichever works 
> fine for me.

Here they are, not doing any zipping or cutting:

You will have to create 4 files: two batch files and two scripts 
for ftp.

Getting the newsrc file from the ftp server:
getnr.bat, assumes that you have xnews installed in 
c:\internet\xnews and that your newsrc file is named 
"isp.newsrc". This file will start xnews if everything works, if 
for some reason the file is not retrieved, it just exits.

c:
cd \internet\xnews
del "isp.newsrc"
ftp -s:getnr.ftp
if not exist "isp.newsrc" goto end
start xnews.exe
:end

getnr.ftp: you will have to supply the name of your server, your 
login, and your password.

open servername
login
password
cd your directory
get isp.newsrc
bye


Putting the newsrc file on the FTP server:

putnr.bat:

c:
cd \internet\xnews
ftp -s:putnr.ftp

putnr.ftp:

open servername
login
password
cd yourdirectory
delete isp.newsrc
put isp.newsrc
bye


HTH,

Manni
Technical Details
Message-ID: <9lk5mp$9occ6$1@ID-54749.news.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!129.70.165.103!not-for-mail
References: <3B7D3785.211A71C0@uclink.berkeley.edu> <Xns910061E91166Bfarkle@24.71.223.45> <3B7D3CC4.DEC54840@uclink.berkeley.edu> <9ljm2q$9kjj8$1@ID-54749.news.dfncis.de> <MPG.15e706ca9831f970989680@news.berkeley.edu>

Show Full Headers
Complete Article Headers
Message-ID: <9lk5mp$9occ6$1@ID-54749.news.dfncis.de>
Subject: Re: Synchronizing my client machines
Date: Fri, 17 Aug 2001 22:26:34 +0000
From: Manni Heumann <manni.heumann@gmx.de>
References: <3B7D3785.211A71C0@uclink.berkeley.edu> <Xns910061E91166Bfarkle@24.71.223.45> <3B7D3CC4.DEC54840@uclink.berkeley.edu> <9ljm2q$9kjj8$1@ID-54749.news.dfncis.de> <MPG.15e706ca9831f970989680@news.berkeley.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!129.70.165.103!not-for-mail
Newsgroups: news.software.readers
Lines: 72
NNTP-Posting-Host: 129.70.165.103
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 998087194 10236294 129.70.165.103 (16 1428 [54749])
User-Agent: Xnews/4.06.22
X-Face: "c)Go+A65AgR*9'!B)BMLM$kYg6HDG!_g'DAsj*ALo%=kp{X&abs&t\G0F~*r?VRj#|4=6)M.RJPnD]Ql:B<-7A^EAYFpDpZRMoJy?80^3B3b@DXb%MTyOD.*4wu&Xt6o*+6`r5E