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

Diff for /src/usr.bin/tip/Attic/tip.c between version 1.40 and 1.41

version 1.40, 2010/06/29 16:41:56 version 1.41, 2010/06/29 17:42:35
Line 141 
Line 141 
         vinit();                                /* init variables */          vinit();                                /* init variables */
         setparity("none");                      /* set the parity table */          setparity("none");                      /* set the parity table */
   
         /*          if (ttysetup(number(value(BAUDRATE)))) {
          * Hardwired connections require the  
          *  line speed set before they make any transmissions  
          *  (this is particularly true of things like a DF03-AC)  
          */  
         if (HW && ttysetup(number(value(BAUDRATE)))) {  
                 fprintf(stderr, "%s: bad baud rate %ld\n", __progname,                  fprintf(stderr, "%s: bad baud rate %ld\n", __progname,
                     number(value(BAUDRATE)));                      number(value(BAUDRATE)));
                 (void)uu_unlock(uucplock);                  (void)uu_unlock(uucplock);
                 exit(3);                  exit(3);
         }          }
         con();          con();
         if (!HW && ttysetup(number(value(BAUDRATE)))) {  
                 fprintf(stderr, "%s: bad baud rate %ld\n", __progname,  
                     number(value(BAUDRATE)));  
                 (void)uu_unlock(uucplock);  
                 exit(3);  
         }  
 cucommon:  cucommon:
         /*          /*
          * From here down the code is shared with           * From here down the code is shared with

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41