repository overview

about

information about this package can be found in the README. here is a html-version of the README:

status

has been in use for quite some time.

intro

ircfs is an irc client with a 9p2000 file system interface, an irc
library and a tk front-end for the filesystem (wm/irc).  all written
in limbo for use under inferno.
see the manual pages for details, ircfs(4) and wm-irc(1).

download

the latest version can be found at:
http://www.ueber.net/code/r/ircfs

install

modify "mkconfig" if you do not have $ROOT set.  run "mk install"
to compile and install.  NOTE: just "mk" does not work, since the
module files (*.m) will be missing and compilation of source files
(*.b) will fail.
when building from within inferno, insert SYSHOST=Inferno and ROOT=
in the mk invocations to override the values in the mkconfig.

licence & author

this code is in the public domain.  the code is written by mechiel
lukkien, reachable at mechiel@ueber.net.

example

to run ircfs on a remote machine and export its files, you can do the following.
on the remote machines, to start ircfs:
once: mkdir /mnt/irc /mnt/irc/freenode $home/irclog $home/irclog/freenode
emu -c0
ndb/cs
mount {ircfs -d -l $home/irclog/freenode -a net!irc.freenode.net!6667 -n ircfsuser freenode} /mnt/irc/freenode
styxlisten -A net!*!6872 {export /mnt/irc}
and to mount the ircfs tree and start the gui wm/irc:
once: mkdir /mnt/irc
ndb/cs
mount net!remotemachine!6872 /mnt/irc
wm/irc -d /mnt/irc/freenode &

example, with authentication

you should set up authentication, this should be outside the scope of this document...
to set this up, first run a signer:
ndb/cs
auth/createsignerkey
svc/auth
auth/changelogin yourusername	# enter password
make the $home/keyring/ircfs file:
getauthinfo ircfs	# enter signer address and password
now either copy the ircfs to the styx client and server,
or do the getauthinfo again.  finally, replace the -A in
the mount and styxlisten calls earlier by "-k $home/keyring/ircfs".

todo

clone

to clone & pull:

hg clone http://www.ueber.net/hgsrv/ircfs/
or
hg clone static-http://www.ueber.net/who/mjl/hg/ircfs/

tgz

download a snapshot of the latest version: ircfs-96.tgz.

contents

the files in the latest revision can be found at /hg/ircfs/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:

manual pages:

limbo module files:

limbo source files:

changes

rev nodeid when diff why
96 1ba7ba841eb6 13 months diff after resizing, scroll windows that had last line visible.
95 cdc0bd363987 13 months diff fix indenting of long lines. remove dead code. cosmetics.
94 f9c95310c9ee 13 months diff man page improvements, and better scrolling.
93 53a4b491e5ed 14 months diff use dial.m
92 aa578758e270 15 months diff style nits.
91 fb003aaa9a03 15 months diff don't set fonts explicitly in wm/irc, be happy with tk default fonts.
90 9fe23b5fbff8 15 months diff make ircfs handle reads smaller than a line on Qdata files. fix b...
89 1224731f77b1 2 years diff do not crash on wstat on not-open data files. ...
88 f905ee9fdd6a 2 years diff remove -D flag from ircfs, people can use mount -S instead. add "...
87 385f539f3fad 2 years diff prevent crash when reading "nick" while not connected. add defaul...
86 ada25848fd88 2 years diff wm/irc printed 'unknown command' for '/win away ...'. it did exec...
85 0d140f6caa56 2 years diff three little things. ...
84 b5793f06f696 2 years diff don't tab-complete names for empty strings. allow acme-like chord...
83 5319b2ac1108 2 years diff let users of ircfs access irc directories while disconnected. do ...
82 9d08ac440883 2 years diff in wm/irc, remove the ~ indication of delay after we have response...
81 1547801cedb7 2 years diff make error text from irc server about non-existent users/channels ...
80 b3ef5d0bbaba 2 years diff in wm/irc, make difference between wm/irc & ircfs commands (ctls) ...
79 e4fdfa4b870a 2 years diff change synopsis from "X" to "mount {X} mtpt".
78 4687a0de195f 2 years diff mostly style nits. and mention the general design at the top of a...
77 87947384cf9f 2 years diff don't block when writing to a window's ctl file. ...
76 08984e34b3b8 2 years diff show in server status window when there is a delay in messages fro...