#!/bin/rc # by Lee Duhem(lee.duhem@gmail.com) rfork e size = `{echo $vgasize | awk -F'x' '{print $1 " " $2}'} w = `{echo $size(1) - 1 | hoc} h = `{echo $size(2) - 1 | hoc} echo resize -r 0 0 $w $h >> /dev/wctl