Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site dartvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!dartvax!parrish From: parrish@dartvax.UUCP (Jerry Parrish) Newsgroups: net.micro.mac Subject: Setting modem baud rate from MacPascal Message-ID: <2795@dartvax.UUCP> Date: Sat, 2-Mar-85 20:26:44 EST Article-I.D.: dartvax.2795 Posted: Sat Mar 2 20:26:44 1985 Date-Received: Mon, 4-Mar-85 08:22:51 EST Distribution: net Organization: Dartmouth College, Hanover, NH Lines: 21 I'm trying to set the baud rate for the modem port from MacPascal. The manual says that "A file variable opened with 'modem:' as the title parameter reads from and writes to the modem at 300 baud." No problem, I say to myself, I'll use MacPascal's InLine facility to set 1200 baud via the Serial Driver or the Device Manager. That doesn't (read: I wasn't able to get it to...) work because the Serial Driver and Device Manager routines are OS traps, not Toolbox traps. Apparently, InLine only works for Toolbox traps. Can anyone tell me how to set the modem's baud rate from inside MacPascal, or (better) provide me with source code to do that, or (best) give me MacPascal code that does some serious communications work (a dumb terminal program, for example)? Please mail your answers to me. I'll post to the net when I find the solution to this problem. Thanks in advance. Jerry Parrish parrish@dartmouth.CSNET