code: purgatorio

Download patch

ref: a39ae178fcc4387fe63efea4d15b34d52f4a13de
parent: 6042bb8adffe111049edfcb8b2eb1ad84814ed69
author: henesy <devnull@localhost>
date: Sat May 29 21:24:40 EDT 2021

use 9p.zone as the public grid

--- a/dis/engridden
+++ b/dis/engridden
@@ -1,10 +1,10 @@
 #!/dis/sh
 # If used with `run /dis/engridden`, will load public grid resources into the current namespace
+# Tailored to 9p.zone 
+# In loving memory of Mycroftiv's Public Grid Project
 load std
 
-mount -Ac tcp!registry.9gridchan.org!6675 /mnt/registry
-
-grep 'service /bin/exportfs' /mnt/registry/index | getlines {
-	(srv is srvname mountpoint mpath rest) := ${split ' ' $line}
-	mount -Ac $srv $mpath
-}
+# Pending a better registry method or otherwise
+mount -Ac tcp!registry.9p.zone!registry /mnt/registry
+mount -Ac tcp!chat.9p.zone!9990 /n/chat
+mount -Ac tcp!9p.zone!9991 /n/griddisk
--- a/dis/gridstart
+++ b/dis/gridstart
@@ -1,5 +1,5 @@
 #!/dis/sh
-# Connect to mycroftiv's public grid services
+# Connect to public grid services
 load std
 
 run /dis/engridden
--- a/dis/hubchat
+++ b/dis/hubchat
@@ -1,9 +1,9 @@
 #!/dis/sh
-# Connect to mycroftiv's public grid chat
+# Connect to public grid chat
 load std
 
 cat /n/chat/chat &
-echo JOIN $user from Inferno! >>/n/chat/chat
+echo JOIN $user from Purgatorio! >>/n/chat/chat
 # echo -n '> ' >[1=2]
 getlines{
 	echo $user → $line