From 5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 30 Nov 2000 21:05:33 +0000 Subject: Initial import of slightly trimmed tcsh 6.10 --- contrib/tcsh/sh.print.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'contrib/tcsh/sh.print.c') diff --git a/contrib/tcsh/sh.print.c b/contrib/tcsh/sh.print.c index f2b304c..650731e 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 } } -- cgit v1.1