delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/21/05:08:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 21 Jun 2012 11:07:38 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Backspace
Message-ID: <20120621090738.GA26102@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <jrsqk5$n02$1 AT dough DOT gmane DOT org> <4FE210E7 DOT 6070707 AT cygwin DOT com> <jrtoj0$9kf$1 AT dough DOT gmane DOT org> <4FE28162 DOT 7040106 AT cygwin DOT com> <jruba0$pvd$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <jruba0$pvd$1@dough.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
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 Jun 20 22:26, Andrew DeFaria wrote:
> 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)

I'm not quite sure what you're trying to accomplish by enforcing ^H.
The Cygwin console as well as mintty, the Linux console or any X terminal
emulation I'm aware of default to ^? to be generated by the backspace
key, and stty erase is by default set to ^? as well, usually.  Why don't
you just use the default?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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