60c1226
To: vim-dev@vim.org
60c1226
Subject: patch 7.1.100
60c1226
Fcc: outbox
60c1226
From: Bram Moolenaar <Bram@moolenaar.net>
60c1226
Mime-Version: 1.0
60c1226
Content-Type: text/plain; charset=ISO-8859-1
60c1226
Content-Transfer-Encoding: 8bit
60c1226
------------
60c1226
60c1226
Patch 7.1.100
60c1226
Problem:    Win32: Executing cscope doesn't always work properly.
60c1226
Solution:   Use another way to invoke cscope. (Mike Williams)
60c1226
Files:	    src/if_cscope.c, src/if_cscope.h, src/main.c,
60c1226
	    src/proto/if_cscope.pro
60c1226
60c1226
60c1226
*** ../vim-7.1.099/src/if_cscope.c	Tue Aug 21 18:02:58 2007
60c1226
--- src/if_cscope.c	Sun Sep  2 16:50:50 2007
60c1226
***************
60c1226
*** 24,34 ****
60c1226
      /* not UNIX, must be WIN32 */
60c1226
  # include "vimio.h"
60c1226
  # include <fcntl.h>
60c1226
- # include <process.h>
60c1226
- # define STDIN_FILENO    0
60c1226
- # define STDOUT_FILENO   1
60c1226
- # define STDERR_FILENO   2
60c1226
- # define pipe(fds) _pipe(fds, 256, O_TEXT|O_NOINHERIT)
60c1226
  #endif
60c1226
  #include "if_cscope.h"
60c1226
  
60c1226
--- 24,29 ----
60c1226
***************
60c1226
*** 65,71 ****
60c1226
  static char *	    cs_parse_results __ARGS((int cnumber, char *buf, int bufsize, char **context, char **linenumber, char **search));
60c1226
  static char *	    cs_pathcomponents __ARGS((char *path));
60c1226
  static void	    cs_print_tags_priv __ARGS((char **, char **, int));
60c1226
! static int	    cs_read_prompt __ARGS((int ));
60c1226
  static void	    cs_release_csp __ARGS((int, int freefnpp));
60c1226
  static int	    cs_reset __ARGS((exarg_T *eap));
60c1226
  static char *	    cs_resolve_file __ARGS((int, char *));
60c1226
--- 60,66 ----
60c1226
  static char *	    cs_parse_results __ARGS((int cnumber, char *buf, int bufsize, char **context, char **linenumber, char **search));
60c1226
  static char *	    cs_pathcomponents __ARGS((char *path));
60c1226
  static void	    cs_print_tags_priv __ARGS((char **, char **, int));
60c1226
! static int	    cs_read_prompt __ARGS((int));
60c1226
  static void	    cs_release_csp __ARGS((int, int freefnpp));
60c1226
  static int	    cs_reset __ARGS((exarg_T *eap));
60c1226
  static char *	    cs_resolve_file __ARGS((int, char *));
60c1226
***************
60c1226
*** 504,510 ****
60c1226
  #if defined(UNIX)
60c1226
      else if (S_ISREG(statbuf.st_mode) || S_ISLNK(statbuf.st_mode))
60c1226
  #else
60c1226
! 	/* substitute define S_ISREG from os_unix.h */
60c1226
      else if (((statbuf.st_mode) & S_IFMT) == S_IFREG)
60c1226
  #endif
