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

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=pb9CBPdaUTG9X5nUrhmEygXRXewD3LODQifL2dG+mAe
qgM4jJx0QDBkjIWf8eITHm+NYS2qp4WisZOBfU2HWnVnT+gOhKCPKtlyoVlgYeoV
HDqN2kCeeXxNd7enL1eLIuvX97bVDHaFPGhcj47Vk0CbLYYoHJNiUqkH3v47ut2U
=
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=ntWpTLy9jun9X4QW2QCp0Ht/+Kw=; b=FVGTbMmCZQbdY1Kca
6q/WYtaEaeXshVCLL5/udxtwrhHJOPXK2aMNzmx8aMFZziPqs8r11PDsWZGcOcsq
V1BKr4zLNY1biw6gX/CYNCqxK9DMXxi6vdmMqzbW/RkQFbYbRGQjCkoaMNYIeLzf
y7wKoEuFsGUZDs4f51C9wGDBzI=
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.75.102 with SMTP id b6mr8302867wiw.75.1429213144323; Thu, 16 Apr 2015 12:39:04 -0700 (PDT)
Message-ID: <55300FD4.7020005@gmail.com>
Date: Thu, 16 Apr 2015 21:39:00 +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> <552F3C2D DOT 2060808 AT gmail DOT com> <loom DOT 20150416T081503-394 AT post DOT gmane DOT org>
In-Reply-To: <loom.20150416T081503-394@post.gmane.org>
X-IsSubscribed: yes


On 4/16/2015 8:20 AM, Keith Proctor wrote:
> Marco Atzeri <marco.atzeri <at> gmail.com> writes:
> <snip>
>
> Thanks Marco but I'm not sure which direction your asking me
> to go.  Should I:

No directions.
I was giving just a link on similar discussed ones that could
give you an hint and explanation why your trial does not work.

> 1) Install Console2 ( I didn't find it in the Cygwin installer)

It is not a cygwin program.

> 2) Build the tool mentioned in the link and prepend
> build/console.exe to all my DOS commands.

It is a possibility if you want to try the interaction
between your not-cygwin aware program and the cygwin version
of expect. I never used it.

> The second seams like a bit of a hack and I would have to do
> the equivalent of #define for Windows versus Mac in my code.

It is also a hack to use cygwin expect with a
not cygwin program.

> Maybe I missed missed another option?
>
> Inquiring minds Inquire, :)
> Keith
>

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