#!/bin/sh
DEFAULTTERM="rxvt"  #change these to set another terminal as default for hterm
DEFTERMNAME="rxvt"  #used as $TERMINAL environment variable in the called terminal (e.g. terminfo for ncurses)

echo "Herminux terminal launcher script"
echo "Usage: hterm [terminalname]   (If no name given, $1 will be run.)"

if [ $# -eq 1 ] ; then
 TERMEXE=$1 ; TERMNAME=$1 ; WINLABEL=$1
else
 TERMEXE=$DEFAULTTERM ; TERMNAME=$DEFTERMNAME ; WINLABEL="hterm"
fi

echo "Running terminal-emulator: $TERMEXE"

$TERMEXE -termName $TERMNAME -name $WINLABEL -fn 6x13 -bg black -fg white -sr

