shithub: rc

ref: e38100c90d38ced7099be43743c0afdaabd2634f
dir: /bin/9grid/

View raw version
#!/bin/rc -e
#echo no. >[1=2]; exit no.
9fs tcp!chat.9p.zone!9990 /n/chat
rm /srv/tcp!chat.9p.zone!9990
# fukken quoting
cat <<'!' >/tmp/grid.$pid
#!/bin/rc
window -r 0 0 656 516 -scroll grep -b :// /n/chat/chat
window -r 0 524 656 596 -scroll girc -g /n/chat/chat
#window -scroll 'echo cat /dev/wsys/1/text ''>>/tmp/chat''; echo ''{}>/dev/wsys/1/text''; rc'
#window -r 1589 109 1910 182 holdchat
!
chmod +x /tmp/grid.$pid
bof -i /tmp/grid.$pid
rm /tmp/grid.$pid
unmount /n/chat