first 9grid application ;)
andrey mirtchovski <mirtchov-o/MP3MtDmzouExZ/[email protected]>
| Newsgroups | gmane.os.plan9.nine-grid |
|---|---|
| Message-ID | <[email protected]> |
i've hacked (butchered, really) consolefs to create the first 9grid application! what it does it to post a file descriptor somewhere on the grid, which then can be mount-ed by anyone who has access to the grid. then it multiplexes text entered to all parties connected, effectively acting as an IRC channel :) example: plan9-2% import plan9 /srv /srv -- the fs is on another machine plan9-2% mount /srv/consoles /mnt/consoles/ -- mount the fid somewhere where we can see it plan9-2% con -l /mnt/consoles/irc -- connect to a channel via 'con' [+andrey] -- one user this is a test -- i'm writing a text [andrey] this is a test -- which is then broadcasted [+andrey, andrey] -- another user joins in (i don't have many test users :) [andrey] hello andrey! -- writes something [-andrey, andrey] -- and quits there, now we only need an auth server to trust and we're set :)