Plan 9 from Bell Labs’s /usr/web/sources/contrib/sl/rc/md
#!/bin/rc rfork e res=(506 534 834 767) while(~ $1 -*){ if(~ $1 -2) res=(761 743 1355 1199) args=($args $1) shift } game=$1 if(! ~ $game /*) game=`{pwd}^/$game args=($args $game) window -r $res 'label md '$1'; games/md '$"args