cat /dev/ttyS?

steven woody narkewoody@gmail.com
Fri Jan 6 04:33:00 GMT 2006


On 1/6/06, Eric Blake <ericblake@comcast.net> wrote:
>
> >
> > 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.

thanks. dd works!

--
woody


--
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