From 93c568d8f70f934f4bc54b2f1e2e8d8773b75926 Mon Sep 17 00:00:00 2001 From: rafan Date: Tue, 8 Jan 2008 16:00:24 +0000 Subject: - Remove kH and *6 from xterm. They are defined to the same key as @7 (kp_end). As ncurses has the limitation that it returns the first matched key symbol, you can not use END in ncurses based program, like mutt, with xterm. - Add @8 (kp_enter) definition for xterm so you can use ENTER in xterm with ncurses based program. I also found that NetBSD's xterm does the same thing. PR: 100150 Reported by: Arseny Nasokin Discussed with: Thomas Dickey, Ulrich Spoerlein Reviewed by: freebsd-arch@ MFC after: 2 month --- share/termcap/termcap.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/termcap/termcap.src b/share/termcap/termcap.src index 4bc6716..daed167 100644 --- a/share/termcap/termcap.src +++ b/share/termcap/termcap.src @@ -2805,8 +2805,8 @@ xterm-xfree86|XFree86 xterm:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\ :k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:\ :k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\ - :kH=\EOF:@7=\EOF:kI=\E[2~:\ - :kh=\EOH:*6=\EOF:kP=\E[5~:kN=\E[6~:\ + :@7=\EOF:@8=\EOM:kI=\E[2~:\ + :kh=\EOH:kP=\E[5~:kN=\E[6~:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:Km=\E[M:tc=xterm-basic: # # This chunk is used for building the VT220/Sun/PC keyboard variants. -- cgit v1.1