Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Increase serial line buffer Message-ID: <2995@auspex.auspex.com> Date: 7 Mar 90 20:18:26 GMT References: <25620@ut-emx.UUCP> Distribution: usa Organization: Auspex Systems, Santa Clara Lines: 10 >Can anyone tell me the way to do it? You get the source to ".../sys/sundev/zs_async.c", change ZSIBUFSZ from 256 to some larger value, change the indices into the software silo from "u_char" to some data type large enough to hold the new maximum value, and add code after the code that bumps the indices to take them modulo ZSIBUFSZ when they overflow ZSIBUFSZ. Is the buffer overflowing (as indicated by "zsN: ring buffer overflow" messages)?