X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: 1.7.14-2: bash not accepting "~" (tilde) from keyboard in Console (WIN7)
Date: Sun, 06 May 2012 11:16:15 -0700
Lines: 24
Message-ID: <jo6f5g$96i$1@dough.gmane.org>
References: <4FA44D7B.8030103@hccnet.nl> <20120506125446.GA5036@pris.crapsteak.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120309 Thunderbird/11.0
In-Reply-To: <20120506125446.GA5036@pris.crapsteak.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 05/06/2012 05:54 AM, David Sastre Medina wrote:
> On Fri, May 04, 2012 at 11:43:23PM +0200, Chris Brouwer wrote:
>> I have just installed Cygwin 1.17.14-2 using the setup.exe.
>>
>> I use Console (portable; from Portableapp.Com) as my entry to bash.
>> I have tried this when calling cygwin.bat from Explorer, effectively
>> starting cygwin from cmd.exe, and then the "~" works as expected.
>>
>> Does anyone have a solution for this ?
> Yes. Just use mintty. It's the default and it works.
I use mintty and Console. One good thing about Console it understands 
pty's or does something in the face of pty's that cause it to work in 
certain circumstances that mintty fails in. My example is cleartool. In 
mintty (or when mintty has ssh'ed to a remote system - sorry not on my 
work XP machine to test...) when I type cleartool I get no prompt. This 
is a long standing issue with cleartool on Windows using standard 
"console output" and that not working with ptys. Console, however, 
works. IIRC I think I saw it running a child cmd process. So maybe it 
runs things in there and grabs output to be displayed or read from.

I wish mintty could be made to do that...
-- 
Andrew DeFaria <http://defaria.com>
"Very funny, Scotty. Now beam down my clothes."


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

