delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/09/22:31:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.3 required=5.0 tests=AWL,BAYES_05,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4F348F73.6000507@cygwin.com>
Date: Thu, 09 Feb 2012 22:30:59 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: TTY and sshpass
References: <4F3468FA DOT 1030000 AT gmail DOT com>
In-reply-to: <4F3468FA.1030000@gmail.com>
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

On 2/9/2012 7:46 PM, Sylvain Archenault wrote:
> 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 ?

Try using mintty instead.  If that doesn't help, try contacting the sshpass
provider for help.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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