delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/24/08:47:53

X-Spam-Check-By: sourceware.org
Date: Fri, 24 Mar 2006 08:47:33 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Paul G Cantalupo <lupey+@pitt.edu>
cc: cygwin AT cygwin DOT com
Subject: Re: Windows mysql client hangs in cygwin ssh shell
In-Reply-To: <Pine.SOC.4.63.0603240829020.960@unixs2.cis.pitt.edu>
Message-ID: <Pine.GSO.4.63.0603240843190.16018@access1.cims.nyu.edu>
References: <Pine DOT SOC DOT 4 DOT 63 DOT 0603240829020 DOT 960 AT unixs2 DOT cis DOT pitt DOT edu>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

On Fri, 24 Mar 2006, Paul G Cantalupo wrote:

> Hello,
>
> When I run the Windows mysql client from a cygwin bash shell everything
> works fine. But when I run the Windows mysql client after logging into
> my computer with ssh, then the client hangs - read: I don't see 'Enter
> password:'. If I run a cygwin compiled source version of mysql, it works
> on both the regular bash shell and ssh. So, does this have something to
> do with the Windows client being unable to output to a ssh shell?

Cygwin's ssh (and rxvt, and xterm, and pretty much anything but the
Windows console window) uses pipes to emulate a tty (a "pty").  When
Cygwin applications try to detect whether their output is a tty, Cygwin
provides the right answer.  Windows applications don't have access to this
functionality, so the application thinks you're writing to a file and
doesn't do anything interactively.  There's really not much you can do
about it without fixing the application somehow.  Some applications have a
"force interactive mode" switch, which should work.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019