delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | ericblake AT comcast DOT net (Eric Blake) |
To: | steven woody <narkewoody AT gmail DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: cat /dev/ttyS? |
Date: | Fri, 06 Jan 2006 04:02:35 +0000 |
Message-Id: | <010620060402.4634.43BDEBDB000607880000121A22007507840A050E040D0C079D0A@comcast.net> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
> > 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |