public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Backspace and C-h in emacs -nw
@ 2002-08-26  8:30 Peter Ring
  2002-08-26  9:24 ` Joe Buehler
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Ring @ 2002-08-26  8:30 UTC (permalink / raw)
  To: cygwin

I'm a bit stuck with a minor inconvenience in emacs.

Starting emacs in a win32-mode rxvt terminal (or at a cmd prompt) like this

  emacs -nw

or, bypassing my .emacs,

  emacs -q -nw

I get a nice color- and face-aware emacs. But C-h and Backspace are weird.
Executing 'describe-key' and entering C-h and Backspace produces the
following:

C-h:
  DEL runs the command backward-delete-char-untabify

Backspace:
  C-d runs the command delete-char

I'd expected that C-h was a prefix, and that Backspace was received as DEL.
I've found no convenient way to enter C-h.

Am I the only one with this experience?

kind regards
Peter Ring

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Backspace and C-h in emacs -nw
@ 2002-08-27  1:19 Dirk.Sondermann
  0 siblings, 0 replies; 4+ messages in thread
From: Dirk.Sondermann @ 2002-08-27  1:19 UTC (permalink / raw)
  To: cygwin

In order to prevent ^H from being mistaken for DEL, try to include a

  stty erase ^-

in your ~/.profile.

Dirk


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Backspace and C-h in emacs -nw
@ 2002-08-27  3:26 Peter Ring
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Ring @ 2002-08-27  3:26 UTC (permalink / raw)
  To: cygwin; +Cc: 'Joe Buehler'

A tip from Joe Buehler helped me out. There's a section in emacs news, also
/usr/doc/emacs-21.2/NEWS, about a new user-option,
'normal-erase-is-backspace'. 

Customizing 'normal-erase-is-backspace' to nil achieves the desired effect
in win32-mode rxvt (and does not affect X-Windowed emacs or emacs in X rxvt,
as far as I can tell).

kind regards
Peter Ring

-----Original Message-----
From: Dirk.Sondermann [ mailto:Dirk.Sondermann@dynaware.de ]
Sent: 27. august 2002 10:19
To: cygwin@cygwin.com
Subject: Re: Backspace and C-h in emacs -nw


In order to prevent ^H from being mistaken for DEL, try to include a

   stty erase ^-

in your ~/.profile.

Dirk


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-08-27  3:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-26  8:30 Backspace and C-h in emacs -nw Peter Ring
2002-08-26  9:24 ` Joe Buehler
2002-08-27  1:19 Dirk.Sondermann
2002-08-27  3:26 Peter Ring

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