unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Balaji Venkataraman <bvenkata+nospam@sm.intel.com>
Subject: Re: backspace/del/C-h confusion between emacs -nw & emacs X11
Date: 20 May 2003 12:27:39 -0700	[thread overview]
Message-ID: <8avfw55sgk.fsf@sm.intel.com> (raw)
In-Reply-To: 84fzn9zty2.fsf@lucy.is.informatik.uni-duisburg.de

On Tue, 20 May 2003 14:25:09 +0200, kai.grossjohann@gmx.net (Kai Großjohann)
wrote: 

> From a shell, invoke cat.  Then hit C-v <backspace> and then hit C-v
> C-h.  I'm guessing that you will see that both print ^H on the
> screen.  

Kai...spot on! Yes...they both produce ^H. 

> If the two print the same thing, then you need to reprogram your
> terminal to produce different things.  I suggest that you make
> <backspace> produce ^? (that's ascii 127, also known as DEL).

The only way I could get it to work:
I swapped my <backspace> and <delete> keys (as below):
My keyboard is - Sun Microsystems Type 5/PC (OpenWindows; US)
keycode 0x32 =  Delete
keycode 0x49 =  BackSpace

Now emacs works fine, both X11 and "-nw", but I have to live with "C-h"
being the backspace at the shell (<backspace> is backspace within emacs).

I'd like to be able to do <backspace> at the shell and have it behave like 
backspace. Is that possible?

Thanks,
Balaji.
-- 
Remember 2 + 2 = 5, for large values of 2

  reply	other threads:[~2003-05-20 19:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20  1:29 backspace/del/C-h confusion between emacs -nw & emacs X11 Balaji Venkataraman
2003-05-20  1:46 ` lawrence mitchell
2003-05-20 12:25 ` Kai Großjohann
2003-05-20 19:27   ` Balaji Venkataraman [this message]
2003-05-21  6:06     ` Klaus Zeitler
2003-05-22  8:54     ` Kai Großjohann

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8avfw55sgk.fsf@sm.intel.com \
    --to=bvenkata+nospam@sm.intel.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).