riostart 311 B

12345678910111213141516
  1. #!/cmd/rc
  2. scr=(`{cat /dev/draw/new >[2]/dev/null || status=''})
  3. wid=$scr(11)
  4. ht=$scr(12)
  5. window 0,0,161,117 stats -lmisce
  6. if(~ `{screensize} small)
  7. dump=acme.dump.small
  8. if not
  9. dump=acme.dump
  10. a=`{echo $wid-35 | hoc }
  11. window 60,90,$a,$ht acme -l lib/$dump
  12. window 20,140,610,450 /usr/glenda/lib/first.window