head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	RELEASE_3_3_0:1.2
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.2
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.2
	RELEASE_2_2_1:1.2
	RELEASE_2_2_2:1.2
	cxterm_5_0_3:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.02.04.11.14.55;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	96.09.17.22.51.49;	author chuckr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.09.17.22.51.49;	author chuckr;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Fixed a bogon -- that's /usr, not /uar
@
text
@--- scripts/CXterm.sh.orig	Tue Jan 31 20:05:00 1995
+++ scripts/CXterm.sh	Sat Aug 24 14:36:03 1996
@@@@ -11,14 +11,17 @@@@
 check_use_font ()
 {
     for f in "$@@" ; do
-	if [ "`xlsfonts $f 2>/dev/null`" = "$f" ]; then
+	# the awk'ing is needed if $f exists in more than one font dir - DEO
+	TRYFONT=`xlsfonts $f 2>/dev/null | /usr/bin/awk '{print $1 ; exit}'`
+	if [ "$TRYFONT" = "$f" ]; then
 	    echo $f
 	    return 0
 	fi
     done
     xset fp+ "$XFONTDIR"
     for f in "$@@" ; do
-	if [ "`xlsfonts $f 2>/dev/null`" = "$f" ]; then
+	TRYFONT=`xlsfonts $f 2>/dev/null | /usr/bin/awk '{print $1 ; exit}'`
+	if [ "$TRYFONT" = "$f" ]; then
 	    echo $f
 	    return 0
 	fi
@


1.1
log
@Initial revision
@
text
@d18 1
a18 1
+	TRYFONT=`xlsfonts $f 2>/dev/null | /uar/bin/awk '{print $1 ; exit}'`
@


1.1.1.1
log
@New chinese language port, cxterm, tested and ready!
Submitted by:	David O'Brien
@
text
@@
