=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tip/Attic/tip.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/tip/Attic/tip.c 1997/09/01 23:24:26 1.8 +++ src/usr.bin/tip/Attic/tip.c 1998/07/12 05:27:04 1.9 @@ -1,4 +1,4 @@ -/* $OpenBSD: tip.c,v 1.8 1997/09/01 23:24:26 deraadt Exp $ */ +/* $OpenBSD: tip.c,v 1.9 1998/07/12 05:27:04 todd 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.8 1997/09/01 23:24:26 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: tip.c,v 1.9 1998/07/12 05:27:04 todd Exp $"; #endif /* not lint */ /* @@ -109,6 +109,10 @@ vflag++; break; + case 'n': + noesc++; + break; + case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': BR = atoi(&argv[1][1]); @@ -371,8 +375,10 @@ while (1) { gch = getchar()&STRIP_PAR; if ((gch == character(value(ESCAPE))) && bol) { - if (!(gch = escape())) - continue; + if (!noesc) { + if (!(gch = escape())) + continue; + } } else if (!cumode && gch == character(value(RAISECHAR))) { setboolean(value(RAISE), !boolean(value(RAISE))); continue;