delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <ed4892840601052033m74b8a6cara2ac66a2c688eb4e@mail.gmail.com> |
Date: | Fri, 6 Jan 2006 12:33:42 +0800 |
From: | steven woody <narkewoody AT gmail DOT com> |
To: | Eric Blake <ericblake AT comcast DOT net> |
Subject: | Re: cat /dev/ttyS? |
Cc: | cygwin AT cygwin DOT com |
In-Reply-To: | <010620060402.4634.43BDEBDB000607880000121A22007507840A050E040D0C079D0A@comcast.net> |
MIME-Version: | 1.0 |
References: | <010620060402 DOT 4634 DOT 43BDEBDB000607880000121A22007507840A050E040D0C079D0A AT comcast DOT net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k064XmM6010148 |
On 1/6/06, Eric Blake <ericblake AT comcast DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |