shithub: rc

ref: d5ea63a02a7a4b0cedecdd66e242125e065fa767
dir: /bin/work/proj/

View raw version
#!/bin/rc -b
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
echo -n /lib/font/bit/terminus/unicode.12m.font >/env/font
echo 4 >/env/tabstop
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 -m -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