diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-26 10:28:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-26 10:28:23 +0000 |
commit | e8a4a99db87d7a271fe06aa64ba749b02f389bc1 (patch) | |
tree | e35d4c0681985cdbe7a8b6ef658d26c3b861541a /usr.bin | |
parent | ec60c7dd19aa387f7465259ca0496d5ffa94e2b5 (diff) |
VIS_NOSLASH
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/wall/wall.c | 6 | ||||
-rw-r--r-- | usr.bin/write/write.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index f7b70a248e4..51a14313413 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wall.c,v 1.4 1996/08/26 10:21:48 deraadt Exp $ */ +/* $OpenBSD: wall.c,v 1.5 1996/08/26 10:28:22 deraadt Exp $ */ /* $NetBSD: wall.c,v 1.6 1994/11/17 07:17:58 jtc Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; #endif -static char rcsid[] = "$OpenBSD: wall.c,v 1.4 1996/08/26 10:21:48 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: wall.c,v 1.5 1996/08/26 10:28:22 deraadt Exp $"; #endif /* not lint */ /* @@ -181,7 +181,7 @@ makemsg(fname) } while (fgets(lbuf, sizeof(lbuf), stdin)) for (cnt = 0, p = lbuf; (ch = *p) != '\0'; ++p, ++cnt) { - vis(tmpbuf, ch, VIS_SAFE, p[1]); + vis(tmpbuf, ch, VIS_SAFE|VIS_NOSLASH, p[1]); if (cnt == 79+1-strlen(tmpbuf) || ch == '\n') { for (; cnt < 79+1-strlen(tmpbuf); ++cnt) putc(' ', fp); diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 0201c52d891..2be00a91151 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: write.c,v 1.5 1996/08/26 10:22:11 deraadt Exp $ */ +/* $OpenBSD: write.c,v 1.6 1996/08/26 10:28:20 deraadt Exp $ */ /* $NetBSD: write.c,v 1.5 1995/08/31 21:48:32 jtc Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)write.c 8.2 (Berkeley) 4/27/95"; #endif -static char *rcsid = "$OpenBSD: write.c,v 1.5 1996/08/26 10:22:11 deraadt Exp $"; +static char *rcsid = "$OpenBSD: write.c,v 1.6 1996/08/26 10:28:20 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -310,7 +310,7 @@ wr_fputs(s) PUTC('\n'); continue; } - vis(visout, c, VIS_SAFE, s[1]); + vis(visout, c, VIS_SAFE|VIS_NOSLASH, s[1]); for (s2 = visout; *s2; s2++) PUTC(*s2); } |