delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/31/20:47:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_HOSTKARMA_YE,SPF_SOFTFAIL,URI_HEX
X-Spam-Check-By: sourceware.org
Date: Tue, 30 Oct 2012 12:37:36 -0700 (PDT)
From: vince <vincedupuis AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Message-ID: <1351625856139-94086.post@n5.nabble.com>
Subject: serial port block on the command line
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

Why this command is blocking on the cygwin shell:

echo "Hello" > /dev/ttyS0

I need to break it with ctrl-c and it gives me the following line:
-bash: echo: write error: Interrupted system call

I don't understand what is going on.

Thanks,

Vince



--
View this message in context: http://cygwin.1069669.n5.nabble.com/serial-port-block-on-the-command-line-tp94086.html
Sent from the Cygwin list mailing list archive at Nabble.com.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019