To: vim-dev@vim.org Subject: Patch 5.6.084 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.084 (depends on 5.6.074) Problem: GUI: Entering CSI doesn't always work for Athena and Motif. Solution: Handle typed CSI as (forgot this bit in 5.6.074). Files: src/gui_x11.c *** ../vim-5.6.83/src/gui_x11.c Mon Jun 5 11:40:20 2000 --- src/gui_x11.c Sun Apr 16 12:02:10 2000 *************** *** 726,731 **** --- 726,740 ---- trash_input_buf(); got_int = TRUE; } + + if (len == 1 && string[0] == CSI) + { + /* Turn CSI into K_CSI. */ + string[1] = KS_EXTRA; + string[2] = KE_CSI; + len = 3; + } + add_to_input_buf(string, len); #ifdef USE_XIM *** ../vim-5.6.83/src/version.c Mon Jun 5 11:40:20 2000 --- src/version.c Mon Jun 5 12:09:02 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 84, /**/ -- FIRST SOLDIER: So they wouldn't be able to bring a coconut back anyway. SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together? FIRST SOLDIER: No, they'd have to have it on a line. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/