Submitted 31-Aug-00 by Anton Graham:
> I don't really know enough to find and fix the real problem.

Spoke too soon :p  Had it been a terminfo problem, I wouldn't have had a
clue :)

The offending section of code is in src/feature.h.in.  For some reason, the
default behavior is not what the docs say is the default behavior.
Essentially, they comment out a variable definition (which would cause it to
use the X server default, same net effect) and then remap the key to ^?
based on that variable not being defined.

The attached patch comments out the redefinition of the delete key, allowing
it to send ^[[3~ by default.

-- 
Anton Graham                            GPG ID: 0x18F78541
<[EMAIL PROTECTED]>                 RSA key available upon request
 
A copy of the universe is not what is required of art; one of the damned
things is ample.
  -- Rebecca West

--- src/feature.h.in.orig       Wed Aug 18 16:54:24 1999
+++ src/feature.h.in    Thu Aug 31 19:16:15 2000
@@ -214,9 +214,9 @@
 
 /* Force the delete key to send ^? instead of ESC [ 3 ~ */
 /* #define KS_DELETE "\177" */
-#ifndef NO_DELETE_KEY
-# define KS_DELETE "\177"
-#endif
+/* #ifndef NO_DELETE_KEY */
+/* # define KS_DELETE "\177"*/
+/* #endif */
 
 /* Force the Backspace key to send ^H instead of checking the stty setting */
 #define FORCE_BACKSPACE

Reply via email to