shithub: rc

ref: 964f71e5a6bac78cf5f9eccef3d7cd78c80595cd
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
label proj
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