[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.16 and 1.17

version 1.16, 2002/02/25 00:20:19 version 1.17, 2002/03/25 16:41:36
Line 372 
Line 372 
 {  {
         char bol = 1;          char bol = 1;
         int gch;          int gch;
           char ch;
   
         /*          /*
          * Kinda klugey here...           * Kinda klugey here...
Line 398 
Line 399 
                         continue;                          continue;
                 } else if (gch == '\r') {                  } else if (gch == '\r') {
                         bol = 1;                          bol = 1;
                         parwrite(FD, &gch, 1);                          ch = gch;
                           parwrite(FD, &ch, 1);
                         if (boolean(value(HALFDUPLEX)))                          if (boolean(value(HALFDUPLEX)))
                                 printf("\r\n");                                  printf("\r\n");
                         continue;                          continue;
Line 407 
Line 409 
                 bol = any(gch, value(EOL));                  bol = any(gch, value(EOL));
                 if (boolean(value(RAISE)) && islower(gch))                  if (boolean(value(RAISE)) && islower(gch))
                         gch = toupper(gch);                          gch = toupper(gch);
                 parwrite(FD, &gch, 1);                  ch = gch;
                   parwrite(FD, &ch, 1);
                 if (boolean(value(HALFDUPLEX)))                  if (boolean(value(HALFDUPLEX)))
                         printf("%c", gch);                          printf("%c", ch);
         }          }
 }  }
   

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17