[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.3 and 1.4

version 1.3, 1996/09/22 01:18:02 version 1.4, 1996/09/24 22:12:57
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 475 
Line 476 
                 }                  }
         }          }
   
         /* 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 548 
Line 539 
                 }                  }
                 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 577 
Line 586 
                         }                          }
                 }                  }
         }          }
           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 613 
Line 639 
         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)          if (full_screen && !term_inited)
                 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,

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