🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #60470

Re: [Xnews] Remote .newsrc files

#60470
From: Ross Presser
Date: Thu, 13 Apr 2000 00:00
76 lines
3526 bytes
alt.distinguished.Loren@Finkelstein.Net (Loren
Finkelstein).wrote.posted.offered: 

>In article <120420002158286220%adamb@lull.org>, Adam Bailey 
><adamb@lull.org> wrote:
>
>>You're out of luck, Xnews doesn't have FTP built in. You're correct
>>that several Mac newsreaders do, but I'm not aware of any Windows
>>newsreaders which do it.
>
>
>This seems remarkable to me.  I am not trying to get into a Mac vs.
>PC argument here, but Mac newsreaders have supported this for years.
> It would seem that as many PC people read newsgroups as Mac people.
> Does anyone know why no one has implemented this?  I am not a
>programmer (not anymore, anyway).  Is there something built into
>Windows that makes this harder to implement?  Or is it just that all
>the PC newsreader developers got involved with the internet so
>recently that they are unfamiliar with the whole Unix account
>.newsrc thing? 

Neither.  Any sane developer who has written a newsreader *must* be familiar 
with .newsrc; it's an intimate part of the history of newsreaders.  And there's 
nothing harder about doing FTP from windows.  

I suspect it's just that the demand for ftping .newsrc among Windows 
newsreading users has never been very large.  It's a pretty specialized demand, 
after all; I doubt more than 20% of people who read news end up reading it from 
more than one location. 

Furthermore, with Windows/DOS batch files + command-line ftp (which ahs been 
shipped with the OS since Windows 95) it's almost trivial for any Windows 
halfwit to wrap his newsreader in something that will handle the job.  I've 
never tried before, and I can do it while writing this message:

  C:\> copy con getnewsrc.ftp
  user username
  password
  cd mypath
  get .newsrc myserver.newsrc
  quit
  ^Z

  C:\> copy con putnewsrc.ftp
  user username
  password
  cd mypath
  put myserver.newsrc .newsrc
  quit
  ^Z

  C:\> copy con ftpnews.bat
  @echo off
  cd newspath
  ftp -n -s:getnewsrc
  xnews
  ftp -n -s:putnewsrc
  ^Z

Elapsed coding time, 3 minutes.  Feel free to use this. :)

With the Mac, however, it's a big pain in the ass.  First, the Mac never 
shipped a standalone ftp tool.  Second, Applescript is *much* harder to become 
competent at than batch files.  You have to flail around madly with "tell 
application" and "tell document" and "set variable to x" stuff, then you have 
to delve deep into each application's private scripting dictionary to figure 
out what it's capable of.  Much easier to write the ftp code into the 
newsreader.

-- 
Ross Presser * ross_presser@imtek.com
"You can kill more lusers per hour with a dull spoon and a kind
sword, than with just a dull spoon." -- rsteenw@xs4all.nl (Rik
Steenwinkel) 

Technical Details
Message-ID: <8F156891Ept101594@207.211.168.97>
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!not-for-mail
References: <8F14B5626rpmohnpanixcom@166.84.0.240> <8F14CC787SG2ALA3GS@63.211.125.91> <8F14E58D3rpmohnpanixcom@166.84.0.240> <120420002158286220%adamb@lull.org> <Loren-3851A4.10193613042000@news.panix.com>

Show Full Headers
Complete Article Headers
Message-ID: <8F156891Ept101594@207.211.168.97>
Subject: Re: [Xnews] Remote .newsrc files
Date: Thu, 13 Apr 2000 00:00:00 +0000
From: rpresser@NOSPAMimtek.com.invalid (Ross Presser)
References: <8F14B5626rpmohnpanixcom@166.84.0.240> <8F14CC787SG2ALA3GS@63.211.125.91> <8F14E58D3rpmohnpanixcom@166.84.0.240> <120420002158286220%adamb@lull.org> <Loren-3851A4.10193613042000@news.panix.com>
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!not-for-mail
X-Deja-AN: 610714315
Organization: Imtek, Inc.
User-Agent: Xnews/03.04.11
Newsgroups: news.software.readers