:
#	@(#) nr.sh 1.2 89/12/06 
#
#	Copyright (C) The Santa Cruz Operation, 1987.
#	This Module contains Proprietary Information of
#	The Santa Cruz Operation, Microsoft Corporation
#	and AT&T, and should be treated as Confidential.
#

# Shell script to pass its standard input to nroff.
#
col="0"
if [ "$TERM" = "300" -o "$TERM" = "300s" -o "$TERM" = "450" \
	-o "$TERM" = "37" -o "$TERM" = "4000a" -o "$TERM" = "382" \
	-o "$TERM" = "4014" -o "$TERM" = "tek" -o "$TERM" = "1620" \
	-o "$TERM" = "X" ]
then
	col="1"
fi
#
term="-T$TERM"
if [ "$TERM" = "" ]
then
   term=""
fi
#
if [ col = "0" ]
then
	tbl | eqn | nroff -man $term
else
	tbl | eqn | nroff -man $term | col -b
fi
