[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / vim

Diff for /src/usr.bin/vim/Attic/main.c between version 1.4 and 1.5

version 1.4, 1996/09/24 22:12:57 version 1.5, 1996/10/14 03:55:14
Line 154 
Line 154 
         int                             check_version = FALSE;  /* check .vimrc version number */          int                             check_version = FALSE;  /* check .vimrc version number */
         int                             argv_idx;                               /* index in argv[n][] */          int                             argv_idx;                               /* index in argv[n][] */
         int             invoked_as_ex = FALSE;  /* argv[0] is "ex" */          int             invoked_as_ex = FALSE;  /* argv[0] is "ex" */
         int                             term_inited = FALSE;  
   
 #if defined(MSDOS) || defined(WIN32) || defined(OS2)  #if defined(MSDOS) || defined(WIN32) || defined(OS2)
         static struct initmap          static struct initmap
Line 476 
Line 475 
                 }                  }
         }          }
   
           /* note that we may use mch_windexit() before mch_windinit()! */
           mch_windinit();                         /* inits Rows and Columns */
   /*
    * Set the default values for the options that use Rows and Columns.
    */
           set_init_2();
   
           firstwin->w_height = Rows - 1;
           cmdline_row = Rows - 1;
   
         /*          /*
          * Process the other command line arguments.           * Process the other command line arguments.
          * -e[errorfile]        quickfix mode           * -e[errorfile]        quickfix mode
Line 539 
Line 548 
                 }                  }
                 else                            /* must be a file name */                  else                            /* must be a file name */
                 {                  {
                         if (!term_inited)  
                         {  
 #ifdef USE_GUI  
                                 if (!gui.starting)  
 #endif  
                                         termcapinit(term);  
   
                     /* note that we may use mch_windexit() before mch_windinit()! */  
                     mch_windinit();                             /* inits Rows and Columns */  
                                 /*  
                                  * Set the default values for the options that use Rows and  
                                  * Columns.  
                                  */  
                     set_init_2();  
   
                                 term_inited = TRUE;  
                         }  
   
                         /*                          /*
                          * Skip a single "--" argument, used in front of a file name that                           * Skip a single "--" argument, used in front of a file name that
                          * starts with '-'.                           * starts with '-'.
Line 586 
Line 577 
                         }                          }
                 }                  }
         }          }
         if (!term_inited)  
         {  
 #ifdef USE_GUI  
                 if (!gui.starting)  
 #endif  
                         termcapinit(term);  
   
         /* note that we may use mch_windexit() before mch_windinit()! */  
         mch_windinit();                         /* inits Rows and Columns */  
                 /*  
                  * Set the default values for the options that use Rows and  
                  * Columns.  
                  */  
         set_init_2();  
   
                 term_inited = TRUE;  
         }  
   
         RedrawingDisabled = TRUE;          RedrawingDisabled = TRUE;
   
         /*          /*
Line 639 
Line 613 
         curbuf->b_nwindows = 1;         /* there is one window */          curbuf->b_nwindows = 1;         /* there is one window */
         win_init(curwin);                       /* init current window */          win_init(curwin);                       /* init current window */
         init_yank();                            /* init yank buffers */          init_yank();                            /* init yank buffers */
         if (full_screen && !term_inited)          if (full_screen)
                 termcapinit(term);              /* set terminal name and get terminal                  termcapinit(term);              /* set terminal name and get terminal
                                                                    capabilities */                                                                     capabilities */
         screenclear();                          /* clear screen (just inits screen structures,          screenclear();                          /* clear screen (just inits screen structures,
Line 1074 
Line 1048 
                         }                          }
                 }                  }
                 dont_wait_return = FALSE;                  dont_wait_return = FALSE;
                 if (got_int)                  if (got_int && !global_busy)
                 {                  {
                         (void)vgetc();                          /* flush all buffers */                          (void)vgetc();                          /* flush all buffers */
                         got_int = FALSE;                          got_int = FALSE;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5