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

Diff for /src/usr.bin/mg/tty.c between version 1.11 and 1.12

version 1.11, 2002/01/18 08:37:08 version 1.12, 2002/02/05 20:47:32
Line 39 
Line 39 
 static int       insdel;        /* Do we have both insert & delete line? */  static int       insdel;        /* Do we have both insert & delete line? */
 static char     *scroll_fwd;    /* How to scroll forward. */  static char     *scroll_fwd;    /* How to scroll forward. */
   
   #ifdef I_WANT_SIGNAL_RACES
 static void     winchhandler(int);  static void     winchhandler(int);
   
 static void  static void
Line 46 
Line 47 
 {  {
         refresh(0,0);          refresh(0,0);
 }  }
   #endif
   
 /*  /*
  * Initialize the terminal when the editor   * Initialize the terminal when the editor
Line 69 
Line 71 
                 panic(p);                  panic(p);
         }          }
   
   #ifdef I_WANT_SIGNAL_RACES
         signal(SIGWINCH, winchhandler);          signal(SIGWINCH, winchhandler);
   #endif
         scroll_fwd = scroll_forward;          scroll_fwd = scroll_forward;
         if (scroll_fwd == NULL || *scroll_fwd == '\0') {          if (scroll_fwd == NULL || *scroll_fwd == '\0') {
                 /* this is what GNU Emacs does */                  /* this is what GNU Emacs does */

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12