From: richard@cbmozq.adsp.sub.org (Richard Carde Australia)
Newsgroups: comp.sys.amiga.datacomm,alt.sys.amiga.uucp
Subject: more about... Re: GPFax launching Getty
Date: 5 Nov 92 03:26:46 GMT
Reply-To: richard@cbmozq.adsp.sub.org (Richard Carde Australia)
Followup-To: comp.sys.amiga.datacomm
Organization: CBM Australia - Developer Access Queensland

* GPFAX mailing list being made, read on... *

Anyone using a DATACALL.GPF script should not a revised script below.
This should help to eliminate any problems.

I will be posting information about how to get GETTY (and other interfaces)
working soon.

In article <kkrebs.03zj@amilink.UUCP> amilink!kkrebs@citrus.sac.ca.us (Ken Krebs) writes:

>Can someone help me out here?  I want to run GPFax all the time so I can
>have it launch a Getty when I a get a Data call.  Here is my Getty
>parameters:
>
>Run >Nil: <Nil: Getty -7 -A -Mm -B57600 -b1 -d0 ATZ0
>Can someone help me set up a DataCall.GPF ARexx script for use with GPFax?

First of all, if GPFax answers the phone for you, it will be set to 19200
baud.  This is because the FAX standard defines that as the baud rate to
use.  Since the connection is already established, you must keep talking
to the modem at 19200.

A typical datacall.gpf script would look like:
---------------------------------------------------------
/* $VER: DataCall.GPF 0.02 (2.11.92) rsc
 * this script will start a GETTY on receipt of a DATA call
 */
options results
address rexx_gpfax
baudrate
baud = result
address command 'uucp:c/getty <nil: >nil:'  "-B"baud "-Md" "-A" "-h0" "-c0"
/* if you are running a LOCKBAUD modem, then use the following command */
/* address command 'uucp:c/getty <nil: >nil:'  "-B19200" "-Md" "-A" "-h0" "-c0"
-----------------------------------------------------------

Now, the other way to do things is to get GETTY to answer the phone at
whatever baudrate you want.  Then use the GPFax RECEIVENOW ARexx command to
start receiving a FAX. (This is using the FAXGETTY)

Procedure (roughly):
---------- a script to start the system running -----------------
cd GPFAX:
run GPFAX -Q -S -NP ; -S if getty or other program wont allow SHARED mode
		    ; -NP no printer driver (optional)
		    ; -Q for quiet (optional)
		    ; -L is not required as it only applies to DATA
waitforport "REXX_GPFAX"  ; makesure GPFax is ready
rx "address rexx_gpfax UNLISTEN"  ; if -S was not specified
run uucp:c/getty <with your parameters>

; now your uulib:passwd file should contain the standard entry for FAX and
; run a script which looks like the following:

rx "address rexx_gpfax OPENSERIAL"
rx "address rexx_gpfax LISTEN"
; the above two lines are required, as GPFax will try to INIT the modem
; at the RECEIVENOW phase (if running -S)
rx "address rexx_gpfax RECEIVENOW"
; after returning from a RECEIVENOW command, fax in in UNLITEN mode
rx "address rexx_gpfax CLOSESERIAL" ; (optional) depends on whether you
				    ; had it this way to start with.

the last command will depend on whether you want to actually
close the serial device. Closing the serial device is recommended to
help the disconnect. (Dropping DTR should cause a hangup).

If you have any problems send we mail and I will try to help.

I will start a mailing list too, so can people please send mail to
fax-info@vogue.adsp.sub.org and I will add your name to a mailing list.

Specify in the subject line, your areas of interest.
eg: GETTY, UPGRADES, VOICE, MODEM TYPE, SUGGESTIONS, anything else...

Keep messages small. If you have files to uuencode and send, I would
prefer you sent those to rc@splat.aarnet.edu.au (internet connected)
but I read that only about once a week (this will be more often soon).

>Thanks..
>-- 
>*Ken Krebs* SkinnyPuppyLaTourBauhausBookOfLoveModernEnglishB52s |25Mhz/6Meg|

Hope this helps people...
-- 
  Richard Carde     Developer for GPSoftware    Voice: +61 7 300 6864
         EMAIL: richardc@vogue.adsp.sub.org            +61 7 300 6315
                rc@splat.aarnet.edu.au            IRC: Mongus