X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: andyburgess <AndyBurgess@argonet.co.uk>
To: ebb9@byu.net
Cc: cygwin@cygwin.com
Date: Tue, 24 Jan 2006 10:29:12 +0000 (GMT)
Subject: Re: Serial port hangs unless I run Hyperterminal?
Message-ID: <4dee31fcd5AndyBurgess@argonet.co.uk>
In-Reply-To: <4dede53945AndyBurgess@argonet.co.uk>
References: <4dede53945AndyBurgess@argonet.co.uk>
User-Agent: Pluto/3.03h (RISC-OS/4.02) POPstar/2.06-ds.3
Content-Type: text/plain
X-orpheus-MailScanner: Found to be clean
X-orpheus-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.052, 	required 5, autolearn=disabled, AWL 0.05)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Thanks all for your replies - I looked into errno - will be useful for future
issues.

Thanks to Eric, found my problem was although Cygwin happy with using port
labelled COM1 (and presumably picking up Windows settings thereof - hence
their changing after Hyperterminal), it couldn't do the tcgetattr and
tcsetattr for that port successfully. Using the correct POSIX labelled port
of "/dev/ttyS0" allowed get and set to work perfectly in C! 

Thanks all!

Andy Burgess

-- 
 __  __  __  __      __ ___   _____________________________________________
|__||__)/ __/  \|\ ||_   |   /
|  ||  \\__/\__/| \||__  |  /...Internet access for all Acorn RISC machines
___________________________/ andyburgess@argonet.co.uk

--
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/

