This is the mail archive of the
mailing list for the Cygwin project.
Re: cat /dev/ttyS?
On 1/6/06, Eric Blake <email@example.com> 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!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html