Subject: Re: curses!
To: NetBSD current-users mailing list <>
From: Julian Coleman <>
List: current-users
Date: 05/31/2000 13:58:59
> Right again! And now I even have the pretty arrows in mutt

Pretty arrows?

> I even removed all remapping. My impression was that backspace/delete/rubout
> or whatever the options are would give ^H or ^?, whereas I get ^[[3;5~
> This happens with sh and csh in new xterm, not with 1st May xterm.

Hmm, I guess this is to do with the 'kD' (sent by delete-character key) entry
in our termcap.  Most entries have 'kD=\E[3~', which is the combination sent
by the 'Del' key (below 'Insert').  However, the xterm-xf86-v32 entry has
'kD=\177', which (I guess) is sent by a keyboard with a \real\ 'Delete' key.

I did wonder whether we should change our entry, as there seems to be no way
to distinguish between 'Delete' and 'Del' keys if they send different
sequences.  Of course, this only bites people who use 'Delete' to delete, as
opposed to those who use backspace (cue long discussion ;-).

I'm inclined to change our xterm-xf86-v32 termcap entry :

--- /usr/cvs/sharesrc/share/termcap/termcap.src      Fri May 12 12:23:01 2000
+++ termcap.src Wed May 31 13:19:56 2000
@@ -1758,7 +1758,7 @@
-	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\177:kI=\E[2~:\
+	:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:\

Does this fix the problem?


                    My other computer also runs NetBSD