Path: utzoo!utgpu!water!watmath!uunet!labrea!bloom-beacon!tut.cis.ohio-state.edu!osu-cis!mstar!karl
From: karl@mstar.UUCP (Karl Fox)
Newsgroups: unix-pc.general
Subject: Re: Pcomm too slow on console
Keywords: pcomm 2400 console speed
Message-ID: <907@mstar.UUCP>
Date: 10 Jul 88 03:57:28 GMT
References: <229@shade.UUCP>
Reply-To: karl@mstar.UUCP (Karl Fox)
Distribution: na
Organization: Morning Star Technologies, Columbus, Ohio
Lines: 8

Pcomm is slow on output because it gets each character from the modem
with a read(fd, (char *)&c, 1) and echos it with a call to fwrite().  I
sped up my copy of Pcomm about 7-fold (I use it with a TB+) just by
changing input.c to read up to 100 characters at a time, and then
echoing them in a more efficient manner.  The output is a little
bursty, but it can repaint a screen in less than 1 second at 9600 bps.
-- 
Karl Fox, Morning Star Technologies ...!{att,osu-cis,pyramid}!mstar!karl