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.4.20 < prev    next >
Encoding:
Internet Message Format  |  1999-08-09  |  3.3 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.4.20
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Just a small one...
  8.  
  9. Patch 5.4.20
  10. Problem:    GTK: When starting gvim, would send escape sequences to the
  11.             terminal to switch the cursor off and on.
  12. Solution:   Don't call msg_start() if the GUI is expected to start.
  13. Files:      src/main.c
  14.  
  15.  
  16. *** ../vim-5.4/src/main.c    Sun Jul 25 22:02:04 1999
  17. --- src/main.c    Tue Aug 10 14:00:10 1999
  18. ***************
  19. *** 798,804 ****
  20.   #else
  21.   # ifdef USE_GUI_X11
  22.       /*
  23. !      * Check if the GUI can be started.  reset gui.starting if it not
  24.        * Can't do this with GTK, need to fork first.
  25.        * Don't know about other systems, stay on the safe side and don't check.
  26.        */
  27. --- 798,804 ----
  28.   #else
  29.   # ifdef USE_GUI_X11
  30.       /*
  31. !      * Check if the GUI can be started.  Reset gui.starting if not.
  32.        * Can't do this with GTK, need to fork first.
  33.        * Don't know about other systems, stay on the safe side and don't check.
  34.        */
  35. ***************
  36. *** 910,916 ****
  37.       firstwin->w_height = Rows - 1;
  38.       cmdline_row = Rows - 1;
  39.   
  40. !     if (full_screen)
  41.       msg_start();        /* in case a mapping or error message is printed */
  42.       msg_scroll = TRUE;
  43.       no_wait_return = TRUE;
  44. --- 911,926 ----
  45.       firstwin->w_height = Rows - 1;
  46.       cmdline_row = Rows - 1;
  47.   
  48. !     /*
  49. !      * Don't call msg_start() if the GUI is expected to start, it switches the
  50. !      * cursor off.  Only need to avoid it when want_full_screen could not have
  51. !      * been reset above.
  52. !      */
  53. !     if (full_screen
  54. ! #if defined(USE_GUI) && !defined(ALWAYS_USE_GUI) && !defined(USE_GUI_X11)
  55. !         && !gui.starting
  56. ! #endif
  57. !        )
  58.       msg_start();        /* in case a mapping or error message is printed */
  59.       msg_scroll = TRUE;
  60.       no_wait_return = TRUE;
  61. *** src/version.h~    Mon Aug  9 23:43:19 1999
  62. --- src/version.h    Tue Aug 10 13:55:41 1999
  63. ***************
  64. *** 19,26 ****
  65.   #define VIM_VERSION_MINOR_STR        "4"
  66.   #define VIM_VERSION_BUILD         57
  67.   #define VIM_VERSION_BUILD_STR        "57"
  68. ! #define VIM_VERSION_PATCHLEVEL         19
  69. ! #define VIM_VERSION_PATCHLEVEL_STR    "19"
  70.   
  71.   /*
  72.    * VIM_VERSION_NODOT is used for the runtime directory name.
  73. --- 19,26 ----
  74.   #define VIM_VERSION_MINOR_STR        "4"
  75.   #define VIM_VERSION_BUILD         57
  76.   #define VIM_VERSION_BUILD_STR        "57"
  77. ! #define VIM_VERSION_PATCHLEVEL         20
  78. ! #define VIM_VERSION_PATCHLEVEL_STR    "20"
  79.   
  80.   /*
  81.    * VIM_VERSION_NODOT is used for the runtime directory name.
  82. ***************
  83. *** 30,35 ****
  84.    */
  85.   #define VIM_VERSION_NODOT    "vim54"
  86.   #define VIM_VERSION_SHORT    "5.4"
  87. ! #define VIM_VERSION_MEDIUM    "5.4.19"
  88. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.19 (1999 Aug 9)"
  89. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.19 (1999 Aug 9, compiled "
  90. --- 30,35 ----
  91.    */
  92.   #define VIM_VERSION_NODOT    "vim54"
  93.   #define VIM_VERSION_SHORT    "5.4"
  94. ! #define VIM_VERSION_MEDIUM    "5.4.20"
  95. ! #define VIM_VERSION_LONG    "VIM - Vi IMproved 5.4.20 (1999 Aug 10)"
  96. ! #define VIM_VERSION_LONG_DATE    "VIM - Vi IMproved 5.4.20 (1999 Aug 10, compiled "
  97.  
  98. --
  99. hundred-and-one symptoms of being an internet addict:
  100. 18. Your wife drapes a blond wig over your monitor to remind you of what she
  101.     looks like.
  102.  
  103. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  104.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  105.