Path: utzoo!attcan!uunet!lll-winken!ames!ncar!boulder!ccncsu!typhoon.atmos.colostate.edu!thorson From: thorson@typhoon.atmos.colostate.edu (Bill Thorson) Newsgroups: comp.sys.mac.programmer Subject: Serial device problems Message-ID: <4200@ccncsu.ColoState.EDU> Date: 18 Feb 90 16:30:14 GMT Sender: news@ccncsu.ColoState.EDU Reply-To: thorson@typhoon.atmos.colostate.edu (Bill Thorson) Organization: CSU Dept. of Atmospheric Science Lines: 25 I need an immediate answer on this one. Today if possible (Sunday 18th). I am having problems controlling the serial port. I want to give the serial port a bigger input buffer but it doesn't seem to want to use it. If I just use the standard buffer I get a software overrun error after 64 character of input. This is exactly what I expect. I allocate a 32K buffer and call SerSetBuf() and then I get a software overrun at about 3 characters. The Inside Macintosh, vol. II, pg. 251 has this written. WARNING: You must lock a new input buffer while it's in use. I'm not sure what they mean by locking the buffer. I don't even attempt to use it for anything else. What do they mean by locking the input buffer? What seems to be my problem? Help? #!/bin/sh #-----------------------------------------------------------------------# echo Bill Thorson thorson@typhoon.atmos.colostate.edu echo Dept of Atmospheric Science (303) 491-8339 echo Colorado State University echo Ft. Collins, CO 80523 Cray||Sun||Amiga -- I can't decide? #-----------------------------------------------------------------------#