all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: matt <matthew.a.hess@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: New C-h/Delete issue on emacs22.2.1-nox (Xquartz 2.3.0)
Date: Fri, 8 Aug 2008 01:12:32 -0700 (PDT)	[thread overview]
Message-ID: <92626e59-9373-45b1-adb1-e15c2dbff667@i20g2000prf.googlegroups.com> (raw)
In-Reply-To: mailman.15947.1218047239.18990.help-gnu-emacs@gnu.org

PROBLEM SOLVED!

When you press a key in X that key sends a keynum that translates into
a keysym (okay, we know that!).  Now... each keysym (a, b, c, Delete,
BackSpace, etc.) itself has a corresponding character or character
sequence is sent xterm which translates into xterm characters/actions
(you'll have to pardon my improvised nomenclature).  The control
character keysyms are sent to xterm in ascii caret notation:

BackSpace -> ^H
Delete -> ^?

If xterm's emulate of vt100 used the normal ascii notation above I
could have just switched BackSpace and Delete and then set erase to
^?.  However, by default xterm's Delete keysym sends to this weird
sequence: ^[[3~.  God only knows why they did that...

In order to change this back to the normal ascii caret notation
sequence you have to set the backarrowKey variable (from X resources)
to false.  You can do this by putting this line into the .Xdefaults
file in your home directory:

xterm.*backarrowKey: false

I owe my finding and a lot of gratitude to the author of this page:
http://www.hypexr.org/linux_ruboff.php

CHEERS!
matt


      parent reply	other threads:[~2008-08-08  8:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05  4:32 New C-h/Delete issue on emacs22.2.1-nox (Xquartz 2.3.0) matthew.a.hess
2008-08-05  6:28 ` Pascal J. Bourguignon
2008-08-05  8:01   ` matt
2008-08-05 14:54 ` Nikolaj Schumacher
     [not found] ` <mailman.15890.1217948083.18990.help-gnu-emacs@gnu.org>
2008-08-05 22:24   ` matt
2008-08-05 22:39 ` Peter Dyballa
     [not found] ` <mailman.15909.1217975993.18990.help-gnu-emacs@gnu.org>
2008-08-06  1:00   ` matt
2008-08-06  6:44     ` Peter Dyballa
     [not found]     ` <mailman.15926.1218006293.18990.help-gnu-emacs@gnu.org>
2008-08-06 16:19       ` matt
2008-08-06 18:27         ` Peter Dyballa
     [not found]         ` <mailman.15947.1218047239.18990.help-gnu-emacs@gnu.org>
2008-08-08  8:12           ` matt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92626e59-9373-45b1-adb1-e15c2dbff667@i20g2000prf.googlegroups.com \
    --to=matthew.a.hess@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.