Karsten Hopp f96650
To: vim_dev@googlegroups.com
Karsten Hopp f96650
Subject: Patch 7.3.364
Karsten Hopp f96650
Fcc: outbox
Karsten Hopp f96650
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp f96650
Mime-Version: 1.0
Karsten Hopp f96650
Content-Type: text/plain; charset=UTF-8
Karsten Hopp f96650
Content-Transfer-Encoding: 8bit
Karsten Hopp f96650
------------
Karsten Hopp f96650
Karsten Hopp f96650
Patch 7.3.364 (after 7.3.353)
Karsten Hopp f96650
Problem:    Can't compile on HP-UX. (John Marriott)
Karsten Hopp f96650
Solution:   Only use TTYM_URXVT when it is defined.
Karsten Hopp f96650
Files:	    src/term.c
Karsten Hopp f96650
Karsten Hopp f96650
Karsten Hopp f96650
*** ../vim-7.3.363/src/term.c	2011-11-30 14:47:12.000000000 +0100
Karsten Hopp f96650
--- src/term.c	2011-12-01 20:53:57.000000000 +0100
Karsten Hopp f96650
***************
Karsten Hopp f96650
*** 4060,4066 ****
Karsten Hopp f96650
  		    if (tp[1 + (tp[0] != CSI)] == '>' && j == 2)
Karsten Hopp f96650
  		    {
Karsten Hopp f96650
  			/* if xterm version >= 95 use mouse dragging */
Karsten Hopp f96650
! 			if (extra >= 95 && ttym_flags != TTYM_URXVT)
Karsten Hopp f96650
  			    set_option_value((char_u *)"ttym", 0L,
Karsten Hopp f96650
  						       (char_u *)"xterm2", 0);
Karsten Hopp f96650
  			/* if xterm version >= 141 try to get termcap codes */
Karsten Hopp f96650
--- 4060,4070 ----
Karsten Hopp f96650
  		    if (tp[1 + (tp[0] != CSI)] == '>' && j == 2)
Karsten Hopp f96650
  		    {
Karsten Hopp f96650
  			/* if xterm version >= 95 use mouse dragging */
Karsten Hopp f96650
! 			if (extra >= 95
Karsten Hopp f96650
! # ifdef TTYM_URXVT
Karsten Hopp f96650
! 				&& ttym_flags != TTYM_URXVT
Karsten Hopp f96650
! # endif
Karsten Hopp f96650
! 				)
Karsten Hopp f96650
  			    set_option_value((char_u *)"ttym", 0L,
Karsten Hopp f96650
  						       (char_u *)"xterm2", 0);
Karsten Hopp f96650
  			/* if xterm version >= 141 try to get termcap codes */
Karsten Hopp f96650
*** ../vim-7.3.363/src/version.c	2011-11-30 17:20:18.000000000 +0100
Karsten Hopp f96650
--- src/version.c	2011-12-01 20:56:55.000000000 +0100
Karsten Hopp f96650
***************
Karsten Hopp f96650
*** 716,717 ****
Karsten Hopp f96650
--- 716,719 ----
Karsten Hopp f96650
  {   /* Add new patch number below this line */
Karsten Hopp f96650
+ /**/
Karsten Hopp f96650
+     364,
Karsten Hopp f96650
  /**/
Karsten Hopp f96650
Karsten Hopp f96650
-- 
Karsten Hopp f96650
hundred-and-one symptoms of being an internet addict:
Karsten Hopp f96650
224. You set up your own Web page. You set up a Web page for each
Karsten Hopp f96650
     of your kids... and your pets.
Karsten Hopp f96650
Karsten Hopp f96650
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp f96650
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp f96650
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp f96650
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///