shithub: rc

ref: f3afdf563f784c0a5703496f48c1a72dff4617f4
dir: /grid/up/

View raw version
#!/bin/rc
# grid/up - initialize grid services
# usage: grid/up

srv tcp!149.28.123.225!9990 149.28.123.225 /n/grid

#
#fn clean {
#	echo $1 | sed 's/.*!([^!]+)!.*/\1/'2
#}
#
#for(s in /n/registry/tcp*){
#	s=`{basename $s}
#	srv $s `{clean $s} /n/^`{clean $s} &
#}

echo
echo '     -- welcome to 9grid --'
echo

#while(~ $#nick 0){
#	echo please enter a nick:
#	nick=`{read}
#}

nick=thedæmon

#exec rio -i grid/rio
#window -scroll grid/chat
grid/chat