🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #32894

Re: MicroPhone II bug

#32894
From: Leonard Rosenthol
Date: Wed, 05 Oct 1988 16:45
54 lines
2758 bytes
Newsgroups: comp.sys.mac
Subject: Re: MicroPhone II bug
Summary: It's a known bug, but there is hope...
Expires: 
References: <8810040113.AA24382@decwrl.dec.com>
Sender: denn@violet.berkeley.edu (Leonard Rosenthol) 
Followup-To: 
Distribution: 
Organization: University of California, Berkeley
Keywords:  MicroPhone II, Communications

In article <8810040113.AA24382@decwrl.dec.com> long@mcntsh.dec.com writes:
>I have what I think is a real live bug in MicroPhone II.  I have two versions: 
>a "pre-release" version dated May 20, 1988 and a "real" version dated June 27,
>1988.  With the LATER version, it appears that the "system flag" is not being
>set correctly between modem and user scripts:  it always returns success.
>
>Situation:  I have a modem driver that I put together for a DEC Scholar.  The
>script (modem) "Dial Service" returns success or failure depending on the
>status of the call.  Problem is, the user script that is calling Dial Service
>ALWAYS sees success.  I have verified that the Dial Service script IS returning
>the correct status (failure, in this case).  
>
	The problem you describe of the Dial Service command always returning
SUCCESS when using a Modem Driver (as opposed to the built in driver) is
indeed a known bug in the current version of MicroPhone II (June 27, 1988)
which will be fixed in a future version - HOWEVER there is a simple workaround
for the time being. 
	As you point out, the Dial Service Modem Script is getting the proper
value so that if you create your own success variable flag (say mySuccess) 
and have the main script check that rather than doing a test on the return
of Dial Service, things work just fine.  For example:

[Main Script]
REPEAT
	DIAL SERVICE* "My Service"
UNTIL mySuccess = TRUE

[Dial Service Modem Script]
...Dialing goes here...
...Wait and When stuff for testing connect...
IF SUCCESS            
	SET VARIABLE FROM EXPRESSION "mySuccess=TRUE'
ELSE
	SET VARIABLE FROM EXPRESSION "mySuccess=FALSE'
...rest goes here...

	Most of the modem drivers that we ship with MicroPhone II have
something like this in it.  The best one to check is the Telebit Modem Driver
as an example of this workaround.

Leonard Rosenthol
Software Ventures
MicroPhone II Development Team
Technical Details
Message-ID: <15031@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!bionet!agate!violet.berkeley.edu!denn
References: <8810040113.AA24382@decwrl.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!bionet!agate!violet.berkeley.edu!denn
From: denn@violet.berkeley.edu (Leonard Rosenthol)
Newsgroups: comp.sys.mac
Subject: Re: MicroPhone II bug
Message-ID: <15031@agate.BERKELEY.EDU>
Date: 5 Oct 88 16:45:07 GMT
References: <8810040113.AA24382@decwrl.dec.com>
Sender: usenet@agate.BERKELEY.EDU
Organization: University of California, Berkeley
Lines: 54