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 / 6.1.191 < prev    next >
Encoding:
Internet Message Format  |  2002-09-22  |  2.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.191
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.191
  11. Problem:    When using "vim -s script" and redirecting the output, the delay
  12.         for the "Output is not to a terminal" warning slows Vim down too
  13.         much.
  14. Solution:   Don't delay when reading commands from a script.
  15. Files:        src/main.c
  16.  
  17.  
  18. *** ../vim61.190/src/main.c    Mon Sep 23 21:05:32 2002
  19. --- src/main.c    Fri Sep 20 22:00:52 2002
  20. ***************
  21. *** 1157,1163 ****
  22.       if (!input_isatty)
  23.           mch_errmsg(_("Vim: Warning: Input is not from a terminal\n"));
  24.       out_flush();
  25. !     ui_delay(2000L, TRUE);
  26.       TIME_MSG("Warning delay");
  27.       }
  28.   
  29. --- 1157,1164 ----
  30.       if (!input_isatty)
  31.           mch_errmsg(_("Vim: Warning: Input is not from a terminal\n"));
  32.       out_flush();
  33. !     if (scriptin[0] == NULL)
  34. !         ui_delay(2000L, TRUE);
  35.       TIME_MSG("Warning delay");
  36.       }
  37.   
  38. *** ../vim61.190/src/version.c    Mon Sep 23 21:05:32 2002
  39. --- src/version.c    Mon Sep 23 21:08:06 2002
  40. ***************
  41. *** 608,609 ****
  42. --- 608,611 ----
  43.   {   /* Add new patch number below this line */
  44. + /**/
  45. +     191,
  46.   /**/
  47.  
  48. -- 
  49. The startling truth finally became apparent, and it was this: Numbers
  50. written on restaurant checks within the confines of restaurants do not follow
  51. the same mathematical laws as numbers written on any other pieces of paper in
  52. any other parts of the Universe.  This single statement took the scientific
  53. world by storm.  So many mathematical conferences got held in such good
  54. restaurants that many of the finest minds of a generation died of obesity and
  55. heart failure, and the science of mathematics was put back by years.
  56.         -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
  57.  
  58.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  59. ///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
  60. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  61.  \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
  62.