To: vim-dev@vim.org Subject: Patch 6.1.450 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.450 Problem: Termcap entry "kB" for back-tab is not recognized. Solution: Use back-tab as the shift-tab code. Files: src/keymap.h, src/misc2.c, src/term.c *** ../vim61.449/src/keymap.h Sat Mar 15 17:55:18 2003 --- src/keymap.h Sun Apr 6 21:27:52 2003 *************** *** 197,203 **** , KE_IGNORE /* Ignored mouse drag/release */ , KE_TAB /* unshifted TAB key */ ! , KE_S_TAB /* shifted TAB key */ , KE_SNIFF /* SNiFF+ input waiting */ --- 197,203 ---- , KE_IGNORE /* Ignored mouse drag/release */ , KE_TAB /* unshifted TAB key */ ! , KE_S_TAB_OLD /* shifted TAB key (no longer used) */ , KE_SNIFF /* SNiFF+ input waiting */ *************** *** 260,266 **** #define K_S_END TERMCAP2KEY('*', '7') #define K_C_END TERMCAP2KEY(KS_EXTRA, KE_C_END) #define K_TAB TERMCAP2KEY(KS_EXTRA, KE_TAB) ! #define K_S_TAB TERMCAP2KEY(KS_EXTRA, KE_S_TAB) /* extra set of function keys F1-F4, for vt100 compatible xterm */ #define K_XF1 TERMCAP2KEY(KS_EXTRA, KE_XF1) --- 260,266 ---- #define K_S_END TERMCAP2KEY('*', '7') #define K_C_END TERMCAP2KEY(KS_EXTRA, KE_C_END) #define K_TAB TERMCAP2KEY(KS_EXTRA, KE_TAB) ! #define K_S_TAB TERMCAP2KEY('k', 'B') /* extra set of function keys F1-F4, for vt100 compatible xterm */ #define K_XF1 TERMCAP2KEY(KS_EXTRA, KE_XF1) *** ../vim61.449/src/misc2.c Sat Mar 15 17:55:18 2003 --- src/misc2.c Sun Apr 6 21:29:12 2003 *************** *** 1740,1746 **** MOD_MASK_SHIFT, KS_EXTRA, (int)KE_S_F37, 'F', 'R', /* TAB pseudo code*/ ! MOD_MASK_SHIFT, KS_EXTRA, (int)KE_S_TAB, KS_EXTRA, (int)KE_TAB, NUL }; --- 1740,1746 ---- MOD_MASK_SHIFT, KS_EXTRA, (int)KE_S_F37, 'F', 'R', /* TAB pseudo code*/ ! MOD_MASK_SHIFT, 'k', 'B', KS_EXTRA, (int)KE_TAB, NUL }; *** ../vim61.449/src/term.c Sat Mar 15 17:55:19 2003 --- src/term.c Sun Apr 6 21:24:05 2003 *************** *** 1539,1545 **** "k1", "k2", "k3", "k4", "k5", "k6", "k7", "k8", "k9", "k;", "F1", "F2", "%1", "&8", "kb", "kI", "kD", "kh", ! "@7", "kP", "kN", "K1", "K3", "K4", "K5", NULL }; #endif --- 1539,1545 ---- "k1", "k2", "k3", "k4", "k5", "k6", "k7", "k8", "k9", "k;", "F1", "F2", "%1", "&8", "kb", "kI", "kD", "kh", ! "@7", "kP", "kN", "K1", "K3", "K4", "K5", "kB", NULL }; #endif *** ../vim61.449/src/version.c Sun Apr 6 16:17:24 2003 --- src/version.c Sun Apr 6 21:52:12 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 450, /**/ -- ARTHUR: Go on, Bors, chop its head off. BORS: Right. Silly little bleeder. One rabbit stew coming up. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///