🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.networking
Article #217

GPFax front end to CNet? HOW?

#217
From: Brian Mcewen
Date: Fri, 22 Mar 1996 17:12
123 lines
6684 bytes

	Hi, I'm still trying to get GPFax and CNet talking.  I've just about
decided that either GPFax or CNet is broken, and will never trade control 
of the serial port between them.
	Following find the datacall.gpf script I'm running ( it's the
gpfax_cnet.lha from Future World, but seems old).  I've tried it both
untouched, and modified to what I think it should look like, with equal  
results <carrier drop>.  Datacall.gpf gets run by GPFax when a datacall 
is detected, and is supposed to xfer control to CNet.  The original 
author xferred call to CNet port 0.  I thought this was silly, but get 
the same carrier drop whether I call port 0 or port 1.  

	What I think is happening, is that the xfer can't go, since I've
got a 14.4 modem, serial port (duart.device) can only be set to 9600 or 19200.
GPFax will not run correctly if you send both the DTE and DCE to it ( manual
even says so) and you have to send DTE ( modem-computer) speed, which is 19200
( or 9600 I suppose if I wanted to do that :). Regardless, since most people
call at 14.4, the connect baudrate is never going to be equal to the DTE, 
unless I lock everything at 2400 baud all the way around.  I could be totally
wrong though.

	Anyone see any syntax errors that could be killing the script?
Once I made a "unmatched quote" error appear in the line with the baudrate
command.  But there's no quotes in the whole darn script until the bbswake
command.....
Is it just a syntax error that I don't see, killing the whole thing?

Anyway I REALLY could use help on this.
----------------------------------------------------------
	DATACALL.GPF
----------------------------------------------------------
/*     An ARexx script called DataCall.gpf --
       To run GPFax as the system front end for CNet.
       Written by Joe Maulucci as FREEWARE
       Accadia BBS 716 882 1774
       also via CIS 70702,230, Future World, & Portal
       This script looks at GPFax Unit 0 & CNet Port 0
New SYSOPs: You should first start CNet and make sure that Port 0
            is set for "OFFLINE" then start GPFax (as System Front End).
            (or See CNet_Startup.rexx, part of this d/l)
            GPFax settings for Supra 14,400

(I use equivalent setting for my MFCIII and Zoom 14.4 modem -brian)
            ENVIRONMENT:
                         Device = Serial.device
                         Unit = 0
                         Shared = checked
                         Modem Init = AAT &F2 E0
            OPTIONS:
                         FAX/DATA
                         AutoANSWER
                         Arexx Data
As of June 13, 1994
I am a New Sysop running one modem and 
am still working with the Modem Init.
Also you need to delete the GPFax's DataMessage.txt, if you
 do not want that message sent. */

options results
address rexx_gpfax    /* Get baudrate from GPFax & Release Line*/
baudrate
A=result
unlisten
/* CNet port 0 takes over line  (DO NOT USE 'RUN' HERE) */

address command "CNet:bbswake port 1 baud "a" lock "a"
address rexx_gpfax  /* Return control to GPFax */
listen
/*end*/

---------------------------------------------------------------------------
			SNOOPDOS LOG OF A DATA CALL
---------------------------------------------------------------------------
Count Process Name       Action     Target Name                 Options Res.
----- ------------       ------     -----------                 ------- ----

			<makes beep>

23    « IPrefs »         OpenDev    timer.device                Unit 0  OK  
24    « IPrefs »         OpenDev    timer.device                Unit 0  OK  
25    « IPrefs »         OpenDev    timer.device                Unit 0  OK  
26    [11] gpfax:gpfax   Open       GPFAX:DataMessage.TXT       Read    OK  

(sends the "data call detected" message to caller- TWICE for some reason)

27    [11] gpfax:gpfax   FindPort   REXX                                OK  
28    RPControl          ChangeDir  DH0:                                    
29    RPControl          Lock       DH0:DataCall.GPF            Read    OK  
30    RPControl          Load       DH0:DataCall.GPF                    Fail
31    RPControl          ChangeDir  DH0:                                    
32    ARexx              OpenLib    mathieeedoubbas.library     Ver 0   OK  
33    ARexx              Lock       DH0:                        Read    OK  
34    ARexx              Lock       DH0:DataCall.GPF            Read    OK  
35    ARexx              Open       DH0:DataCall.GPF            Read    OK  
36    [11] gpfax:gpfax   OpenDev    duart.device                Unit 0  OK  
37    [11] gpfax:gpfax   OpenLib    mathffp.library             Ver 0   OK  
38    [11] gpfax:gpfax   OpenDev    timer.device                Unit 4  OK  
39    [11] gpfax:gpfax   Open       ENV:bsc/duart/Unit0         Read    OK  
40    [11] gpfax:gpfax   OpenDev    timer.device                Unit 0  OK  

	( Hangup is at #35 or #36)
	( GPfax goes back online for next call)
	( doesn't  matter if I have the rpstart program running, 
          or just rexxmast)
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Ideas most gratefully welcomed.

I looked at JamMail, but I only want fax/data detection, and the docs don't
go into that much/at all.  Although there seems to be a way to do it, and 
I'm talking to people about it, the 2 programs I've already got ( GPFax 
and CNET) LOOK like they should work together to do what I want....

--
+--------------------------------------------------------------------+
|"Information is pretty thin stuff,          Brian McEwen            |
|  unless mixed with experience"             bmcewen@wsu.edu         |
|    -Clarence Day                           i9566249@wsunix.wsu.edu |
|                http://www.wsu.edu:8080/~i9566249/                  |
|  * Remember, what PCs are doing today the Amiga was doing in 1985* |
|  * (except for a few things, and the PC's will do those soon..)  * |
+--------------------------------------------------------------------+
Technical Details
Message-ID: <DooIGn.EJM@serval.net.wsu.edu>
Path: arc1-ca.pugleaf.net!unicorn.it.wsu.edu!i9566249

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.amiga.networking,comp.sys.amiga.applications
Path: arc1-ca.pugleaf.net!unicorn.it.wsu.edu!i9566249
From: i9566249@unicorn.it.wsu.edu (Brian Mcewen)
Subject: GPFax front end to CNet? HOW?
Summary: I need to get GPFax as front-end for CNet, using AREXX.
Sender: news@serval.net.wsu.edu (News)
Message-ID: <DooIGn.EJM@serval.net.wsu.edu>
Date: Fri, 22 Mar 1996 17:12:22 GMT
Organization: Washington State University
X-Newsreader: TIN [version 1.2 PL2]