Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!czei From: czei@quanta.eng.ohio-state.edu (Michael S. Czeiszperger) Newsgroups: comp.sys.mac.hypercard Subject: Re: Problems with Apple's Hypercard serial XCMDs Message-ID: <2447@quanta.eng.ohio-state.edu> Date: 20 Jun 89 19:30:12 GMT References: <2416@quanta.eng.ohio-state.edu> <2417@internal.Apple.COM> Reply-To: czei@quanta.eng.ohio-state.edu (Michael S. Czeiszperger) Organization: The Ohio State University Dept of Electrical Engineering Lines: 25 In article <2417@internal.Apple.COM> chesley@goofy.apple.com (Harry Chesley) writes: >There is no option to strip linefeeds from the incoming data stream. There >is an option to append linefeeds to carriage returns, and one which strips >all control characters except carriage return and backspace, including >linefeed. This is the stripControlsOn option. I just tried this, and it >works just fine. I checked the source code, and only recvUpTo actually strips control characters. Since I could never get this routine to do anything but spit loads of random characters out the serial port, I'm exclusively using recvChars() to input data from the serial ports. In the source code for recvChars(), there is no attempt to strip control characters, although it does zero out the MSB if that option is set. If anyone is interested, a friend of mine with MPW (Mark Welch) fixed the Xon/Xoff problem, and also added the feature of stripping control characters to the routine recvChars(). If you've purchased the serial kit and would like the diffs drop me a line. -- Michael S. Czeiszperger | "...the average sea bass caught off the coast of Systems Analyst | Los Angeles contains three times your lifetime's Ohio State University | worth of toxins...", NBC News, 4/17/89 ARPA:czei@icarus.eng.ohio-state.edu 2015 Neil, Columbus, OH 43210 292-0161