Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!UCONNVM.BITNET!STEIN From: STEIN@UCONNVM.BITNET (Alan Stein) Newsgroups: comp.sys.apple2 Subject: Dialing a modem Message-ID: <9102130734.AA17297@apple.com> Date: 12 Feb 91 21:00:45 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 31 I added one line, InitTextDev(output);, to the program that sent data to my screen rather than my modem. I found that it then accessed my modem, but did not actually dial. I'm still wondering what do I need to do to dial through my modem? #pragma keep "test" #include #include #include #include #include main () { DeviceRec olddevicerec; long modemslot=2; olddevicerec = GetOutputDevice (); SetOutputDevice (basicType,modemslot); InitTextDev (output); WriteCString ("+++atdp18009991234"); SetOutputDevice (olddevicerec); } __________________________________________________________ | | | Alan H. Stein | stein@uconnvm.bitnet | | Department of Mathematics | | | University of Connecticut | Compu$erve 71545,1500 | | 32 Hillside Avenue | GEnie ah.stein | | Waterbury, CT 06710 | SNET (203) 757-1231 | |__________________________________________________________|