60c1226
      {
60c1226
--- 499,505 ----
60c1226
  #if defined(UNIX)
60c1226
      else if (S_ISREG(statbuf.st_mode) || S_ISLNK(statbuf.st_mode))
60c1226
  #else
60c1226
! 	/* WIN32 - substitute define S_ISREG from os_unix.h */
60c1226
      else if (((statbuf.st_mode) & S_IFMT) == S_IFREG)
60c1226
  #endif
60c1226
      {
60c1226
***************
60c1226
*** 717,733 ****
60c1226
  cs_create_connection(i)
60c1226
      int i;
60c1226
  {
60c1226
!     int to_cs[2], from_cs[2], len;
60c1226
!     char *prog, *cmd, *ppath = NULL;
60c1226
! #ifndef UNIX
60c1226
!     int in_save, out_save, err_save;
60c1226
!     long_i ph;
60c1226
! # ifdef FEAT_GUI
60c1226
!     HWND activewnd = NULL;
60c1226
!     HWND consolewnd = NULL;
60c1226
! # endif
60c1226
  #endif
60c1226
  
60c1226
      /*
60c1226
       * Cscope reads from to_cs[0] and writes to from_cs[1]; vi reads from
60c1226
       * from_cs[0] and writes to to_cs[1].
60c1226
--- 712,734 ----
60c1226
  cs_create_connection(i)
60c1226
      int i;
60c1226
  {
60c1226
! #ifdef UNIX
60c1226
!     int		to_cs[2], from_cs[2];
60c1226
! #endif
60c1226
!     int		len;
60c1226
!     char	*prog, *cmd, *ppath = NULL;
60c1226
! #ifdef WIN32
60c1226
!     int		fd;
60c1226
!     SECURITY_ATTRIBUTES sa;
60c1226
!     PROCESS_INFORMATION pi;
60c1226
!     STARTUPINFO si;
60c1226
!     BOOL	pipe_stdin = FALSE, pipe_stdout = FALSE;
60c1226
!     HANDLE	stdin_rd, stdout_rd;
60c1226
!     HANDLE	stdout_wr, stdin_wr;
60c1226
!     BOOL	created;
60c1226
  #endif
60c1226
  
60c1226
+ #if defined(UNIX)
60c1226
      /*
60c1226
       * Cscope reads from to_cs[0] and writes to from_cs[1]; vi reads from
60c1226
       * from_cs[0] and writes to to_cs[1].
60c1226
***************
60c1226
*** 748,765 ****
60c1226
  	return CSCOPE_FAILURE;
60c1226
      }
60c1226
  
60c1226
- #if defined(UNIX)
60c1226
      switch (csinfo[i].pid = fork())
60c1226
      {
60c1226
      case -1:
60c1226
  	(void)EMSG(_("E622: Could not fork for cscope"));
60c1226
  	goto err_closing;
60c1226
      case 0:				/* child: run cscope. */
60c1226
- #else
60c1226
- 	in_save = dup(STDIN_FILENO);
60c1226
- 	out_save = dup(STDOUT_FILENO);
60c1226
- 	err_save = dup(STDERR_FILENO);
60c1226
- #endif
60c1226
  	if (dup2(to_cs[0], STDIN_FILENO) == -1)
60c1226
  	    PERROR("cs_create_connection 1");
60c1226
  	if (dup2(from_cs[1], STDOUT_FILENO) == -1)
60c1226
--- 749,760 ----
60c1226
***************
60c1226
*** 768,782 ****
60c1226
  	    PERROR("cs_create_connection 3");
60c1226
  
60c1226
  	/* close unused */
60c1226
- #if defined(UNIX)
60c1226
  	(void)close(to_cs[1]);
60c1226
  	(void)close(from_cs[0]);
60c1226
  #else
60c1226
! 	/* On win32 we must close opposite ends because we are the parent */
60c1226
! 	(void)close(to_cs[0]);
60c1226
! 	to_cs[0] = -1;
60c1226
! 	(void)close(from_cs[1]);
60c1226
! 	from_cs[1] = -1;
60c1226
  #endif
60c1226
  	/* expand the cscope exec for env var's */
60c1226
  	if ((prog = (char *)alloc(MAXPATHL + 1)) == NULL)
60c1226
--- 763,794 ----
60c1226
  	    PERROR("cs_create_connection 3");
60c1226
  
60c1226
  	/* close unused */
60c1226
  	(void)close(to_cs[1]);
60c1226
  	(void)close(from_cs[0]);
60c1226
  #else
60c1226
! 	/* WIN32 */
60c1226
! 	/* Create pipes to communicate with cscope */
60c1226
! 	sa.nLength = sizeof(SECURITY_ATTRIBUTES);
60c1226
! 	sa.bInheritHandle = TRUE;
60c1226
! 	sa.lpSecurityDescriptor = NULL;
60c1226
! 
60c1226
! 	if (!(pipe_stdin = CreatePipe(&stdin_rd, &stdin_wr, &sa, 0))
60c1226
! 		|| !(pipe_stdout = CreatePipe(&stdout_rd, &stdout_wr, &sa, 0)))
60c1226
! 	{
60c1226
! 	    (void)EMSG(_("E566: Could not create cscope pipes"));
60c1226
! err_closing:
60c1226
! 	    if (pipe_stdin)
60c1226
! 	    {
60c1226
! 		CloseHandle(stdin_rd);
60c1226
! 		CloseHandle(stdin_wr);
60c1226
! 	    }
60c1226
! 	    if (pipe_stdout)
60c1226
! 	    {
60c1226
! 		CloseHandle(stdout_rd);
60c1226
! 		CloseHandle(stdout_wr);
60c1226
! 	    }
60c1226
! 	    return CSCOPE_FAILURE;
60c1226
! 	}
60c1226
  #endif
60c1226
  	/* expand the cscope exec for env var's */
60c1226
  	if ((prog = (char *)alloc(MAXPATHL + 1)) == NULL)
60c1226
***************
60c1226
*** 784,789 ****
60c1226
--- 796,802 ----
60c1226
  #ifdef UNIX
60c1226
  	    return CSCOPE_FAILURE;
60c1226
  #else
60c1226
+ 	    /* WIN32 */
60c1226
  	    goto err_closing;
60c1226
  #endif
60c1226
  	}
60c1226
***************
60c1226
*** 800,805 ****
60c1226
--- 813,819 ----
60c1226
  #ifdef UNIX
60c1226
  		return CSCOPE_FAILURE;
60c1226
  #else
60c1226
+ 		/* WIN32 */
60c1226
  		goto err_closing;
60c1226
  #endif
60c1226
  	    }
60c1226
***************
60c1226
*** 818,823 ****
60c1226
--- 832,838 ----
60c1226
  #ifdef UNIX
60c1226
  	    return CSCOPE_FAILURE;
60c1226
  #else
60c1226
+ 	    /* WIN32 */
60c1226
  	    goto err_closing;
60c1226
  #endif
60c1226
  	}
