Re: Life without Yarn...? (or shell accounts?)

From: Hardy Griech (rgriech@swol.de)
Date: Fri, 27 Feb 1998 06:55:31 +0100

On Thu, 26 Feb 1998 19:49:47 -0800,
jberry@islandnet.com (Jonathan Berry) wrote:
:
> Can anybody provide the batch files they use to send / retrieve with
> YARN95 ?
:

This is from the VSoup documentation and should be valid on Win32 too
(for VSoup95/NT of course):

--------------------------------------------------------------------------------
Give me sample scripts for simple VSoup IO operation.

Simple Reception:
Because this is a simple approach, NEWSRC & SCORE resides in
the %HOME% directory.

- change to a directory for IO operation, e.g. c:\vsoup.

- call VSoup, e.g.

vsoup -M nntp://your.news.server pop3://your.pop3.server

The output of the VSoup operation will be in the current
directory, i.e. in c:\vsoup in this example. If your
'internet settings' are setup correctly by your dialer, you
could omit the nntp:// and pop3:// specifications in the
command line.

- feed the received news/EMails and the by VSoup generated
status mail into the database of your newsreader. For Yarn
the import program will be used (e.g. import -u).

If you are using different programs for handling news/EMails,
you could do two sequential invocations of VSoup:

vsoup -Mm nntp://your.news.server
handle_news_import
vsoup -Mn pop3://your.pop3.server
handle_mail_import

Of course this VSoup instances could also be started parallel
through e.g.:

start do_news_reception
start do_mail_reception

This approach requires a little bit more effort than the
sequential one. Check YarnIo as an example.

Simple Transmission:

- change to the directory where your reply packets (e.g.
reply.zip) reside. If they are zipped (or packed in
another way), you have to unzip/unpack them before VSoup
will be called (e.g. unzip -oq reply.zip & del reply.zip).

- call VSoup, e.g.

vsoup -Ms nntp://your.news.server smtp://your.mail.gateway

Failure of transmission should be handled in a proper way,
e.g. if .\REPLIES still exists, you have to rezip the not
transmitted news/mails (for Yarn IO you have to invoke
zip -0m reply.zip replies news.msg mail.msg). If your
'internet settings' are setup correctly by your dialer, you
could omit the nntp:// and smtp:// specifications in the
command line.

- handle the by VSoup generated status mail (e.g. import -u
for Yarn IO).

If you are using different programs for handling news/mail,
you could do two sequential invocations of VSoup or you could
start two VSoup parallel (see above).

IO for Yarn with simple scripts
-------------------------------

We assume, that the IO subdirectory is at c:\vsoup, the news/EMail
reader/writer is Yarn and the server URLs are taken from the
'internet settings', a status mail is generated by VSoup, the reply
packet is stored by Yarn to c:\vsoup\reply.zip, the NEWSRC & SCORE
(if one exists) are located in %HOME%:

Script for simple reception:

c:
cd \vsoup
vsoup -M
import -u

Script for simple transmission:

c:
cd \vsoup
unzip -oq reply
del reply.zip
vsoup -Ms
import -u
zip -0m reply replies news.msg mail.msg
--------------------------------------------------------------------------------

Hardy

-- 
Hardy Griech, Ernetstr. 10/1, D-77933 Lahr
http://privat.swol.de/ReinhardGriech/