wm: doc

Download patch

ref: 299372f834200534d2509f1fe8cce223195d1c1f
parent: 00eeeab006885c2b067df5e5b1d1f7b082ab89ee
author: jrmu <jrmu@inter9>
date: Wed Oct 4 10:00:18 EDT 2023

9gridchan instructions

--- /dev/null
+++ b/9gridchan.ms
@@ -1,0 +1,38 @@
+# 9gridchan
+
+## From Plan9
+
+Replace $user with your username. 
+
+
+
+    ; 9fs tcp!cloud9p.org!900 /n/chat
+    ; cat /n/chat/chat &
+    ; while() echo `{date -u -f 'hh:mm'} '<'$user'>' `{read} >> /n/chat/chat
+    
+
+
+
+## From UNIX:
+
+Install [plan9port][1]. 
+
+On OpenBSD: either libixp or plan9port works, just replace command name, 
+
+
+
+    $ doas pkg_add plan9port
+    
+
+Now to connect, run: 
+
+
+
+    $ 9 9p -a 'tcp!cloud9p.org!900' read chat | sed "s/$/$(echo '\a')/" &
+    while read l; do echo $(date -u "+%H:%M") $USER → "$l"
+    done | 9 9p -a 'tcp!cloud9p.org!900' write chat
+    
+
+Note: hubfs does not work with tail, so it is not possible to run tail on the chat file.
+
+ [1]: https://9fans.github.io/plan9port/
\ No newline at end of file