🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comm.software.ums
Article #854

Re: uucico per batch

#854
From: Stefan Becker
Date: Wed, 22 Nov 1995 20:52
69 lines
2495 bytes
Hi!

> Ist nämlich besetzt, bricht uucico einfach ab und das war's. Gibt's eine
> Version von uucico, die solange probiert, bis eine Verbindung zustande
> kommt ? Irgendein anderer Tip ?

Wie wäre es mit folgendem Skript:

------------------------------ Schnipp -----------------------------------
.Key SYSTEM,ACU
.Bra {
.Ket }
.Def SYSTEM your-default-host
.Def ACU ser
;
; UUCPPoll - poll script for UUCP
;
; Syntax: UUCPPoll SYSTEM ACU
;
FailAt 21

; Circumvent wUUCP-uucico ACU bug
;>>> Delete Work:Mail/Lib/L.Sys QUIET FORCE
;>>> Makelink Work:Mail/Lib/L.Sys Work:Mail/Lib/L.Sys.$ACU

; Export Mail & News from UMS
ums2uucp -h $SYSTEM -u uucp.$SYSTEM

; Polling loop
Lab RetryPoll

; Call UUCiCo and get return code. Check Parameters for YOUR setup!
;>>> uucico -ACU $ACU -7 -pri -n7 -P6 -q -packets -Taylor -pgqG -s$SYSTEM
uucico -7 -pri -n7 -P6 -q -packets -Taylor -pgqG -s$SYSTEM
Set pollrc $RC

; Result = OK (0)? Yes, start uuxqt
IF $pollrc EQ 0 VAL
      Echo "Importing mail and news from system '$SYSTEM'... " NOLINE
      uuxqt $SYSTEM
      Echo ""

; Result = BUSY/NO DIALTONE (5) or NO CARRIER (10) ? Yes, wait and poll again
ELSE IF NOT $pollrc GT 10 VAL
      Echo "Waiting..." NOLINE
      Wait 1 mins
      Skip Back RetryPoll
EndIF
EndIF

; All OK or severe error...
UnSet pollrc
------------------------------ Schnapp -----------------------------------

Wenn verschiedenen ACUs benutzen möchtest, z.B.  seriell  und  UUCP  über
TCP/IP, dann kannst du die Zeilen mit ">>>"  hinzufügen.  Für  jeden  ACU
mußt du dann ein eigenes L.Sys anlegen (wUUCP Bug, sorry).

        Stefan

---
This page is not blank, it is pigmentally challenged.

      DICE 3.0 manual, page xii
---
Mail    : Stefan Becker, Verkehrsstrasse 11, D-44809 Bochum  ///    Only
Phone   : +49-234-9562803 (8-15 CET)         Germany        ///  Amiga makes
InterNet: stefanb@yello.ping.de                         \\\///  it possible..
ADSP    : stefanb@yello.adsp.sub.org          ECG148     \XX/  -->A3000/25<--
Technical Details
Message-ID: <68031244@yello.adsp.sub.org>
Path: arc1-ca.pugleaf.net!yello.ping.de!not-for-mail
References: <63579079@solaris.weimar.thur.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!yello.ping.de!not-for-mail
Newsgroups: de.comm.software.ums
References: <63579079@solaris.weimar.thur.de>
From: "Stefan Becker" <stefanb@yello.ping.de>
Date: Wed, 22 Nov 1995 21:52:14 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-NewsReader: IntuiNews 1.3b Beta 2 (19.10.95)
Subject: Re: uucico per batch
Message-ID: <68031244@yello.adsp.sub.org>