wm: doc

ref: 12cbd60630f854d103b916b3e6f51b1cbda5810c
dir: /9gridchan.ms/

View raw version
.TL
9gridchan

.SH
From Plan9

.PP
Replace $user with your username. 

.P1
; 9fs tcp!cloud9p.org!900 /n/chat
; cat /n/chat/chat &
; while() echo `{date -u -f 'hh:mm'} '<'$user'>' `{read} >> /n/chat/chat
.P2

.SH
From UNIX:

.IP *
Install plan9port[1]. 

.PP
On OpenBSD: either libixp or plan9port works, just replace command name, 
.P1
$ doas pkg_add plan9port
.P2
    
.IP *
Now to connect, run: 

.P1
$ 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
.P2  

.PP
Note: hubfs does not work with tail, so it is not possible to run tail on the chat file.

.FS
.IP [1]
https://9fans.github.io/plan9port/
.FE