"test -c com1" hangs on some WinXP systems

Curt Mills archer@eskimo.com
Thu Mar 25 13:18:00 GMT 2004

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

More information about the Cygwin mailing list