cat /dev/ttyS?
Eric Blake
ericblake@comcast.net
Fri Jan 6 04:02:00 GMT 2006
>
> oh, i found the 'cat /dev/ttyS1' really outputs, but it has a very
> *big* delay that leads me thought it does not response. is the
> output buffered? what do i do? thanks!
Yes, cat with no options calls read(), which typically uses buffers. Try
cat -u to get unbuffered output. Or there are other programs,
such as dd, which are better suited with options to tweak to get
unbuffered output.
--
Eric Blake
volunteer cygwin coreutils maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list