Plan 9 from Bell Labs’s /usr/web/sources/contrib/aiju/geode/debug/seg.rc
#!/bin/rc fn gr { seg -Lr geodemmio 16384 $1 } fn gw { seg -Lw geodemmio 16384 $1 $2 } fn fr { seg -Lr geodescreen 67108864 $1 } fn fw { seg -Lw geodescreen 67108864 $1 $2 } fn vr { seg -Lr geodevid 16384 $1 } fn vw { seg -Lw geodevid 16384 $1 $2 }