X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0	tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4F3468FA.1030000@gmail.com>
Date: Thu, 09 Feb 2012 19:46:50 -0500
From: Sylvain Archenault <punx120@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20120104 Icedove/8.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: TTY and sshpass
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello,

I've been using sshpass (http://sourceforge.net/projects/sshpass/) for a 
while and it stopped working after I updated cygwin to the last version 
1.7.10-1 (was wokring with 1.7.9). I think it stops working because 
CYGWIN=TTY has changed or has been removed.

Indeed, sshpass try to access TTY to communicate with the child ssh 
process, so I would think that the recent changes to TTY could be the 
problem.

sshpass use "pselect" to read from the TTY, but the function returns an 
error the errno is set to :
ERROR: Interrupted system call

Does someone have an idea on the reason why ?

Thanks
Sylvain

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

