This is the mail archive of the
mailing list for the Cygwin project.
Re: Windows mysql client hangs in cygwin ssh shell
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Paul G Cantalupo <lupey+ at pitt dot edu>
- Cc: cygwin at cygwin dot com
- Date: Fri, 24 Mar 2006 08:47:33 -0500 (EST)
- Subject: Re: Windows mysql client hangs in cygwin ssh shell
- References: <Pine.SOC.email@example.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 24 Mar 2006, Paul G Cantalupo wrote:
> 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.
|\ _,,,---,,_ firstname.lastname@example.org | email@example.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