Karsten Hopp e30519
To: vim-dev@vim.org
Karsten Hopp e30519
Subject: Patch 7.1.246
Karsten Hopp e30519
Fcc: outbox
Karsten Hopp e30519
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp e30519
Mime-Version: 1.0
Karsten Hopp e30519
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp e30519
Content-Transfer-Encoding: 8bit
Karsten Hopp e30519
------------
Karsten Hopp e30519
Karsten Hopp e30519
Patch 7.1.246
Karsten Hopp e30519
Problem:    Configure hangs when the man pager is something strange. (lorien)
Karsten Hopp e30519
Solution:   Set MANPAGER and PAGER to "cat". (Micah Cowan)
Karsten Hopp e30519
Files:	    src/auto/configure, src/configure.in
Karsten Hopp e30519
Karsten Hopp e30519
Karsten Hopp e30519
*** ../vim-7.1.245/src/auto/configure	Tue Jan  1 16:25:33 2008
Karsten Hopp e30519
--- src/auto/configure	Wed Feb 13 10:22:56 2008
Karsten Hopp e30519
***************
Karsten Hopp e30519
*** 14259,14265 ****
Karsten Hopp e30519
  echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
Karsten Hopp e30519
  echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
Karsten Hopp e30519
  MANDEF="man"
Karsten Hopp e30519
! (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
Karsten Hopp e30519
  echo "$as_me:$LINENO: result: $MANDEF" >&5
Karsten Hopp e30519
  echo "${ECHO_T}$MANDEF" >&6
Karsten Hopp e30519
  if test "$MANDEF" = "man -s"; then
Karsten Hopp e30519
--- 14259,14265 ----
Karsten Hopp e30519
  echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
Karsten Hopp e30519
  echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
Karsten Hopp e30519
  MANDEF="man"
Karsten Hopp e30519
! (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s"
Karsten Hopp e30519
  echo "$as_me:$LINENO: result: $MANDEF" >&5
Karsten Hopp e30519
  echo "${ECHO_T}$MANDEF" >&6
Karsten Hopp e30519
  if test "$MANDEF" = "man -s"; then
Karsten Hopp e30519
*** ../vim-7.1.245/src/configure.in	Tue Jan  1 16:25:33 2008
Karsten Hopp e30519
--- src/configure.in	Fri Jan 25 20:51:51 2008
Karsten Hopp e30519
***************
Karsten Hopp e30519
*** 2726,2732 ****
Karsten Hopp e30519
  dnl Check how we can run man with a section number
Karsten Hopp e30519
  AC_MSG_CHECKING(how to run man with a section nr)
Karsten Hopp e30519
  MANDEF="man"
Karsten Hopp e30519
! (eval man -s 2 read) < /dev/null > /dev/null 2>&AC_FD_CC && MANDEF="man -s"
Karsten Hopp e30519
  AC_MSG_RESULT($MANDEF)
Karsten Hopp e30519
  if test "$MANDEF" = "man -s"; then
Karsten Hopp e30519
    AC_DEFINE(USEMAN_S)
Karsten Hopp e30519
--- 2726,2732 ----
Karsten Hopp e30519
  dnl Check how we can run man with a section number
Karsten Hopp e30519
  AC_MSG_CHECKING(how to run man with a section nr)
Karsten Hopp e30519
  MANDEF="man"
Karsten Hopp e30519
! (eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 2>&AC_FD_CC && MANDEF="man -s"
Karsten Hopp e30519
  AC_MSG_RESULT($MANDEF)
Karsten Hopp e30519
  if test "$MANDEF" = "man -s"; then
Karsten Hopp e30519
    AC_DEFINE(USEMAN_S)
Karsten Hopp e30519
*** ../vim-7.1.245/src/version.c	Sun Feb 10 22:25:12 2008
Karsten Hopp e30519
--- src/version.c	Wed Feb 13 10:26:47 2008
Karsten Hopp e30519
***************
Karsten Hopp e30519
*** 668,669 ****
Karsten Hopp e30519
--- 668,671 ----
Karsten Hopp e30519
  {   /* Add new patch number below this line */
Karsten Hopp e30519
+ /**/
Karsten Hopp e30519
+     246,
Karsten Hopp e30519
  /**/
Karsten Hopp e30519
Karsten Hopp e30519
-- 
Karsten Hopp e30519
Anyone who is capable of getting themselves made President should on no
Karsten Hopp e30519
account be allowed to do the job.
Karsten Hopp e30519
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
Karsten Hopp e30519
Karsten Hopp e30519
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp e30519
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp e30519
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp e30519
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///