60c1226
***************
60c1226
*** 826,831 ****
60c1226
--- 841,847 ----
60c1226
  #if defined(UNIX)
60c1226
  	(void)sprintf(cmd, "exec %s -dl -f %s", prog, csinfo[i].fname);
60c1226
  #else
60c1226
+ 	/* WIN32 */
60c1226
  	(void)sprintf(cmd, "%s -dl -f %s", prog, csinfo[i].fname);
60c1226
  #endif
60c1226
  	if (csinfo[i].ppath != NULL)
60c1226
***************
60c1226
*** 851,910 ****
60c1226
  	exit(127);
60c1226
  	/* NOTREACHED */
60c1226
      default:	/* parent. */
60c1226
- #else
60c1226
- # ifdef FEAT_GUI
60c1226
- 	activewnd = GetForegroundWindow(); /* on win9x cscope steals focus */
60c1226
- 	/* Dirty hack to hide annoying console window */
60c1226
- 	if (AllocConsole())
60c1226
- 	{
60c1226
- 	    char *title;
60c1226
- 	    title = (char *)alloc(1024);
60c1226
- 	    if (title == NULL)
60c1226
- 		FreeConsole();
60c1226
- 	    else
60c1226
- 	    {
60c1226
- 		GetConsoleTitle(title, 1024); /* save for future restore */
60c1226
- 		SetConsoleTitle(
60c1226
- 		    "GVIMCS{5499421B-CBEF-45b0-85EF-38167FDEA5C5}GVIMCS");
60c1226
- 		Sleep(40); /* as stated in MS KB we must wait 40 ms */
60c1226
- 		consolewnd = FindWindow(NULL,
60c1226
- 			"GVIMCS{5499421B-CBEF-45b0-85EF-38167FDEA5C5}GVIMCS");
60c1226
- 		if (consolewnd != NULL)
60c1226
- 		    ShowWindow(consolewnd, SW_HIDE);
60c1226
- 		SetConsoleTitle(title);
60c1226
- 		vim_free(title);
60c1226
- 	    }
60c1226
- 	}
60c1226
- # endif
60c1226
- 	/* May be use &shell, &shellquote etc */
60c1226
- # ifdef __BORLANDC__
60c1226
- 	/* BCC 5.5 uses a different function name for spawnlp */
60c1226
- 	ph = (long_i)spawnlp(P_NOWAIT, prog, cmd, NULL);
60c1226
- # else
60c1226
- 	ph = (long_i)_spawnlp(_P_NOWAIT, prog, cmd, NULL);
60c1226
- # endif
60c1226
- 	vim_free(prog);
60c1226
- 	vim_free(cmd);
60c1226
- # ifdef FEAT_GUI
60c1226
- 	/* Dirty hack part two */
60c1226
- 	if (activewnd != NULL)
60c1226
- 	    /* restoring focus */
60c1226
- 	    SetForegroundWindow(activewnd);
60c1226
- 	if (consolewnd != NULL)
60c1226
- 	    FreeConsole();
60c1226
- 
60c1226
- # endif
60c1226
- 	if (ph == -1)
60c1226
- 	{
60c1226
- 	    PERROR(_("cs_create_connection exec failed"));
60c1226
- 	    (void)EMSG(_("E623: Could not spawn cscope process"));
60c1226
- 	    goto err_closing;
60c1226
- 	}
60c1226
- 	/* else */
60c1226
- 	csinfo[i].pid = 0;
60c1226
- 	csinfo[i].hProc = (HANDLE)ph;
60c1226
- 
60c1226
- #endif /* !UNIX */
60c1226
  	/*
60c1226
  	 * Save the file descriptors for later duplication, and
60c1226
  	 * reopen as streams.
60c1226
--- 867,872 ----
60c1226
***************
60c1226
*** 914,935 ****
60c1226
  	if ((csinfo[i].fr_fp = fdopen(from_cs[0], "r")) == NULL)
60c1226
  	    PERROR(_("cs_create_connection: fdopen for fr_fp failed"));
60c1226
  
60c1226
- #if defined(UNIX)
60c1226
  	/* close unused */
