lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
a893458
To: vim_dev@googlegroups.com
a893458
Subject: Patch 7.4.235
a893458
Fcc: outbox
a893458
From: Bram Moolenaar <Bram@moolenaar.net>
a893458
Mime-Version: 1.0
a893458
Content-Type: text/plain; charset=UTF-8
a893458
Content-Transfer-Encoding: 8bit
a893458
------------
a893458
a893458
Patch 7.4.235
a893458
Problem:    It is not easy to get the full path of a command.
a893458
Solution:   Add the exepath() function.
a893458
Files:	    src/eval.c, src/misc1.c, src/os_amiga.c, src/os_msdos.c,
a893458
	    src/os_unix.c, src/os_vms.c, src/os_win32.c,
a893458
	    src/proto/os_amiga.pro, src/proto/os_msdos.pro,
a893458
	    src/proto/os_unix.pro, src/proto/os_win32.pro,
a893458
	    runtime/doc/eval.txt
a893458
a893458
a893458
*** ../vim-7.4.234/src/eval.c	2014-04-01 19:55:46.252787300 +0200
a893458
--- src/eval.c	2014-04-01 20:18:39.212768414 +0200
a893458
***************
a893458
*** 514,519 ****
a893458
--- 514,520 ----
a893458
  static void f_eval __ARGS((typval_T *argvars, typval_T *rettv));
a893458
  static void f_eventhandler __ARGS((typval_T *argvars, typval_T *rettv));
a893458
  static void f_executable __ARGS((typval_T *argvars, typval_T *rettv));
a893458
+ static void f_exepath __ARGS((typval_T *argvars, typval_T *rettv));
a893458
  static void f_exists __ARGS((typval_T *argvars, typval_T *rettv));
a893458
  #ifdef FEAT_FLOAT
a893458
  static void f_exp __ARGS((typval_T *argvars, typval_T *rettv));
a893458
***************
a893458
*** 7920,7925 ****
a893458
--- 7921,7927 ----
a893458
      {"eval",		1, 1, f_eval},
a893458
      {"eventhandler",	0, 0, f_eventhandler},
a893458
      {"executable",	1, 1, f_executable},
a893458
+     {"exepath",		1, 1, f_exepath},
a893458
      {"exists",		1, 1, f_exists},
a893458
  #ifdef FEAT_FLOAT
a893458
      {"exp",		1, 1, f_exp},
a893458
***************
a893458
*** 10046,10052 ****
a893458
      typval_T	*argvars;
a893458
      typval_T	*rettv;
a893458
  {
a893458
!     rettv->vval.v_number = mch_can_exe(get_tv_string(&argvars[0]));
a893458
  }
a893458
  
a893458
  /*
a893458
--- 10048,10069 ----
a893458
      typval_T	*argvars;
a893458
      typval_T	*rettv;
a893458
  {
a893458
!     rettv->vval.v_number = mch_can_exe(get_tv_string(&argvars[0]), NULL);
a893458
! }
a893458
! 
a893458
! /*
a893458
!  * "exepath()" function
a893458
!  */
a893458
!     static void
a893458
! f_exepath(argvars, rettv)
a893458
!     typval_T	*argvars;
a893458
!     typval_T	*rettv;
a893458
! {
a893458
!     char_u *p = NULL;
a893458
! 
a893458
!     (void)mch_can_exe(get_tv_string(&argvars[0]), &p);
a893458
!     rettv->v_type = VAR_STRING;
a893458
!     rettv->vval.v_string = p;
a893458
  }
a893458
  
a893458
  /*
a893458
*** ../vim-7.4.234/src/misc1.c	2014-03-12 18:55:52.100906804 +0100
a893458
--- src/misc1.c	2014-04-01 20:01:08.752782864 +0200
a893458
***************
a893458
*** 10728,10734 ****
a893458
  	return;
a893458
  
a893458
      /* If the file isn't executable, may not add it.  Do accept directories. */
