[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.10 and 1.11

version 1.10, 2000/01/09 05:38:47 version 1.11, 2000/04/20 06:19:33
Line 395 
Line 395 
                         continue;                          continue;
                 } else if (gch == '\r') {                  } else if (gch == '\r') {
                         bol = 1;                          bol = 1;
                         pwrite(FD, &gch, 1);                          parwrite(FD, &gch, 1);
                         if (boolean(value(HALFDUPLEX)))                          if (boolean(value(HALFDUPLEX)))
                                 printf("\r\n");                                  printf("\r\n");
                         continue;                          continue;
Line 404 
Line 404 
                 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);
                 pwrite(FD, &gch, 1);                  parwrite(FD, &gch, 1);
                 if (boolean(value(HALFDUPLEX)))                  if (boolean(value(HALFDUPLEX)))
                         printf("%c", gch);                          printf("%c", gch);
         }          }
Line 434 
Line 434 
                 }                  }
         /* ESCAPE ESCAPE forces ESCAPE */          /* ESCAPE ESCAPE forces ESCAPE */
         if (c != gch)          if (c != gch)
                 pwrite(FD, &c, 1);                  parwrite(FD, &c, 1);
         return (gch);          return (gch);
 }  }
   
Line 585 
Line 585 
  * with the right parity and output it.   * with the right parity and output it.
  */   */
 void  void
 pwrite(fd, buf, n)  parwrite(fd, buf, n)
         int fd;          int fd;
         char *buf;          char *buf;
         register int n;          register int n;

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