delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/06/14:16:53

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT 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 DOT 8030103 AT hccnet DOT nl> <20120506125446 DOT GA5036 AT pris DOT crapsteak DOT org>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 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

- Raw text -


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