Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 1997 16:32:51 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        ben@narcissus.ml.org (Snob Art Genre)
Cc:        dwhite@resnet.uoregon.edu, ksmm@cybercom.net, questions@freebsd.org
Subject:   Re: A few questions
Message-ID:  <199704192132.QAA23076@horton.iaces.com>
In-Reply-To: <Pine.NEB.3.96.970418184223.15245A-100000@narcissus.ml.org> from Snob Art Genre at "Apr 18, 97 06:44:30 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Snob Art Genre said:
> On Fri, 18 Apr 1997, Doug White wrote:
> 
> > On Fri, 18 Apr 1997, The Classiest Man Alive wrote:
> > 
> > > (1) How can I get emacs to accept my Backspace key for backspacing rather
> > > than my delete key?
> > 
> > stty erase <backspace>
> 
> Just to amplify a bit, that's "stty erase ^H".  That's a ^ and then an H,
> which stty knows means control-H. 

That's not going to work. He asked about emacs. Unfortunately, I don't
have my emacs book here at home. But what you're going to need to do
is add a couple commands to your .emacsrc file. 

Oh, it's in the FAQ (along with a couple of paragraphs from Stallman as
to why it's the "wrong" thing to do). 

(keyboard-translate ?\C-h ?\C-?)  ; translate `C-h' to DEL
(keyboard-translate ?\C-? ?\C-h)  ; translate DEL to `C-h'.

Read your FAQ: /usr/local/share/emacs/19.34/etc/FAQ

Paul.

-- 
"Whoever said, 'Its not whether you win or lose that counts,' probably lost!"
                                   -- M. Navratilova



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704192132.QAA23076>