delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/26/10:00:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Wed, 26 Apr 2000 10:59:58 -0400
Message-Id: <200004261459.KAA32123@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: bking AT lsil DOT com
CC: cygwin AT sourceware DOT cygnus DOT com
In-reply-to: <004901bfaf8a$888f3ee0$35929193@lsil.com> (bking@lsil.com)
Subject: Re: dejagnu
References: <004901bfaf8a$888f3ee0$35929193 AT lsil DOT com>

> Expect appears to want to use DOS shell conventions instead of Bash =
> shell conventions (most notably the path separator and intrinsic shell =
> commands).

Ah, my nightmare returns...

The trick to using expect, at least the version you have, is to make
sure that paths mean the same thing under cygwin as they do under
Windows.  This means that "/" should be mounted as the root of your
current drive, and any other mount points should reflect actual
absolute paths under Windows as well.  It's a hack.

> How can I get dejagnu (or Expect) to run under cygwin/the bash shell?

Try the mount tips.  I did some work on our internal tcl/expect to
have it build both a nt-native dll and cygwin-native lib version, to
avoid these kinds of problems.  I don't know if/when I'll be able to
get that out to the net, but it wasn't a tricky port.  It's an old
version of tcl, so I don't know if it would be worth the effort to
keep maintaining that version.  Anyone want to port the latest
tcl/expect to cygwin?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019