[comp.sys.mac.hypercard] Dial w/ modem in HyperCard problem

sun@venus.ycc.yale.edu (09/28/88)

Greetings,

	I asked this a long time ago, but my problem remains unsolved.

	I have a Magic Modem 1200 (by Magic Products?), which works 
fine with all the communication/terminal emulator softwares I have ever
encountered, such as MicroPhone, RedRider, etc. However, it doesn't work
with the DIAL command inside HyperCard. When I used the Phone stack that
comes with HyperCard distribution to dial out a number, it only dial out
the first digits and then stoped dailing. I don't understand how it can
work with Communication Softwares/Terminal Emulators but not HyperCard. I
asked this question before and Mactijn Koster (u00300 @ hasar5.bitnet)
suggested the following. 

>I found out how to get Hypercard's Dial-function to work with a modem: the
>modem must assume DTR to always be true. Turn the modem off, set the
>appropriate dipswitch on or inside your modem, and switch the modem back
>on. On my modem, a lightspeed 1200, I did this by removing the front panel
>and setting switch 1 DOWN. After that it worked! 

	I opened my modem and cannot find such switch. I wonder if it can
be set by software. Since DIAL doesn't work, is it possible to write an
XCMD or XFCN to emulate how the communication softwares dial a number? Does
anyone out there have such codes? Can anyone tell me what the difference
between these two types of dialing and what can be done? 

	Thank you for your suggestions.

-- Kang Sun
sun@venus.ycc.yale.edu
sun@yalevms.bitnet

tenney@well.UUCP (Glenn S. Tenney) (09/29/88)

I had the same problem for a long time.  It works ok on a plus, but
doesn't work on an SE.  Very simply, my RS232 cable passes the DTR
signal thru from Mac to modem, and Hypercard DROPS DTR!!!!  This is
the only program I know of that starts a dial command and drops dtr
before giving the modem a chance to finish dialing, let alone for the
dialed number to answer.

One simple solution is to force that line high.  I'm using a MacVision
which has a little box that puts power onto that line (for the SE)
which makes the SE look lkike a plus and voila, Hypercard works
on the SE.

Hey Apple, when ya folks gonna clean this up?
Glenn

gillies@p.cs.uiuc.edu (10/05/88)

I have the same problem on a Mac II/Prometheus modem.

It's a little bit pathetic when you think about it.  Hypercard is
supposed to be optimized for doing simple stacks like the phone stack.
Yet, it seems like the modem driver must be brain-dead in hypercard.


Don Gillies, Dept. of Computer Science, University of Illinois
1304 W. Springfield, Urbana, Ill 61801      
ARPA: gillies@cs.uiuc.edu   UUCP: {uunet,ihnp4,harvard}!uiucdcs!gillies

tenney@well.UUCP (Glenn S. Tenney) (10/13/88)

In chatting with a guy on the HC team, my guess is that HyperCard opens
the serial driver, sends the dial command, and then closes the driver
which drops DTR.  Now if only HC would have waved the magic wand and
told the driver to keep DTR up after being closed...   Ahhhh.  Maybe
it'll be fixed soon.  

Glenn