60c1226
  	(void)close(to_cs[0]);
60c1226
  	(void)close(from_cs[1]);
60c1226
  
60c1226
  	break;
60c1226
      }
60c1226
  #else
60c1226
! 	/* restore stdhandles */
60c1226
!     dup2(in_save, STDIN_FILENO);
60c1226
!     dup2(out_save, STDOUT_FILENO);
60c1226
!     dup2(err_save, STDERR_FILENO);
60c1226
!     close(in_save);
60c1226
!     close(out_save);
60c1226
!     close(err_save);
60c1226
! #endif
60c1226
      return CSCOPE_SUCCESS;
60c1226
  } /* cs_create_connection */
60c1226
  
60c1226
--- 876,927 ----
60c1226
  	if ((csinfo[i].fr_fp = fdopen(from_cs[0], "r")) == NULL)
60c1226
  	    PERROR(_("cs_create_connection: fdopen for fr_fp failed"));
60c1226
  
60c1226
  	/* close unused */
60c1226
  	(void)close(to_cs[0]);
60c1226
  	(void)close(from_cs[1]);
60c1226
  
60c1226
  	break;
60c1226
      }
60c1226
+ 
60c1226
  #else
60c1226
!     /* WIN32 */
60c1226
!     /* Create a new process to run cscope and use pipes to talk with it */
60c1226
!     GetStartupInfo(&si);
60c1226
!     si.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
60c1226
!     si.wShowWindow = SW_HIDE;  /* Hide child application window */
60c1226
!     si.hStdOutput = stdout_wr;
60c1226
!     si.hStdError  = stdout_wr;
60c1226
!     si.hStdInput  = stdin_rd;
60c1226
!     created = CreateProcess(NULL, cmd, NULL, NULL, TRUE, CREATE_NEW_CONSOLE,
60c1226
! 							NULL, NULL, &si, &pi);
60c1226
!     vim_free(prog);
60c1226
!     vim_free(cmd);
60c1226
! 
60c1226
!     if (!created)
60c1226
!     {
60c1226
! 	PERROR(_("cs_create_connection exec failed"));
60c1226
! 	(void)EMSG(_("E623: Could not spawn cscope process"));
60c1226
! 	goto err_closing;
60c1226
!     }
60c1226
!     /* else */
60c1226
!     csinfo[i].pid = pi.dwProcessId;
60c1226
!     csinfo[i].hProc = pi.hProcess;
60c1226
!     CloseHandle(pi.hThread);
60c1226
! 
60c1226
!     /* TODO - tidy up after failure to create files on pipe handles. */
60c1226
!     if (((fd = _open_osfhandle((intptr_t)stdin_wr, _O_TEXT|_O_APPEND)) < 0)
60c1226
! 	    || ((csinfo[i].to_fp = _fdopen(fd, "w")) == NULL))
60c1226
! 	PERROR(_("cs_create_connection: fdopen for to_fp failed"));
60c1226
!     if (((fd = _open_osfhandle((intptr_t)stdout_rd, _O_TEXT|_O_RDONLY)) < 0)
60c1226
! 	    || ((csinfo[i].fr_fp = _fdopen(fd, "r")) == NULL))
60c1226
! 	PERROR(_("cs_create_connection: fdopen for fr_fp failed"));
60c1226
! 
60c1226
!     /* Close handles for file descriptors inherited by the cscope process */
60c1226
!     CloseHandle(stdin_rd);
60c1226
!     CloseHandle(stdout_wr);
60c1226
! 
60c1226
! #endif /* !UNIX */
60c1226
! 
60c1226
      return CSCOPE_SUCCESS;
