Plan 9 from Bell Labs’s /usr/web/sources/contrib/lee/misc/riostart

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc

scr=(`{cat /dev/draw/new >[2]/dev/null || status=''})
wid=$scr(11)
ht=$scr(12)

wid1=`{echo $wid-1 | hoc}
ht1=`{echo $ht-1 | hoc}

window 0,0,161,117 stats -lmisce
window 161,0,$wid1,$ht1 rc
window 0,117,$wid,$ht acme

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.