#!/bin/sh
case $1 in
2) s='cls: fls:' ;;
1) s='fil:0:0:192:64:1 fls:' ;;
*) s="cls: $(y=0;while [ $y -lt 64 ];do echo fil:0:$y:192:1:1;y=$((y+8));done) $(x=0;while [ $x -lt 192 ];do echo fil:$x:0:1:64:1;x=$((x+8));done) box:0:0:192:64:1 fls:" ;;
esac
glcdd $s
i=$(ub300key -wheel | ( while read k i; do [ $k -eq 16 -o $k -eq 32 ] && break; done; echo $k ))
[ $i = 32 ]