60c1226
  } /* cs_create_connection */
60c1226
  
60c1226
***************
60c1226
*** 2097,2104 ****
60c1226
  /*
60c1226
   * PRIVATE: cs_release_csp
60c1226
   *
60c1226
!  * does the actual free'ing for the cs ptr with an optional flag of whether
60c1226
!  * or not to free the filename.  called by cs_kill and cs_reset.
60c1226
   */
60c1226
      static void
60c1226
  cs_release_csp(i, freefnpp)
60c1226
--- 2089,2096 ----
60c1226
  /*
60c1226
   * PRIVATE: cs_release_csp
60c1226
   *
60c1226
!  * Does the actual free'ing for the cs ptr with an optional flag of whether
60c1226
!  * or not to free the filename.  Called by cs_kill and cs_reset.
60c1226
   */
60c1226
      static void
60c1226
  cs_release_csp(i, freefnpp)
60c1226
***************
60c1226
*** 2116,2125 ****
60c1226
  	(void)fputs("q\n", csinfo[i].to_fp);
60c1226
  	(void)fflush(csinfo[i].to_fp);
60c1226
      }
60c1226
!     /* give cscope chance to exit normally */
60c1226
!     if (csinfo[i].hProc != NULL
60c1226
! 	    && WaitForSingleObject(csinfo[i].hProc, 1000) == WAIT_TIMEOUT)
60c1226
! 	TerminateProcess(csinfo[i].hProc, 0);
60c1226
  #endif
60c1226
  
60c1226
      if (csinfo[i].fr_fp != NULL)
60c1226
--- 2108,2120 ----
60c1226
  	(void)fputs("q\n", csinfo[i].to_fp);
60c1226
  	(void)fflush(csinfo[i].to_fp);
60c1226
      }
60c1226
!     if (csinfo[i].hProc != NULL)
60c1226
!     {
60c1226
! 	/* Give cscope a chance to exit normally */
60c1226
! 	if (WaitForSingleObject(csinfo[i].hProc, 1000) == WAIT_TIMEOUT)
60c1226
! 	    TerminateProcess(csinfo[i].hProc, 0);
60c1226
! 	CloseHandle(csinfo[i].hProc);
60c1226
!     }
60c1226
  #endif
60c1226
  
60c1226
      if (csinfo[i].fr_fp != NULL)
60c1226
***************
60c1226
*** 2301,2306 ****
60c1226
--- 2296,2316 ----
60c1226
      wait_return(TRUE);
60c1226
      return CSCOPE_SUCCESS;
60c1226
  } /* cs_show */
60c1226
+ 
60c1226
+ 
60c1226
+ /*
60c1226
+  * PUBLIC: cs_end
60c1226
+  *
60c1226
+  * Only called when VIM exits to quit any cscope sessions.
60c1226
+  */
60c1226
+     void
60c1226
+ cs_end()
60c1226
+ {
60c1226
+     int i;
60c1226
+ 
60c1226
+     for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++)
60c1226
+ 	cs_release_csp(i, TRUE);
60c1226
+ }
60c1226
  
60c1226
  #endif	/* FEAT_CSCOPE */
60c1226
  
60c1226
*** ../vim-7.1.099/src/if_cscope.h	Thu Jun 30 23:59:58 2005
60c1226
--- src/if_cscope.h	Sun Sep  2 16:51:08 2007
60c1226
***************
60c1226
*** 72,78 ****
60c1226
      ino_t	    st_ino;	/* inode number of cscope db */
