delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=3.1 required=5.0 tests=AWL,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 |
MIME-Version: | 1.0 |
In-Reply-To: | <4F3468FA.1030000@gmail.com> |
References: | <4F3468FA DOT 1030000 AT gmail DOT com> |
Date: | Fri, 10 Feb 2012 18:03:28 -0500 |
Message-ID: | <CAH2jVfbiMGnTZD60bd7jzemVhLT57HWkBUD2QBdpb435ZrEiAg@mail.gmail.com> |
Subject: | Re: TTY and sshpass |
From: | Sylvain Archenault <punx120 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q1AN3nKU028896 |
> 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 I'm using mintty for the terminal, If I used xterm with X11, it's complaining about /usr/sbin/ssh-askpass. I'm going to contact sshpass author. Thank you 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |