delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/04/12:01:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <49380CAE.9E808DD0@dessent.net>
Date: Thu, 04 Dec 2008 09:00:30 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: "[Cygwin]" <cygwin AT cygwin DOT com>
Subject: Re: Trouble differentiating Backspace from Control-Backspace in rxvt-20050409-9
References: <b33adb140812040757k30c772b4w5b776f98255b9dae AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

Jonathon Merz wrote:

> I recently upgraded from rxvt-20050409-7 to rxvt-20050409-9 and have
> stopped getting different output for Backspace and Control-Backspace.
> In rxvt-20050409-7, I get ^? for Backspace and ^H for
> Control-Backspace.  In rxvt-20050409-9, I get ^H for both.
> 
> I've tried explicitly setting the rxvt backspacekey to ^?, but then I
> get ^? both with and without the Control key.

I guess the first question is are you using rxvt in native (GDI/W11) or
X11 mode.  I can't see that much has changed in the patches other than
tweaks to use the new modular X11 server.  So if you are using GDI mode,
then I'm at a loss to explain the differences, however if you are using
X11 mode then it's highly likely that the difference in behavior is due
to the many changes in the new X server and not anything in rxvt.  You
should follow up on the cygwin-xfree@ list if that is the case.

> I've also been trying to decipher some of the documentation for
> terminfo/termcap, though I'm having trouble wrapping my mind around
> those, and I'm not certain whether that is the path I should go down
> since my terminfo appears to be unchanged between the two.  For what
> it's worth, I tried running infocmp on both the -7 and -9 versions and
> got identical output for them both.

I think terminfo/termcap are irrelevant here as their purpose is to
describe behavior, not to change it.  They might document for example
that terminal FOO generates the byte sequence BAR when the user presses
key X so that programs can know that when TERM=FOO and the sequence BAR
appears in the input stream that the user has in fact pressed X.  But
they can't alter the terminal's behavior to make it generate a different
sequence.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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