delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <000201c31cd8$15f865a0$2180a8c0@toshiba> |
From: | "Campbell" <cf AT cannex DOT com DOT au> |
To: | <cygwin AT cygwin DOT com> |
Subject: | stty on serial ports |
Date: | Sun, 18 May 2003 10:54:05 +1000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
X-Scanned-By: | MIMEDefang 1.4 (www dot roaringpenguin dot com slash mimedefang) |
Having trouble with stty. On w2k appears to correctly change speed, but complains. Unable to read settings. ixon & inpck have no effect. $ stty -F /dev/ttyS0 speed 4800 ixon inpck 0 stty: /dev/ttyS0: unable to perform all requested operations $ stty -F /dev/ttyS0 speed 0 baud; line = 0; intr = <undef>; quit = <undef>; erase = <undef>; kill = <undef>; eof = <undef>; susp = <undef>; rprnt = <undef>; werase = <undef>; lnext = <undef>; flush = <undef>; min = 0; time = 0; -cread -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke $ cmd /c mode com1 Status for device COM1: ----------------------- Baud: 4800 Parity: None Data Bits: 8 Stop Bits: 1 Timeout: OFF XON/XOFF: OFF CTS handshaking: OFF DSR handshaking: OFF DSR sensitivity: OFF DTR circuit: ON RTS circuit: ON On w95, the results are similar, except that it seems to remember the previous stty speed setting. $ stty -F /dev/ttyS0 speed 4800 ixon inpck 1200 <---previously set with stty. Not the same as speed set using MODE. stty: /dev/ttyS0: unable to perform all requested operations Does this mean that the functionality relied upon by stty is not yet implemented in cygwin1.dll ? Campbell. -- 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 |