X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Backspace Date: Wed, 20 Jun 2012 22:26:23 -0700 Lines: 42 Message-ID: References: <4FE210E7 DOT 6070707 AT cygwin DOT com> <4FE28162 DOT 7040106 AT cygwin DOT com> 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:13.0) Gecko/20120426 Thunderbird/13.0 In-Reply-To: <4FE28162.7040106@cygwin.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 06/20/2012 07:05 PM, Larry Hall (Cygwin) wrote: >> Stated differently, I want the backspace key to move backwards one >> space and to erase the previous character, like, for example, the >> less man page says it's supposed to. > Now methinks you're just being obtuse. I'm not trying to be obtuse. I just want backspace to do a backspace. > Let me restate what I see in my environment. Erase is set as ^? but I > didn't set it anywhere. So to my way of thinking, this is the default. Makes sense. > This makes me think that maybe you have erase set to ^H somewhere? Yes, I set it in my ~/.bashrc. Because I believe that big backspace key that I love to hit sent C-h. > What does your .minttyrc look like? As I said before "I get this problem with Console - another, non-Cygwin terminal emulator and I see this problem with gnome-terminal. I don't see this problem with mintty". As such I'm not sure how .minttyrc applies here... > Other resource files? Which would you like? I think you missed the part where I said "I don't see this problem with mintty". I see the problem when I use Console ( http://sourceforge.net/projects/console/) a non-cygwin terminal emulator that I use because it handle's Windows /dev/conin and /dev/conout better than Cygwin. I also see this problem when I use my home Ubuntu system's gnome-terminal coupled with an ssh to Cygwin running in a Windows 7 VM in my LAN. I found where I can tell gnome-terminal to use C-h for backspace. Thanks - that problem is solved. I need to talk to the developer of Console to ask him about why Console was not honoring it's "Backspace == Control-H setting". And how he handles /dev/conin & conout so that perhaps mintty could be made better (Basically Windows programs like say cleartool and ActiveState Perl work with Console - i.e. typing cleartool will show you the cleartool problem. I think he's running a hidden cmd shell... anyways) Sorry I didn't test out gnome-terminal but I was at my client's site today and didn't have access to gnome-terminal until I got home - otherwise I would have tested it and poked around first. -- Andrew DeFaria Why are a wise man and a wise guy opposites? -- 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