I was asked to post it so here goes.  It's not very cleaned up yet but
what I have is basically the following:  (feel free to critique it,
beat me about the head and neck with my own ignorance or whatever...)

in lib/profile

switch($service) {
case terminal
       plumber
       upas/fs
       exec rio -i lib/mystart

...

lib/mystart:
#!/bin/rc

swidth=`{cat /env/vgasize | awk -F x '{print $1}'}
sheight=`{cat /env/vgasize | awk -F x '{print $2}'}


window -r 0 0 100 $sheight winwatch -e winwatch
# Below are my "desktops"  They just overlap
# Yes I know the full path isn't necessary...
window -r 100 0 400 200 kprinter  # just watches /dev/kprint for me...
window -r 101 0 $swidth $sheight /usr/leimy/bin/rc/riosession SEmail #
Speakeasy email
window -r 101 0 $swidth $sheight /usr/leimy/bin/rc/riosession Mormail
# Mordor email
window -r 101 0 $swidth $sheight /usr/leimy/bin/rc/riosession Work     # "work"


Then there's "riosession"
#!/bin/rc

echo -n $1 > /dev/label
bind /dev/null /dev/label
sleep 2 # I actually forget why I did that
rio

Reply via email to