1#!/bin/rc 2 3scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) 4wid=$scr(11) 5ht=$scr(12) 6if(test $wid -le 1024) 7 echo small 8if not 9 echo normal 10