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.042 < prev    next >
Encoding:
Internet Message Format  |  2000-03-29  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.6.042
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.6.042
  8. Problem:    When doing "vim -u vimrc" and vimrc contains ":q", the cursor in
  9.         the terminal can remain off.
  10. Solution:   Call cursor_on() in mch_windexit().
  11. Files:        src/os_unix.c
  12.  
  13.  
  14. *** ../vim-5.6.41/src/os_unix.c    Tue Mar 28 17:54:16 2000
  15. --- src/os_unix.c    Thu Mar 30 16:23:32 2000
  16. ***************
  17. *** 1700,1705 ****
  18. --- 1700,1710 ----
  19.           out_char('\n');
  20.       else
  21.           msg_clr_eos();    /* clear the rest of the display */
  22. +     /* Cursor may have been switched off without calling starttermcap()
  23. +      * when doing "vim -u vimrc" and vimrc contains ":q". */
  24. +     if (full_screen)
  25. +         cursor_on();
  26.       }
  27.       out_flush();
  28.       ml_close_all(TRUE);        /* remove all memfiles */
  29. *** ../vim-5.6.41/src/version.c    Thu Mar 30 16:51:36 2000
  30. --- src/version.c    Thu Mar 30 16:56:19 2000
  31. ***************
  32. *** 420,421 ****
  33. --- 420,423 ----
  34.   {   /* Add new patch number below this line */
  35. + /**/
  36. +     42,
  37.   /**/
  38.  
  39. -- 
  40.    [SIR LAUNCELOT runs back up the stairs, grabs a rope
  41.    of the wall and swings out over the heads of the CROWD in a
  42.    swashbuckling manner towards a large window.  He stops just short
  43.    of the window and is left swing pathetically back and forth.]
  44. LAUNCELOT: Excuse me ... could somebody give me a push ...
  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.