=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tip/Attic/tip.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/tip/Attic/tip.c 2000/01/09 05:38:47 1.10 +++ src/usr.bin/tip/Attic/tip.c 2000/04/20 06:19:33 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: tip.c,v 1.10 2000/01/09 05:38:47 jason Exp $ */ +/* $OpenBSD: tip.c,v 1.11 2000/04/20 06:19:33 deraadt Exp $ */ /* $NetBSD: tip.c,v 1.13 1997/04/20 00:03:05 mellon Exp $ */ /* @@ -44,7 +44,7 @@ #if 0 static char sccsid[] = "@(#)tip.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: tip.c,v 1.10 2000/01/09 05:38:47 jason Exp $"; +static char rcsid[] = "$OpenBSD: tip.c,v 1.11 2000/04/20 06:19:33 deraadt Exp $"; #endif /* not lint */ /* @@ -395,7 +395,7 @@ continue; } else if (gch == '\r') { bol = 1; - pwrite(FD, &gch, 1); + parwrite(FD, &gch, 1); if (boolean(value(HALFDUPLEX))) printf("\r\n"); continue; @@ -404,7 +404,7 @@ bol = any(gch, value(EOL)); if (boolean(value(RAISE)) && islower(gch)) gch = toupper(gch); - pwrite(FD, &gch, 1); + parwrite(FD, &gch, 1); if (boolean(value(HALFDUPLEX))) printf("%c", gch); } @@ -434,7 +434,7 @@ } /* ESCAPE ESCAPE forces ESCAPE */ if (c != gch) - pwrite(FD, &c, 1); + parwrite(FD, &c, 1); return (gch); } @@ -585,7 +585,7 @@ * with the right parity and output it. */ void -pwrite(fd, buf, n) +parwrite(fd, buf, n) int fd; char *buf; register int n;