jehanne/usr/glenda/cmd/rc/riostart

17 lines
311 B
Bash
Executable File

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