Mail Archives: cygwin/2006/03/24/08:47:53
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 -