-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

lorien wrote:
> Micah Cowan wrote:
>> lorien wrote:
>>> i found a little bug in the configure script
>>> if your pager is not 'standart' i.e. less or more
>>> the installer will hang at
>>> file: gvim-7.1.123/work/vim71/src/auto/configure ( on my gentoo )
>>> 14458:echo $ECHO_N "checking how to run man with a section nr... 
>>> $ECHO_C" >&6; }
>>> line 14460:( eval man -s 2 read ) < /dev/null > /dev/null 2>&5
>>> never comes out again
>>> if i change from my normal pager ( reed ) to less there is no problem
>> Does it work if you change that line to (pardon the wrapping):
>>
>> ( eval MANPAGER=cat PAGER=cat man -s 2 read ) < /dev/null > /dev/null 2>&5
>>
>> ?
>>
> 
> that did the trick :)
> its in line 14215 in the normal /vim71/src/auto/configure ( i.e. not 
> emerge )

Well, the vim developers would want to make the change in
src/configure.in, anyway, and not auto/configure. Suggested patch included.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmQR17M8hyUobTrERAkTFAJ46qHJ2vtsL7XxyoKBqIncwj5pvOwCfW6pm
W+HRm7UiU2Nwxa2FBndhpGY=
=yFH2
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Index: configure.in
===================================================================
--- configure.in        (revision 855)
+++ configure.in        (working copy)
@@ -2726,7 +2726,7 @@
 dnl Check how we can run man with a section number
 AC_MSG_CHECKING(how to run man with a section nr)
 MANDEF="man"
-(eval man -s 2 read) < /dev/null > /dev/null 2>&AC_FD_CC && MANDEF="man -s"
+(eval MANPAGER=cat PAGER=cat man -s 2 read) < /dev/null > /dev/null 
2>&AC_FD_CC && MANDEF="man -s"
 AC_MSG_RESULT($MANDEF)
 if test "$MANDEF" = "man -s"; then
   AC_DEFINE(USEMAN_S)

Attachment: configure-manpager.diff.sig
Description: Binary data

Raspunde prin e-mail lui