a893458
!     if (!isdir && (flags & EW_EXEC) && !mch_can_exe(f))
a893458
  	return;
a893458
  
a893458
      /* Make room for another item in the file list. */
a893458
--- 10728,10734 ----
a893458
  	return;
a893458
  
a893458
      /* If the file isn't executable, may not add it.  Do accept directories. */
a893458
!     if (!isdir && (flags & EW_EXEC) && !mch_can_exe(f, NULL))
a893458
  	return;
a893458
  
a893458
      /* Make room for another item in the file list. */
a893458
*** ../vim-7.4.234/src/os_amiga.c	2013-05-06 04:06:04.000000000 +0200
a893458
--- src/os_amiga.c	2014-04-01 20:19:50.804767429 +0200
a893458
***************
a893458
*** 884,891 ****
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(name)
a893458
      char_u	*name;
a893458
  {
a893458
      /* TODO */
a893458
      return -1;
a893458
--- 884,892 ----
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(name, path)
a893458
      char_u	*name;
a893458
+     char_u	**path;
a893458
  {
a893458
      /* TODO */
a893458
      return -1;
a893458
*** ../vim-7.4.234/src/os_msdos.c	2014-03-23 15:12:29.931264336 +0100
a893458
--- src/os_msdos.c	2014-04-01 20:02:39.996781608 +0200
a893458
***************
a893458
*** 2945,2958 ****
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(name)
a893458
      char_u	*name;
a893458
  {
a893458
      char	*p;
a893458
  
a893458
      p = searchpath(name);
a893458
      if (p == NULL || mch_isdir(p))
a893458
  	return FALSE;
a893458
      return TRUE;
a893458
  }
a893458
  
a893458
--- 2945,2961 ----
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(name, path)
a893458
      char_u	*name;
a893458
+     char_u	**path;
a893458
  {
a893458
      char	*p;
a893458
  
a893458
      p = searchpath(name);
a893458
      if (p == NULL || mch_isdir(p))
a893458
  	return FALSE;
a893458
+     if (path != NULL)
a893458
+ 	*path = vim_strsave(p);
a893458
      return TRUE;
a893458
  }
a893458
  
a893458
*** ../vim-7.4.234/src/os_unix.c	2014-03-12 16:51:35.060792541 +0100
a893458
--- src/os_unix.c	2014-04-01 20:46:21.304745550 +0200
a893458
***************
a893458
*** 2992,2999 ****
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(name)
a893458
      char_u	*name;
a893458
  {
a893458
      char_u	*buf;
a893458
      char_u	*p, *e;
a893458
--- 2992,3000 ----
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(name, path)
a893458
      char_u	*name;
a893458
+     char_u	**path;
a893458
  {
a893458
      char_u	*buf;
a893458
      char_u	*p, *e;
a893458
***************
a893458
*** 3003,3009 ****
a893458
      if (mch_isFullName(name) || (name[0] == '.' && (name[1] == '/'
a893458
  				      || (name[1] == '.' && name[2] == '/'))))
a893458
      {
a893458
! 	return executable_file(name);
a893458
      }
a893458
  
a893458
      p = (char_u *)getenv("PATH");
a893458
--- 3004,3021 ----
a893458
      if (mch_isFullName(name) || (name[0] == '.' && (name[1] == '/'
a893458
  				      || (name[1] == '.' && name[2] == '/'))))
a893458
      {
a893458
! 	if (executable_file(name))
a893458
! 	{
a893458
! 	    if (path != NULL)
a893458
! 	    {
a893458
! 		if (name[0] == '.')
a893458
! 		    *path = FullName_save(name, TRUE);
a893458
! 		else
a893458
! 		    *path = vim_strsave(name);
a893458
! 	    }
a893458
! 	    return TRUE;
a893458
! 	}
a893458
! 	return FALSE;
a893458
      }
a893458
  
a893458
      p = (char_u *)getenv("PATH");
a893458
***************
a893458
*** 3032,3038 ****
a893458
--- 3044,3059 ----
a893458
  	STRCAT(buf, name);
a893458
  	retval = executable_file(buf);
a893458
  	if (retval == 1)
a893458
+ 	{
a893458
+ 	    if (path != NULL)
a893458
+ 	    {
a893458
+ 		if (buf[0] == '.')
a893458
+ 		    *path = FullName_save(buf, TRUE);
a893458
+ 		else
a893458
+ 		    *path = vim_strsave(buf);
a893458
+ 	    }
a893458
  	    break;
a893458
+ 	}
a893458
  
a893458
  	if (*e != ':')
a893458
  	    break;
a893458
***************
a893458
*** 5592,5598 ****
a893458
  		    continue;
a893458
  
a893458
  		/* Skip files that are not executable if we check for that. */
a893458
! 		if (!dir && (flags & EW_EXEC) && !mch_can_exe(p))
a893458
  		    continue;
a893458
  
a893458
  		if (--files_free == 0)
a893458
--- 5613,5619 ----
a893458
  		    continue;
a893458
  
a893458
  		/* Skip files that are not executable if we check for that. */
a893458
! 		if (!dir && (flags & EW_EXEC) && !mch_can_exe(p, NULL))
a893458
  		    continue;
a893458
  
a893458
  		if (--files_free == 0)
a893458
***************
a893458
*** 6090,6096 ****
a893458
  	    continue;
a893458
  
a893458
  	/* Skip files that are not executable if we check for that. */
a893458
! 	if (!dir && (flags & EW_EXEC) && !mch_can_exe((*file)[i]))
a893458
  	    continue;
a893458
  
a893458
  	p = alloc((unsigned)(STRLEN((*file)[i]) + 1 + dir));
a893458
--- 6111,6117 ----
a893458
  	    continue;
a893458
  
a893458
  	/* Skip files that are not executable if we check for that. */
a893458
! 	if (!dir && (flags & EW_EXEC) && !mch_can_exe((*file)[i], NULL))
a893458
  	    continue;
a893458
  
a893458
  	p = alloc((unsigned)(STRLEN((*file)[i]) + 1 + dir));
a893458
***************
a893458
*** 6317,6323 ****
a893458
  
a893458
  /* Reads gpm event and adds special keys to input buf. Returns length of
a893458
   * generated key sequence.
a893458
!  * This function is made after gui_send_mouse_event
a893458
   */
a893458
      static int
a893458
  mch_gpm_process()
a893458
--- 6338,6344 ----
a893458
  
a893458
  /* Reads gpm event and adds special keys to input buf. Returns length of
a893458
   * generated key sequence.
a893458
!  * This function is styled after gui_send_mouse_event().
a893458
   */
a893458
      static int
a893458
  mch_gpm_process()
a893458
*** ../vim-7.4.234/src/os_vms.c	2014-03-12 16:51:35.060792541 +0100
a893458
--- src/os_vms.c	2014-04-01 20:05:52.960778954 +0200
a893458
***************
a893458
*** 483,489 ****
a893458
  		continue;
a893458
  
a893458
  	    /* Skip files that are not executable if we check for that. */
a893458
! 	    if (!dir && (flags & EW_EXEC) && !mch_can_exe(vms_fmatch[i]))
a893458
  		continue;
a893458
  
a893458
  	    /* allocate memory for pointers */
a893458
--- 483,489 ----
a893458
  		continue;
a893458
  
a893458
  	    /* Skip files that are not executable if we check for that. */
a893458
! 	    if (!dir && (flags & EW_EXEC) && !mch_can_exe(vms_fmatch[i], NULL))
a893458
  		continue;
a893458
  
a893458
  	    /* allocate memory for pointers */
a893458
*** ../vim-7.4.234/src/os_win32.c	2014-02-11 17:05:57.282217857 +0100
a893458
--- src/os_win32.c	2014-04-01 20:26:07.432762248 +0200
a893458
***************
a893458
*** 1882,1888 ****
a893458
   * TODO: Should somehow check if it's really executable.
a893458
   */
a893458
      static int
a893458
! executable_exists(char *name)
a893458
  {
a893458
      char	*dum;
a893458
      char	fname[_MAX_PATH];
a893458
--- 1882,1888 ----
a893458
   * TODO: Should somehow check if it's really executable.
a893458
   */
a893458
      static int
a893458
! executable_exists(char *name, char_u **path)
a893458
  {
a893458
      char	*dum;
a893458
      char	fname[_MAX_PATH];
a893458
***************
a893458
*** 1905,1910 ****
a893458
--- 1905,1912 ----
a893458
  		    return FALSE;
a893458
  		if (GetFileAttributesW(fnamew) & FILE_ATTRIBUTE_DIRECTORY)
a893458
  		    return FALSE;
a893458
+ 		if (path != NULL)
a893458
+ 		    *path = utf16_to_enc(fnamew, NULL);
a893458
  		return TRUE;
a893458
  	    }
a893458
  	    /* Retry with non-wide function (for Windows 98). */
a893458
***************
a893458
*** 1915,1920 ****
a893458
--- 1917,1924 ----
a893458
  	return FALSE;
a893458
      if (mch_isdir(fname))
a893458
  	return FALSE;
a893458
+     if (path != NULL)
a893458
+ 	*path = vim_strsave(fname);
a893458
      return TRUE;
a893458
  }
a893458
  
a893458
***************
a893458
*** 1996,2002 ****
a893458
  	    vimrun_path = (char *)vim_strsave(vimrun_location);
a893458
  	    s_dont_use_vimrun = FALSE;
a893458
  	}
a893458
! 	else if (executable_exists("vimrun.exe"))
a893458
  	    s_dont_use_vimrun = FALSE;
a893458
  
a893458
  	/* Don't give the warning for a missing vimrun.exe right now, but only
a893458
--- 2000,2006 ----
a893458
  	    vimrun_path = (char *)vim_strsave(vimrun_location);
a893458
  	    s_dont_use_vimrun = FALSE;
a893458
  	}
a893458
! 	else if (executable_exists("vimrun.exe", NULL))
a893458
  	    s_dont_use_vimrun = FALSE;
a893458
  
a893458
  	/* Don't give the warning for a missing vimrun.exe right now, but only
a893458
***************
a893458
*** 2010,2016 ****
a893458
       * If "finstr.exe" doesn't exist, use "grep -n" for 'grepprg'.
a893458
       * Otherwise the default "findstr /n" is used.
a893458
       */
a893458
!     if (!executable_exists("findstr.exe"))
a893458
  	set_option_value((char_u *)"grepprg", 0, (char_u *)"grep -n", 0);
a893458
  
a893458
  #ifdef FEAT_CLIPBOARD
a893458
--- 2014,2020 ----
a893458
       * If "finstr.exe" doesn't exist, use "grep -n" for 'grepprg'.
a893458
       * Otherwise the default "findstr /n" is used.
a893458
       */
a893458
!     if (!executable_exists("findstr.exe", NULL))
a893458
  	set_option_value((char_u *)"grepprg", 0, (char_u *)"grep -n", 0);
a893458
  
a893458
  #ifdef FEAT_CLIPBOARD
a893458
***************
a893458
*** 3330,3336 ****
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(char_u *name)
a893458
  {
a893458
      char_u	buf[_MAX_PATH];
a893458
      int		len = (int)STRLEN(name);
a893458
--- 3334,3340 ----
a893458
   * Return -1 if unknown.
a893458
   */
a893458
      int
a893458
! mch_can_exe(char_u *name, char_u **path)
a893458
  {
a893458
      char_u	buf[_MAX_PATH];
a893458
      int		len = (int)STRLEN(name);
a893458
***************
a893458
*** 3343,3349 ****
a893458
       * this with a Unix-shell like 'shell'. */
a893458
      if (vim_strchr(gettail(name), '.') != NULL
a893458
  			       || strstr((char *)gettail(p_sh), "sh") != NULL)
a893458
! 	if (executable_exists((char *)name))
a893458
  	    return TRUE;
a893458
  
a893458
      /*
a893458
--- 3347,3353 ----
a893458
       * this with a Unix-shell like 'shell'. */
a893458
      if (vim_strchr(gettail(name), '.') != NULL
a893458
  			       || strstr((char *)gettail(p_sh), "sh") != NULL)
a893458
! 	if (executable_exists((char *)name, path))
a893458
  	    return TRUE;
a893458
  
a893458
      /*
a893458
***************
a893458
*** 3365,3371 ****
a893458
  	}
a893458
  	else
a893458
  	    copy_option_part(&p, buf + len, _MAX_PATH - len, ";");
a893458
! 	if (executable_exists((char *)buf))
a893458
  	    return TRUE;
a893458
      }
a893458
      return FALSE;
a893458
--- 3369,3375 ----
a893458
  	}
a893458
  	else
a893458
  	    copy_option_part(&p, buf + len, _MAX_PATH - len, ";");
a893458
! 	if (executable_exists((char *)buf, path))
a893458
  	    return TRUE;
a893458
      }
a893458
      return FALSE;
a893458
*** ../vim-7.4.234/src/proto/os_amiga.pro	2013-08-10 13:37:37.000000000 +0200
a893458
--- src/proto/os_amiga.pro	2014-04-01 20:41:23.672749644 +0200
a893458
***************
a893458
*** 26,32 ****
a893458
  void mch_hide __ARGS((char_u *name));
a893458
  int mch_isdir __ARGS((char_u *name));
a893458
  int mch_mkdir __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  void mch_early_init __ARGS((void));
a893458
  void mch_exit __ARGS((int r));
a893458
--- 26,32 ----
a893458
  void mch_hide __ARGS((char_u *name));
a893458
  int mch_isdir __ARGS((char_u *name));
a893458
  int mch_mkdir __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name, char_u **path));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  void mch_early_init __ARGS((void));
a893458
  void mch_exit __ARGS((int r));
a893458
*** ../vim-7.4.234/src/proto/os_msdos.pro	2013-08-10 13:37:37.000000000 +0200
a893458
--- src/proto/os_msdos.pro	2014-04-01 20:41:32.432749524 +0200
a893458
***************
a893458
*** 38,44 ****
a893458
  int mch_setperm __ARGS((char_u *name, long perm));
a893458
  void mch_hide __ARGS((char_u *name));
a893458
  int mch_isdir __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  int mch_dirname __ARGS((char_u *buf, int len));
a893458
  int mch_remove __ARGS((char_u *name));
a893458
--- 38,44 ----
a893458
  int mch_setperm __ARGS((char_u *name, long perm));
a893458
  void mch_hide __ARGS((char_u *name));
a893458
  int mch_isdir __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name, char_u **path));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  int mch_dirname __ARGS((char_u *buf, int len));
a893458
  int mch_remove __ARGS((char_u *name));
a893458
*** ../vim-7.4.234/src/proto/os_unix.pro	2013-08-10 13:37:23.000000000 +0200
a893458
--- src/proto/os_unix.pro	2014-04-01 20:41:58.712749162 +0200
a893458
***************
a893458
*** 42,48 ****
a893458
  void mch_free_acl __ARGS((vim_acl_T aclent));
a893458
  void mch_hide __ARGS((char_u *name));
a893458
  int mch_isdir __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  void mch_early_init __ARGS((void));
a893458
  void mch_free_mem __ARGS((void));
a893458
--- 42,48 ----
a893458
  void mch_free_acl __ARGS((vim_acl_T aclent));
a893458
  void mch_hide __ARGS((char_u *name));
a893458
  int mch_isdir __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name, char_u **path));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  void mch_early_init __ARGS((void));
a893458
  void mch_free_mem __ARGS((void));
a893458
*** ../vim-7.4.234/src/proto/os_win32.pro	2013-08-10 13:37:38.000000000 +0200
a893458
--- src/proto/os_win32.pro	2014-04-01 20:42:16.992748911 +0200
a893458
***************
a893458
*** 26,32 ****
a893458
  int mch_is_linked __ARGS((char_u *fname));
a893458
  int win32_fileinfo __ARGS((char_u *fname, BY_HANDLE_FILE_INFORMATION *info));
a893458
  int mch_writable __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  vim_acl_T mch_get_acl __ARGS((char_u *fname));
a893458
  void mch_set_acl __ARGS((char_u *fname, vim_acl_T acl));
a893458
--- 26,32 ----
a893458
  int mch_is_linked __ARGS((char_u *fname));
a893458
  int win32_fileinfo __ARGS((char_u *fname, BY_HANDLE_FILE_INFORMATION *info));
a893458
  int mch_writable __ARGS((char_u *name));
a893458
! int mch_can_exe __ARGS((char_u *name, char_u **path));
a893458
  int mch_nodetype __ARGS((char_u *name));
a893458
  vim_acl_T mch_get_acl __ARGS((char_u *fname));
a893458
  void mch_set_acl __ARGS((char_u *fname, vim_acl_T acl));
a893458
*** ../vim-7.4.234/runtime/doc/eval.txt	2014-04-01 19:55:46.244787300 +0200
a893458
--- runtime/doc/eval.txt	2014-04-01 20:54:37.832738720 +0200
a893458
***************
a893458
*** 1561,1566 ****
a893458
--- 1562,1571 ----
a893458
  v:progpath	Contains the command with which Vim was invoked, including the
a893458
  		path.  Useful if you want to message a Vim server using a
a893458
  		|--remote-expr|.
a893458
+ 		To get the full path use: >
a893458
+ 			echo exepath(v:progpath)
a893458
+ <		NOTE: This does not work when the command is a relative path
a893458
+ 		and the current directory has changed.
a893458
  		Read-only.
a893458
  
a893458
  					*v:register* *register-variable*
a893458
***************
a893458
*** 1761,1766 ****
a893458
--- 1766,1772 ----
a893458
  eval( {string})			any	evaluate {string} into its value
a893458
  eventhandler( )			Number	TRUE if inside an event handler
a893458
  executable( {expr})		Number	1 if executable {expr} exists
a893458
+ exepath( {expr})		String  full path of the command {expr}
a893458
  exists( {expr})			Number	TRUE if {expr} exists
a893458
  extend( {expr1}, {expr2} [, {expr3}])
a893458
  				List/Dict insert items of {expr2} into {expr1}
a893458
***************
a893458
*** 2705,2710 ****
a893458
--- 2711,2725 ----
a893458
  			0	does not exist
a893458
  			-1	not implemented on this system
a893458
  
a893458
+ exepath({expr})						*exepath()*
a893458
+ 		If {expr} is an executable and is either an absolute path, a
a893458
+ 		relative path or found in $PATH, return the full path.
a893458
+ 		Note that the current directory is used when {expr} starts
a893458
+ 		with "./", which may be a problem for Vim: >
a893458
+ 			echo exepath(v:progpath)
a893458
+ < 		If {expr} cannot be found in $PATH or is not executable then
a893458
+ 		an empty string is returned.
a893458
+ 
a893458
  							*exists()*
a893458
  exists({expr})	The result is a Number, which is non-zero if {expr} is
a893458
  		defined, zero otherwise.  The {expr} argument is a string,
a893458
*** ../vim-7.4.234/src/version.c	2014-04-01 19:55:46.252787300 +0200
a893458
--- src/version.c	2014-04-01 20:00:44.108783203 +0200
a893458
***************
a893458
*** 736,737 ****
a893458
--- 736,739 ----
a893458
  {   /* Add new patch number below this line */
a893458
+ /**/
a893458
+     235,
a893458
  /**/
a893458
a893458
-- 
a893458
hundred-and-one symptoms of being an internet addict:
a893458
19. All of your friends have an @ in their names.
a893458
a893458
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
a893458
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
a893458
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
a893458
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///