ref: e3fd8f1a5605ba41454588478a2bddf956cee5c5
dir: /osuny/
#!/bin/rc
# 2025-11-18T20:12:21-05:00
rfork e
host=osuny.inri.net
auth=auth.inri.net
sys=`{echo $host | awk -F '.' '{print $1}'}
switch($1){
case -m
rimport -c -s $sys $host / /n/$sys
case -t
rfork n &&
rimport osuny.inri.net /net &&
telnet -r tcp!$host!666
case -tt
rfork n &&
rimport osuny.inri.net /net &&
telnet -r tcp!$host!7734
case -s
ssh bbs@$host
case -ss
ssh tcp!osuny.bell-labs.co!999
case *
if(~ $service cpu terminal){
label $sys
rcpu -h $host $*
}
if not
drawterm -h $host -a $auth $*
}