Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!mintaka!think!samsung!cs.utexas.edu!uwm.edu!psuvax1!psuvm!cunyvm!byuvax!loganj From: loganj@yvax.byu.edu Newsgroups: comp.sys.mac.programmer Subject: Re: For GURU'S Only Message-ID: <1090loganj@yvax.byu.edu> Date: 7 Feb 90 19:47:43 GMT Lines: 24 You can anonymous ftp a simple C program (source included) called "Capture" that demonstrates Macintosh serial port control from "noc.byu.edu" (128.187.7.2). Get a file in the "pub" directory called "CaptureSit.hqx". It includes a "LightSpeed 3.x" C project, source code, and resource file. The program allows you to select either the printer port or the modem port and change the communication parameters for either port (baud rate, stop bits, parity, handshaking, ...) in a slick little dialog. It is intended ONLY as a starting point for students and others that need to use Macintosh for serial communications. It acts like a very simple (and VERY slow) terminal emulator by displaying characters from the serial port in a TextEdit window. You're expected to make the necessary modifications to satisfy your communications requirements. One of the first changes is usually speeding up the communications by removing the TextEdit display capability. TextEdit is used initially only so students can "see" their data (if you know what I mean) and better understand how the program works. Be sure to read the comments at the beginning of the main program, "Capture.c". (I am not a GURU) Regards, jim loganj@byuvax.bitnet loganj@yvax.byu.edu