|
Karsten Hopp |
726954 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
726954 |
Subject: Patch 7.3.944
|
|
Karsten Hopp |
726954 |
Fcc: outbox
|
|
Karsten Hopp |
726954 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
726954 |
Mime-Version: 1.0
|
|
Karsten Hopp |
726954 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
726954 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
726954 |
------------
|
|
Karsten Hopp |
726954 |
|
|
Karsten Hopp |
726954 |
Patch 7.3.944
|
|
Karsten Hopp |
726954 |
Problem: External program receives the termrespone.
|
|
Karsten Hopp |
726954 |
Solution: Insert a delay and discard input. (Hayaki Saito)
|
|
Karsten Hopp |
726954 |
Files: src/term.c
|
|
Karsten Hopp |
726954 |
|
|
Karsten Hopp |
726954 |
|
|
Karsten Hopp |
726954 |
*** ../vim-7.3.943/src/term.c 2013-04-06 14:30:35.000000000 +0200
|
|
Karsten Hopp |
726954 |
--- src/term.c 2013-05-13 20:24:14.000000000 +0200
|
|
Karsten Hopp |
726954 |
***************
|
|
Karsten Hopp |
726954 |
*** 3253,3261 ****
|
|
Karsten Hopp |
726954 |
if (!gui.in_use && !gui.starting)
|
|
Karsten Hopp |
726954 |
# endif
|
|
Karsten Hopp |
726954 |
{
|
|
Karsten Hopp |
726954 |
! /* May need to check for T_CRV response. */
|
|
Karsten Hopp |
726954 |
if (crv_status == CRV_SENT || u7_status == U7_SENT)
|
|
Karsten Hopp |
726954 |
! (void)vpeekc_nomap();
|
|
Karsten Hopp |
726954 |
/* Check for termcodes first, otherwise an external program may
|
|
Karsten Hopp |
726954 |
* get them. */
|
|
Karsten Hopp |
726954 |
check_for_codes_from_term();
|
|
Karsten Hopp |
726954 |
--- 3253,3271 ----
|
|
Karsten Hopp |
726954 |
if (!gui.in_use && !gui.starting)
|
|
Karsten Hopp |
726954 |
# endif
|
|
Karsten Hopp |
726954 |
{
|
|
Karsten Hopp |
726954 |
! /* May need to discard T_CRV or T_U7 response. */
|
|
Karsten Hopp |
726954 |
if (crv_status == CRV_SENT || u7_status == U7_SENT)
|
|
Karsten Hopp |
726954 |
! {
|
|
Karsten Hopp |
726954 |
! # ifdef UNIX
|
|
Karsten Hopp |
726954 |
! /* Give the terminal a chance to respond. */
|
|
Karsten Hopp |
726954 |
! mch_delay(100L, FALSE);
|
|
Karsten Hopp |
726954 |
! # endif
|
|
Karsten Hopp |
726954 |
! # ifdef TCIFLUSH
|
|
Karsten Hopp |
726954 |
! /* Discard data received but not read. */
|
|
Karsten Hopp |
726954 |
! if (exiting)
|
|
Karsten Hopp |
726954 |
! tcflush(fileno(stdin), TCIFLUSH);
|
|
Karsten Hopp |
726954 |
! # endif
|
|
Karsten Hopp |
726954 |
! }
|
|
Karsten Hopp |
726954 |
/* Check for termcodes first, otherwise an external program may
|
|
Karsten Hopp |
726954 |
* get them. */
|
|
Karsten Hopp |
726954 |
check_for_codes_from_term();
|
|
Karsten Hopp |
726954 |
*** ../vim-7.3.943/src/version.c 2013-05-12 21:16:17.000000000 +0200
|
|
Karsten Hopp |
726954 |
--- src/version.c 2013-05-13 20:24:29.000000000 +0200
|
|
Karsten Hopp |
726954 |
***************
|
|
Karsten Hopp |
726954 |
*** 730,731 ****
|
|
Karsten Hopp |
726954 |
--- 730,733 ----
|
|
Karsten Hopp |
726954 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
726954 |
+ /**/
|
|
Karsten Hopp |
726954 |
+ 944,
|
|
Karsten Hopp |
726954 |
/**/
|
|
Karsten Hopp |
726954 |
|
|
Karsten Hopp |
726954 |
--
|
|
Karsten Hopp |
726954 |
DENNIS: Listen -- strange women lying in ponds distributing swords is no
|
|
Karsten Hopp |
726954 |
basis for a system of government. Supreme executive power derives
|
|
Karsten Hopp |
726954 |
from a mandate from the masses, not from some farcical aquatic
|
|
Karsten Hopp |
726954 |
ceremony.
|
|
Karsten Hopp |
726954 |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
726954 |
|
|
Karsten Hopp |
726954 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
726954 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
726954 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
726954 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|