Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: stty on serial ports Date: Sun, 18 May 2003 10:54:05 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 = ; quit = ; erase = ; kill = ; eof = ; susp = ; rprnt = ; werase = ; lnext = ; flush = ; 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/