Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!ncar!tank!oddjob!rfl From: rfl@oddjob.uchicago.edu (Bob Loewenstein) Newsgroups: comp.sys.mac.programmer Subject: serial question Message-ID: <5727@tank.uchicago.edu> Date: 9 Oct 89 18:40:38 GMT Sender: news@tank.uchicago.edu Reply-To: rfl@oddjob.UChicago.EDU (Bob Loewenstein) Organization: U of Chicago - Astronomy & Astrophysics Lines: 15 I have a program where I use the serial driver at 19200 baud. I set the size of the internal buffer to a large block so that I don't miss any transmissions while I'm not reading the port (64 bytes, the default, is too small). My problem is this: If someone using the program decides to open up some terminal emulator desk accessory, or switches via multifinder to another program that wants the port, when they switch back to my application, always my buffer is no longer used and the default is back; sometimes it screws things up altogether and causes a bomb. How can I manage the port for these user switches? If I knew when they returned to my program, I could reinitialize the port. Any comments would be appreciated.