aboutsummaryrefslogtreecommitdiff
path: root/contrib/tcsh/sh.print.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-11-30 21:05:33 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-11-30 21:05:33 +0000
commit3b6eaa7b1ef31985836f61a8d833b90490c337b5 (patch)
treea212ee10b5214f5c4302ff44d44c2542d83cf7b6 /contrib/tcsh/sh.print.c
parentb3a5f6c29dfc2c09b67dab73ff97cb6b5fcb425b (diff)
downloadsrc-3b6eaa7b1ef31985836f61a8d833b90490c337b5.tar.gz
src-3b6eaa7b1ef31985836f61a8d833b90490c337b5.zip
Initial import of slightly trimmed tcsh 6.10
Notes
Notes: svn path=/vendor/tcsh/dist/; revision=69408
Diffstat (limited to 'contrib/tcsh/sh.print.c')
-rw-r--r--contrib/tcsh/sh.print.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/tcsh/sh.print.c b/contrib/tcsh/sh.print.c
index f2b304c23c03..650731e1110e 100644
--- a/contrib/tcsh/sh.print.c
+++ b/contrib/tcsh/sh.print.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/sh.print.c,v 3.19 2000/01/14 22:57:28 christos Exp $ */
+/* $Header: /src/pub/tcsh/sh.print.c,v 3.20 2000/06/11 02:14:15 kim Exp $ */
/*
* sh.print.c: Primitive Output routines.
*/
@@ -36,7 +36,7 @@
*/
#include "sh.h"
-RCSID("$Id: sh.print.c,v 3.19 2000/01/14 22:57:28 christos Exp $")
+RCSID("$Id: sh.print.c,v 3.20 2000/06/11 02:14:15 kim Exp $")
#include "ed.h"
@@ -136,17 +136,17 @@ xputchar(c)
if (c != '\t' && c != '\n' && (xlate_cr || c != '\r')) {
#endif
xputchar('^' | atr);
-#ifndef _OSD_POSIX
+#ifdef IS_ASCII
if (c == ASCII)
c = '?';
else
c |= 0100;
-#else /*_OSD_POSIX*/
+#else
if (c == CTL_ESC('\177'))
c = '?';
else
c =_toebcdic[_toascii[c]|0100];
-#endif /*_OSD_POSIX*/
+#endif
}
}