home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.062 < prev    next >
Encoding:
Internet Message Format  |  2002-05-11  |  2.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.062
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.062
  11. Problem:    The "man" filetype plugin doesn't work properly on Solaris 5.
  12. Solution:   Use a different way to detect that "man -s" should be used. (Hugh
  13.         Sasse)
  14. Files:        runtime/ftplugin/man.vim
  15.  
  16.  
  17. *** ../vim61.061/runtime/ftplugin/man.vim    Thu Sep 20 11:26:58 2001
  18. --- runtime/ftplugin/man.vim    Sun May 12 14:17:41 2002
  19. ***************
  20. *** 1,7 ****
  21.   " Vim filetype plugin file
  22.   " Language:    man
  23.   " Maintainer:    Nam SungHyun <namsh@kldp.org>
  24. ! " Last Change:    2001 Sep 20
  25.   
  26.   " To make the ":Man" command available before editing a manual page, source
  27.   " this script from your startup vimrc file.
  28. --- 1,7 ----
  29.   " Vim filetype plugin file
  30.   " Language:    man
  31.   " Maintainer:    Nam SungHyun <namsh@kldp.org>
  32. ! " Last Change:    2002 May 12
  33.   
  34.   " To make the ":Man" command available before editing a manual page, source
  35.   " this script from your startup vimrc file.
  36. ***************
  37. *** 41,47 ****
  38.   
  39.   let s:man_tag_depth = 0
  40.   
  41. ! if $OSTYPE =~ "solaris"
  42.     let s:man_sect_arg = "-s"
  43.     let s:man_find_arg = "-l"
  44.   else
  45. --- 41,47 ----
  46.   
  47.   let s:man_tag_depth = 0
  48.   
  49. ! if system('uname -s') =~ "SunOS" && system('uname -r') =~ "^5"
  50.     let s:man_sect_arg = "-s"
  51.     let s:man_find_arg = "-l"
  52.   else
  53. ***************
  54. *** 80,86 ****
  55.   func <SID>FindPage(sect, page)
  56.     let where = system("/usr/bin/man ".s:man_find_arg.' '.s:GetCmdArg(a:sect, a:page))
  57.     if where !~ "^/"
  58. !     if substitute(where, ".* \\(.*$\\)", "\\1", "") !~ "^/"
  59.         return 0
  60.       endif
  61.     endif
  62. --- 80,86 ----
  63.   func <SID>FindPage(sect, page)
  64.     let where = system("/usr/bin/man ".s:man_find_arg.' '.s:GetCmdArg(a:sect, a:page))
  65.     if where !~ "^/"
  66. !     if matchstr(where, " [^ ]*$") !~ "^ /"
  67.         return 0
  68.       endif
  69.     endif
  70. *** ../vim61.061/src/version.c    Sat May 11 20:59:21 2002
  71. --- src/version.c    Sun May 12 14:28:12 2002
  72. ***************
  73. *** 608,609 ****
  74. --- 608,611 ----
  75.   {   /* Add new patch number below this line */
  76. + /**/
  77. +     62,
  78.   /**/
  79.  
  80. -- 
  81. A salesperson says:            Translation:
  82. "backward compatible"          Old technology
  83. "Premium"                      Overpriced
  84. "Can't keep it on the shelf"   Unavailable
  85. "Stands alone"                 Piece of shit
  86. "Proprietary"                  Incompatible
  87.                 (Scott Adams - The Dilbert principle)
  88.  
  89.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  90. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  91. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  92.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  93.