diff options
author | ache <ache@FreeBSD.org> | 2000-11-30 21:05:33 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-11-30 21:05:33 +0000 |
commit | 5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068 (patch) | |
tree | a212ee10b5214f5c4302ff44d44c2542d83cf7b6 /contrib/tcsh/sh.print.c | |
parent | d7d472004aa5fe13bc67f9aa639952d978d342e9 (diff) | |
download | FreeBSD-src-5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068.zip FreeBSD-src-5e7fc01bd9bf3444f2d8b21ab1c56c1f2d599068.tar.gz |
Initial import of slightly trimmed tcsh 6.10
Diffstat (limited to 'contrib/tcsh/sh.print.c')
-rw-r--r-- | contrib/tcsh/sh.print.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 } } |