Re: Various Souper95 questions

From: Michael Raiteri (mraiteri@dyson.brisnet.org.au)
Date: Tue, 20 May 1997 13:11:28 +1100

"Vince Worthington" <vincew@sprintmail.com> wrote:
>Howdy everybody...
>
>I've been lurking on this list for about a year and a half now. Seems
>like just about all of my questions were answered (and asked) by others
>while I was running under OS/2, but now I've got a couple issues I
>could really use some advice on in the Win95 environment:
>
>1. Using Souper95 to pull the mail/news in, I've not found a way to
>get it to exit "cleanly" before it would normally finish on its own, to
>the batch file which then imports the mail & news. Using Souper for
>OS/2, I found it convenient at times to hit Ctrl-C to get Souper to
>stop pulling stuff in (for example, if an email msg had come in), so I
>could read the message quicker.
>
>Under Souper95, if I hit Ctrl-C, Win95 comes up and says the program is
>being closed because an illegal operation had been performed. Needless
>to say, it doesn't leave the area and soup files in a way that import
>can readily work with them, like it did under OS/2. Using Ctrl-Break
>just makes it plain EXIT, still leaving things rather messy for Import.
>
>Does anybody know of a way to get Souper95 to cleanly exit, closing the
>temporary soup files, writing the areas file, etc., so import will
>import what has been pulled in?

Hi Vince,

I had the same problems but with the help of this list and my own
perserverance I found the answers.

To get souper95 to exit cleanly set up a batch file along the lines
as suggested in the souper readme.txt and call it say getmail.bat

Once created open explorer and right click on getmail.bat and
create a shortcut on the desktop. Right click and go into properties
and click on "close on exit" . You will find that when you double
click on the shortcut it will automatically close on exit.

With regard to aborting halfway through an email download and getting
souper to automatically import it, this caused me some trouble but
I have finally got it licked :)

Firstly manually download an email message (send yourself one) by
editing getmail.bat and REMming out the import commands. Run the
getmail.bat file. This will download your email message(s) as well
as create an AREAS. file. Copy the areas. file to a safe
location on your hard drive (I have mine in the \online directory).
Once you have done this manaully run import -u from a dos prompt to
import your mail.
Your next step is to edit your getmail.bat so that it niow resembles
something like mine (shown below)

GETMAIL.BAT

@ECHO OFF
E:
CD \YARN\TEMP
SET HOME=E:\HOME
SET YARN=E:\YARN
SET NNTPSERVER=news.brisnet.org.au
souper95 -n mail.dyson.brisnet.org.au mraiteri password
SET COPYCMD=/Y
copy e:\online\areas*.* e:\yarn\temp
import -u

You will now be set. all future aborted email downloads as well as
normal downloads will automatically be imported. Works like a charm
here.

>2. Scripting - this isn't really a Souper question, I guess it's more
>of a Win95 question - under OS/2, I had some rather nice PPPDial
>scripts written that would automagically dial up my ISP, start a
>background Souper session to pull the mail/news in, import, close,
>cleanly kill the net connection, and restart BinkleyTerm.

Sorry I know absolutly nothing about scripting.
>
>Has anybody done anything like this in Win95? Are there any
>PPPDial-type or other Dialup Networking scripting utils I can get to
>accomplish the same thing? Anybody feel like posting theirs? <grin>
>
>Thanks in advance everybody.
>
>Vince
>vincew@sprintmail.com
>

Hope this partly helps.

Cheers
Mike

-- 
Internet: mraiteri@dyson.brisnet.org.au <Michael Raiteri>
        Brisbane,  Queensland,  Australia