home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / old / 5.6.084 < prev    next >
Encoding:
Internet Message Format  |  2000-06-04  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.6.084
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.6.084 (depends on 5.6.074)
  8. Problem:    GUI: Entering CSI doesn't always work for Athena and Motif.
  9. Solution:   Handle typed CSI as <xCSI> (forgot this bit in 5.6.074).
  10. Files:        src/gui_x11.c
  11.  
  12.  
  13. *** ../vim-5.6.83/src/gui_x11.c    Mon Jun  5 11:40:20 2000
  14. --- src/gui_x11.c    Sun Apr 16 12:02:10 2000
  15. ***************
  16. *** 726,731 ****
  17. --- 726,740 ----
  18.       trash_input_buf();
  19.       got_int = TRUE;
  20.       }
  21. +     if (len == 1 && string[0] == CSI)
  22. +     {
  23. +     /* Turn CSI into K_CSI. */
  24. +     string[1] = KS_EXTRA;
  25. +     string[2] = KE_CSI;
  26. +     len = 3;
  27. +     }
  28.       add_to_input_buf(string, len);
  29.   
  30.   #ifdef USE_XIM
  31. *** ../vim-5.6.83/src/version.c    Mon Jun  5 11:40:20 2000
  32. --- src/version.c    Mon Jun  5 12:09:02 2000
  33. ***************
  34. *** 420,421 ****
  35. --- 420,423 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     84,
  39.   /**/
  40.  
  41. -- 
  42. FIRST SOLDIER:  So they wouldn't be able to bring a coconut back anyway.
  43. SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together?
  44. FIRST SOLDIER:  No, they'd have to have it on a line.
  45.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  46.  
  47. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\
  48. \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
  49.