delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/16/00:39:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=C6z7839RzeKgyXbUb86o/2PuuR57HnupLbTIPZvdc9O
eFFmQcQax2q44evrcGefLQb4N5OD7ejbI0BySxJ0ABBTAiWAQvdc+0tv62P0jfrn
Fec4z0DS0OUdjv73nUYIzRPGHKlhSckW7cehp/hbtYejO7ZHY8KSSevFjEFbdwAo
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=qBnizvUJQEX2WEuBH4hh6yQ/NVA=; b=TTe9Xm/oxw0MmwS7F
ZRfWH/syiS3AsRqNmBVd2enHPIMtyABTWsWF8bdACUgyuUs7Ie9KIVHAaE5mjRmn
i8WMdxh0kLHM+QbNbY0aaR7I5377e2bz0GfkN1ZMK07766IPwiP9ZL6O92BenDvP
PQmgyxciylu+1xWjxlhaYL3HgE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f42.google.com
X-Received: by 10.180.187.171 with SMTP id ft11mr4168155wic.0.1429158971263; Wed, 15 Apr 2015 21:36:11 -0700 (PDT)
Message-ID: <552F3C2D.2060808@gmail.com>
Date: Thu, 16 Apr 2015 06:35:57 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cannot change console mode during usage of expect
References: <loom DOT 20150415T025305-586 AT post DOT gmane DOT org> <loom DOT 20150416T022401-455 AT post DOT gmane DOT org>
In-Reply-To: <loom.20150416T022401-455@post.gmane.org>
X-IsSubscribed: yes

On 4/16/2015 2:29 AM, Keith Proctor wrote:
> Interesting...I found the expect executable on disk, double clicked it
> and it opened a window so I typed in my original expect program
> without expect -c and surrounding quotes.  I then ran it and found
> the same errors.  The GetConsoleMode() and SetConsoleMode()
> calls are not being allowed to exit the expect environment.
>
> I'm not sure that the shim will work or not but I'll give it a shot.
>

Hi Keith,
as you are using a not-cygwin program with cygwin expect,
this reading can be useful to understand the issue
and eventually catch a solution

https://code.google.com/p/mintty/issues/detail?id=56

this one seems the most promising tool
https://github.com/rprichard/winpty

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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