suggestions for improving man page Reference: /n/atom/patch/applied/websocket8bits Date: Fri Feb 14 21:35:55 CET 2014 Signed-off-by: quanstro@quanstro.net --- /sys/man/8/websocket Fri Feb 14 21:35:44 2014 +++ /sys/man/8/websocket Fri Feb 14 21:35:44 2014 @@ -1,6 +1,6 @@ .TH WEBSOCKET 8 .SH NAME -websocket \- a 9P-over-websocket bridge for httpd(8) +websocket \- bridge 9P over WebSocket .SH SYNOPSIS .B websocket .I "magic parameters" ... @@ -20,7 +20,7 @@ and launches .IR catclock , which expects the -.B /dev/draw/ +.B /dev/draw provided by .IR 9webdraw . .SH FILES @@ -44,22 +44,11 @@ .IR cpu (1)'s protocol. .PP -More interesting programs such as -.IR acme (1) -cannot run as user -.IR none , -because its default name\%space does not include a writeable -.BR /tmp/ . -.PP Rather than hardcoding 9P, plugins for different protocols could be chosen using the WebSocket subprotocol header. .PP Rather than running under -.IR httpd (8) -and starting a given command for each connection, -it could be generalised to serve a -.B /net/websocket/ -directory under which arbitrary programs could -.IR announce (2), -with the port field specifying the subprotocol: -.BR "announce(``websocket!*!9p'', nil)" . +.IR httpd (8), +.I websocket +could present a standard network connection directory with +.BR /net/websocket .