#! /bin/sh

bgeom=$1
shift
pw=${bgeom/x*}
ph=${bgeom/*x}
ph=${ph/+*}
ppos=${bgeom/${pw}x$ph}

w=$(($pw-2))
h=$(($ph-16-6))
w=$(($w/6))
h=$(($h/13))

exec xterm -bg black -fg white -bw 0 -geometry ${w}x$h$ppos -hold -font fixed -e "$@"
