|
Karsten Hopp |
e3f5b9 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
e3f5b9 |
Subject: Patch 7.3.337
|
|
Karsten Hopp |
e3f5b9 |
Fcc: outbox
|
|
Karsten Hopp |
e3f5b9 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
e3f5b9 |
Mime-Version: 1.0
|
|
Karsten Hopp |
e3f5b9 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
e3f5b9 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
e3f5b9 |
------------
|
|
Karsten Hopp |
e3f5b9 |
|
|
Karsten Hopp |
e3f5b9 |
Patch 7.3.337 (after 7.3.295)
|
|
Karsten Hopp |
e3f5b9 |
Problem: Screen doesn't update after resizing the xterm until a character
|
|
Karsten Hopp |
e3f5b9 |
is typed.
|
|
Karsten Hopp |
e3f5b9 |
Solution: When the select call is interrupted check do_resize. (Taylor
|
|
Karsten Hopp |
e3f5b9 |
Hedberg)
|
|
Karsten Hopp |
e3f5b9 |
Files: src/os_unix.c
|
|
Karsten Hopp |
e3f5b9 |
|
|
Karsten Hopp |
e3f5b9 |
|
|
Karsten Hopp |
e3f5b9 |
*** ../vim-7.3.336/src/os_unix.c 2011-09-08 23:24:09.000000000 +0200
|
|
Karsten Hopp |
e3f5b9 |
--- src/os_unix.c 2011-10-12 20:57:15.000000000 +0200
|
|
Karsten Hopp |
e3f5b9 |
***************
|
|
Karsten Hopp |
e3f5b9 |
*** 5146,5156 ****
|
|
Karsten Hopp |
e3f5b9 |
--- 5146,5163 ----
|
|
Karsten Hopp |
e3f5b9 |
# endif
|
|
Karsten Hopp |
e3f5b9 |
# ifdef EINTR
|
|
Karsten Hopp |
e3f5b9 |
if (ret == -1 && errno == EINTR)
|
|
Karsten Hopp |
e3f5b9 |
+ {
|
|
Karsten Hopp |
e3f5b9 |
+ /* Check whether window has been resized, EINTR may be caused by
|
|
Karsten Hopp |
e3f5b9 |
+ * SIGWINCH. */
|
|
Karsten Hopp |
e3f5b9 |
+ if (do_resize)
|
|
Karsten Hopp |
e3f5b9 |
+ handle_resize();
|
|
Karsten Hopp |
e3f5b9 |
+
|
|
Karsten Hopp |
e3f5b9 |
/* Interrupted by a signal, need to try again. We ignore msec
|
|
Karsten Hopp |
e3f5b9 |
* here, because we do want to check even after a timeout if
|
|
Karsten Hopp |
e3f5b9 |
* characters are available. Needed for reading output of an
|
|
Karsten Hopp |
e3f5b9 |
* external command after the process has finished. */
|
|
Karsten Hopp |
e3f5b9 |
goto select_eintr;
|
|
Karsten Hopp |
e3f5b9 |
+ }
|
|
Karsten Hopp |
e3f5b9 |
# endif
|
|
Karsten Hopp |
e3f5b9 |
# ifdef __TANDEM
|
|
Karsten Hopp |
e3f5b9 |
if (ret == -1 && errno == ENOTSUP)
|
|
Karsten Hopp |
e3f5b9 |
*** ../vim-7.3.336/src/version.c 2011-10-12 19:53:31.000000000 +0200
|
|
Karsten Hopp |
e3f5b9 |
--- src/version.c 2011-10-12 21:03:47.000000000 +0200
|
|
Karsten Hopp |
e3f5b9 |
***************
|
|
Karsten Hopp |
e3f5b9 |
*** 711,712 ****
|
|
Karsten Hopp |
e3f5b9 |
--- 711,714 ----
|
|
Karsten Hopp |
e3f5b9 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
e3f5b9 |
+ /**/
|
|
Karsten Hopp |
e3f5b9 |
+ 337,
|
|
Karsten Hopp |
e3f5b9 |
/**/
|
|
Karsten Hopp |
e3f5b9 |
|
|
Karsten Hopp |
e3f5b9 |
--
|
|
Karsten Hopp |
e3f5b9 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
e3f5b9 |
64. The remote to the T.V. is missing...and you don't even care.
|
|
Karsten Hopp |
e3f5b9 |
|
|
Karsten Hopp |
e3f5b9 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
e3f5b9 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
e3f5b9 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
e3f5b9 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|