screensize 145 B

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