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: Subject: Re: TTY and sshpass From: Sylvain Archenault To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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