Keith Smith SEZ in a message ...]-
]-Davide Dozza SEZ in a message ...]-
]-]-
]-]-I have tried to set TERMCAP but I did not manage to solve the problem.
]-]-
]-]-Does anyone have any suggestion?
]-]-
]-]-
POOP!
The refs to odd lbbx... are because I use SVGATextMode to set my screen
to 112x40 most of the time. Same cap, change co# and li#.
Wrapper the bin call with something similar to this:
/usr/local/bin/bbx4:
----------------------------------------------------------------------
:
#
# bbx4 - Shell script front end for bbx
#
TERMCAP=/etc/termcap
export TERMCAP
# Unibol keeps goofing with the tty permssions
TTY=`tty`
if [ "$TTY" != "not a tty" ]
then
chmod 0666 $TTY
fi
restart=0
# Linux doesn't like row 25 col 80 very well, special termcaps
case "$TERM" in
linux) TERM=linbbx
restart=1 ;;
116x51|linux116x51) TERM=lbbx116x51
restart=1 ;;
132x43|linux132x43) TERM=lbbx132x43
restart=1 ;;
112x40|linux112x40) TERM=lbbx112x40
restart=1 ;;
esac
if [ $restart -eq 1 ]
then
restart=0
export TERM
/bin/echo "\033[?7l\c"
$0 $*
rval=$?
/bin/echo "\033[?7h\c"
exit $rval
fi
# Check to see if we have a BBX enviroment variable set for
# configuration If so we'll use it
BBX4_CONFIG=${BBX4_CONFIG:=/usr/bbx4/config.bbx}
BBX4_EXE=${BBX4_EXE:=/usr/bbx4/bbx4}
if [ "$1" = "" ]
then
exec $BBX4_EXE -c$BBX4_CONFIG -m768 ut/setkey
else
mem="-m1024"
conf="-c$BBX4_CONFIG"
while [ $# -gt 0 ]
do
case "X$1" in
X-m*) mem="$1" ;;
X-c*) conf="$1" ;;
X-q) : ;;
X-) args="$args $*"
while [ $# -gt 1 ]
do
shift
done ;;
*) args="$args $1" ;;
esac
shift
done
exec $BBX4_EXE $conf $mem -q $args
fi
----------------------------------------------------------------------
--
Keith Smith [EMAIL PROTECTED]
655 W Fremont Dr
Tempe AZ 85282 it's hot