Loading ...
Sorry, an error occurred while loading the content.

Patch for Vim version 4.6

Expand Messages
  • Bram Moolenaar
    Message 1 of 1 , Mar 25, 1997
    • 0 Attachment
      Hello all!

      Since version 4.6 has been released, two small problems have popped up:
      - ":gui" command didn't restore xterm screen.
      - "vim +/^$ filename" didn't work when 'ws' is not set.

      The patch below fixes these. The patch has also been placed with the Unix
      source files on the ftp server.

      There is no new set of binary files, since the ":gui" problem is a Unix-only
      problem, and the other problem is quite rare.

      If more problems appear, there might be a version 4.7. Otherwise I'm now
      concentrating on getting 5.0 ready. Version 5.0 ALPHA is coming "real soon
      now"...


      diff -cr ../vim-4.6/src/search.c ./src/search.c
      *** ../vim-4.6/src/search.c Thu Mar 13 18:03:09 1997
      --- ./src/search.c Mon Mar 17 20:39:54 1997
      ***************
      *** 271,276 ****
      --- 271,281 ----
      do /* loop for count */
      {
      start_pos = *pos; /* remember start pos for detecting no match */
      + if (pos->lnum == 0) /* correct lnum for when starting in line 0 */
      + {
      + pos->lnum = 1;
      + pos->col = 0;
      + }
      found = 0; /* default: not found */

      /*
      diff -cr ../vim-4.6/src/term.c ./src/term.c
      *** ../vim-4.6/src/term.c Thu Mar 13 18:03:08 1997
      --- ./src/term.c Mon Mar 17 19:11:45 1997
      ***************
      *** 2067,2073 ****
      void
      stoptermcap()
      {
      ! if (full_screen && termcap_active)
      {
      outstr(T_KE); /* stop "keypad transmit" mode */
      flushbuf();
      --- 2067,2073 ----
      void
      stoptermcap()
      {
      ! if (termcap_active)
      {
      outstr(T_KE); /* stop "keypad transmit" mode */
      flushbuf();

      --
      GALAHAD: No. Look, I can tackle this lot single-handed!
      GIRLS: Yes, yes, let him Tackle us single-handed!
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      --/-/-------------- Bram Moolenaar ---- mool@... -------------------\-\--
      \ \ VIM home page: <URL:http://www.math.fu-berlin.de/~guckes/vim/> / /
    Your message has been successfully submitted and would be delivered to recipients shortly.