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.024 < prev    next >
Encoding:
Internet Message Format  |  2000-03-24  |  1.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.6.024 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.6.024 (extra)
  8. Problem:    Win32 console: Entering CTRL-_ requires the shift key. (Kotchan)
  9. Solution:   Specifically catch keycode 0xBD, like the GUI.
  10. Files:        src/os_win32.c
  11.  
  12.  
  13. *** ../vim-5.6.23/src/os_win32.c    Sat Mar 25 18:13:50 2000
  14. --- src/os_win32.c    Sat Mar 25 17:38:48 2000
  15. ***************
  16. *** 502,507 ****
  17. --- 502,513 ----
  18.           *pch = NUL;
  19.           return TRUE;
  20.       }
  21. +     /* Ctrl-- is Ctrl-_ */
  22. +     else if (pker->wVirtualKeyCode == 0xBD)
  23. +     {
  24. +         *pch = Ctrl('_');
  25. +         return TRUE;
  26. +     }
  27.       }
  28.   
  29.       /* Shift-TAB */
  30. *** ../vim-5.6.23/src/version.c    Sat Mar 25 18:13:50 2000
  31. --- src/version.c    Sat Mar 25 18:14:58 2000
  32. ***************
  33. *** 420,421 ****
  34. --- 420,423 ----
  35.   {   /* Add new patch number below this line */
  36. + /**/
  37. +     24,
  38.   /**/
  39.  
  40. -- 
  41. DINGO:   And after the spanking ... the oral sex.
  42. GALAHAD: Oh, dear! Well, I...
  43. GIRLS:   The oral sex ...  The oral sex.
  44. GALAHAD: Well, I suppose I could stay a BIT longer.
  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.