unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: backspace/del/C-h confusion between emacs -nw & emacs X11
Date: Tue, 20 May 2003 14:25:09 +0200	[thread overview]
Message-ID: <84fzn9zty2.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 8a65o676e5.fsf@sm.intel.com

Balaji Venkataraman <bvenkata+nospam@sm.intel.com> writes:

> In short I want the <Backspace> and "C-h" to behave similarly whether I run
> "emacs -q" or "emacs -nw -q". I want the <Backspace> key to delete the
> previous char and "C-h" to give me the help menu - this is what happens when
> you run "emacs -q". But with "-nw", both those keys seem to be tied to the
> same thing. Changing one (with keyboard translate) changes the other. 

>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.  If this is indeed the case, then there is nothing Emacs can
do: when you hit <backspace> or when you hit C-h, the terminal sends
the same bytes to Emacs, so there is no way for Emacs to tell the
difference.

If the two print different things, please show us what they print.

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

-- 
This line is not blank.

  parent reply	other threads:[~2003-05-20 12:25 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 [this message]
2003-05-20 19:27   ` Balaji Venkataraman
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=84fzn9zty2.fsf@lucy.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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).