delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/06/20:40:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,TW_RX
X-Spam-Check-By: sourceware.org
Message-ID: <4BBBD475.2000307@bopp.net>
Date: Tue, 06 Apr 2010 19:40:21 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: MySQL client, prompt, redux
References: <Pine DOT NEB DOT 4 DOT 64 DOT 1004061803190 DOT 4624 AT panix2 DOT panix DOT com>
In-Reply-To: <Pine.NEB.4.64.1004061803190.4624@panix2.panix.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Tim McDaniel wrote:
>  From Google searches and some experience, it appears that it's a
> long-standing situation that, if you run the mysql.exe client program
> under mintty or rxvt from Cygwin, then mysql figures that it's not on
> an interactive terminal and therefore does not prompt.  Is there yet
> any workaround other than simply using cmd.exe instead?  (In mintty,
> BTW, "cmd /c mysql ..." doesn't prompt, presumably for the same reason
> that mysql alone doesn't prompt.)

If you are using the Windows-native build of the mysql client, then
there is no way to fix this.  That build of the client expects to have a
real Windows console which mintty and rxvt are unable to provide.  If
there is no mysql package in the Cygwin repository, have you tried to
see if Cygwin Ports has a Cygwin-native build which will work for you?

-Jeremy

--
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

- Raw text -


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