60c1226
  #else
60c1226
  # if defined(WIN32)
60c1226
!     int	    pid;	/* Can't get pid so set it to 0 ;) */
60c1226
      HANDLE	    hProc;	/* cscope process handle */
60c1226
      DWORD	    nVolume;	/* Volume serial number, instead of st_dev */
60c1226
      DWORD	    nIndexHigh;	/* st_ino has no meaning in the Windows */
60c1226
--- 72,78 ----
60c1226
      ino_t	    st_ino;	/* inode number of cscope db */
60c1226
  #else
60c1226
  # if defined(WIN32)
60c1226
!     DWORD	    pid;	/* PID of the connected cscope process. */
60c1226
      HANDLE	    hProc;	/* cscope process handle */
60c1226
      DWORD	    nVolume;	/* Volume serial number, instead of st_dev */
60c1226
      DWORD	    nIndexHigh;	/* st_ino has no meaning in the Windows */
60c1226
*** ../vim-7.1.099/src/main.c	Thu Aug 30 12:24:21 2007
60c1226
--- src/main.c	Sun Sep  2 16:44:36 2007
60c1226
***************
60c1226
*** 1331,1336 ****
60c1226
--- 1331,1339 ----
60c1226
  #ifdef FEAT_NETBEANS_INTG
60c1226
      netbeans_end();
60c1226
  #endif
60c1226
+ #ifdef FEAT_CSCOPE
60c1226
+     cs_end();
60c1226
+ #endif
60c1226
  
60c1226
      mch_exit(exitval);
60c1226
  }
60c1226
***************
60c1226
*** 3671,3677 ****
60c1226
  	mainerr_arg_missing((char_u *)filev[-1]);
60c1226
      if (mch_dirname(cwd, MAXPATHL) != OK)
60c1226
  	return NULL;
60c1226
!     if ((p = vim_strsave_escaped_ext(cwd, PATH_ESC_CHARS, '\\', TRUE)) == NULL)
60c1226
  	return NULL;
60c1226
      ga_init2(&ga, 1, 100);
60c1226
      ga_concat(&ga, (char_u *)"<C-\\><C-N>:cd ");
60c1226
--- 3674,3686 ----
60c1226
  	mainerr_arg_missing((char_u *)filev[-1]);
60c1226
      if (mch_dirname(cwd, MAXPATHL) != OK)
60c1226
  	return NULL;
60c1226
!     if ((p = vim_strsave_escaped_ext(cwd,
60c1226
! #ifdef BACKSLASH_IN_FILENAME
60c1226
! 		    "",  /* rem_backslash() will tell what chars to escape */
60c1226
! #else
60c1226
! 		    PATH_ESC_CHARS,
60c1226
! #endif
60c1226
! 		    '\\', TRUE)) == NULL)
60c1226
  	return NULL;
60c1226
      ga_init2(&ga, 1, 100);
60c1226
      ga_concat(&ga, (char_u *)"<C-\\><C-N>:cd ");
60c1226
*** ../vim-7.1.099/src/proto/if_cscope.pro	Sat May  5 19:15:39 2007
60c1226
--- src/proto/if_cscope.pro	Sun Sep  2 16:51:34 2007
60c1226
***************
60c1226
*** 6,9 ****
60c1226
--- 6,10 ----
60c1226
  void cs_free_tags __ARGS((void));
60c1226
  void cs_print_tags __ARGS((void));
60c1226
  int cs_connection __ARGS((int num, char_u *dbpath, char_u *ppath));
60c1226
+ void cs_end __ARGS((void));
60c1226
  /* vim: set ft=c : */
60c1226
*** ../vim-7.1.099/src/version.c	Thu Sep  6 16:33:47 2007
60c1226
--- src/version.c	Thu Sep  6 17:27:51 2007
60c1226
***************
60c1226
*** 668,669 ****
60c1226
--- 668,671 ----
60c1226
  {   /* Add new patch number below this line */
60c1226
+ /**/
60c1226
+     100,
60c1226
  /**/
60c1226
60c1226
-- 
60c1226
I have to exercise early in the morning before my brain
60c1226
figures out what I'm doing.
60c1226
60c1226
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
60c1226
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
60c1226
\\\        download, build and distribute -- http://www.A-A-P.org        ///
60c1226
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///