Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2000 17:40:36 -0500 (EST)
From:      Brian Dean <brdean@mindspring.com>
To:        freebsd-current@freebsd.org
Subject:   tip features (cdelay and ldelay)?
Message-ID:  <200001022240.RAA01469@vger.foo.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a couple of really dumb devices that I use 'tip' to talk to.
One is a Motorola 6811 microcontroller and the other is an old EEPROM
burner.  I find that 'tip' overflows these devices when I'm sending
Motorola s-record and Intel Hex formatted files.

It looks like tip's 'cdelay' and 'ldelay' features do just the trick.
However, they are disabled, surrounded by '#ifdef notdef' sequences.
Just to make sure, I re-enabled them locally, and re-implemented the
apparently lost 'nap()' function to make sure that these features work
for my application, and they do.

My question is: does anyone remember why these were disabled in the
first place?  Is there an equivalent replacement feature that I can
use instead to pace the outgoing characters so that I don't overrun
dumb devices with no flow control?

Thanks,
-Brian
-- 
Brian Dean					brdean@mindspring.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001022240.RAA01469>