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
Date: Wed, 24 Mar 2004 22:28:39 -0800 (PST)
From: Curt Mills <archer AT eskimo DOT com>
X-X-Sender: archer AT wapiti DOT we7u DOT net
To: Cygwin List <cygwin AT cygwin DOT com>
Subject: Re: "test -c com1" hangs on some WinXP systems
In-Reply-To: <6.0.1.1.0.20040324194546.03cadb00@127.0.0.1>
Message-ID: <Pine.LNX.4.44.0403242222550.30739-100000@wapiti.we7u.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by AMaViS 0.3.12pre8
X-IsSubscribed: yes

On Wed, 24 Mar 2004, Larry Hall wrote:

> "com" is a reserved name in Windows.  It's best to steer clear of it in
> any context you can.  You may be catching it in your "if test -c com1"
> version.

We'd _love_ to steer clear of it, particularly since /dev/ttyS0
works for two of our targeted systems.

We need to know that the "if test -c /dev/ttyS0" will work on all
Cygwin boxes from Win95 through WinXP.  The test for "com1" was
working just fine except for very recently on a few WinXP systems
(but appears to work on other WinXP boxes).

I'm delaying a new release and staying with the "if test -d
/proc/registry" bit until we can get that question answered.  That
last works but it's ugly.

-- 
Curt, WE7U.				archer at eskimo dot com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"


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