shithub: rc

ref: 0a5e1ed63e05c429a2355505a015c2beb9ca656a
dir: /bin/work/proj/

View raw version
#!/bin/rc
rfork ne

. /tmp/sizes.$sysname
f=()
if(test -f $home/lib/rsam){
	f=`{cat $home/lib/rsam}
	eval 'f=('^$"f^')'
}
unmount /mnt/plumb
plumber -s plumb.$pid

cat <<! >/tmp/work.$pid
#!/bin/rc
window -r $bcmdrect -scroll
#window -r 530 270 1401 1175 mothra #https://ocaml.org/learn/tutorials/
#plumb /lib/books/doomrpg/decoding.doomrpg.pdf!8
#plumb /lib/books/Sanglard/sanglard.game.engine.black.book.doom.v1.1.pdf!209
#plumb /lib/books/algorithms/albertetal.cours.et.exercices.dinformatique.pdf!12
#plumb /lib/books/specs/igfx/kbl/intel-gfx-prm-osrc-kbl-vol12-display.pdf!126
#plumb /lib/books/specs/igfx/hsw/intel-gfx-prm-osrc-hsw-display.pdf!171
#plumb /lib/books/gameai/millington.artificial.intelligence.for.games.pdf
#plumb /lib/books/maths/lengyel.mathematics.for.3d.game.programming.and.computer.graphics.pdf
window -r $bsamrect jam $f
!
chmod +x /tmp/work.$pid
bof -i /tmp/work.$pid

rm /tmp/work.$pid
unmount /mnt/plumb
rm /srv/plumb.$pid
exit