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.

summary

this package contains an irc file system (ircfs), an irc library
and a tk front-end for the filesystem (wm/irc).  all written in
limbo for use under inferno.

download

see ircfs' homepage at http://www.ueber.net/code/r/ircfs for the
latest version.

install

modify "mkconfig" if you do not have $ROOT set.  now type
"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.

documentation

see the manual pages for details, ircfs(4) and wm-irc(1).

licence & author

this code is in the public domain.  the code is written by mechiel
lukkien, reachable at mechiel@xs4all.nl or 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-89.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
89 1224731f77b1 7 months diff do not crash on wstat on not-open data files. ...
88 f905ee9fdd6a 10 months diff remove -D flag from ircfs, people can use mount -S instead. add "...
87 385f539f3fad 10 months diff prevent crash when reading "nick" while not connected. add defaul...
86 ada25848fd88 11 months diff wm/irc printed 'unknown command' for '/win away ...'. it did exec...
85 0d140f6caa56 11 months diff three little things. ...
84 b5793f06f696 12 months diff don't tab-complete names for empty strings. allow acme-like chord...
83 5319b2ac1108 12 months diff let users of ircfs access irc directories while disconnected. do ...
82 9d08ac440883 12 months diff in wm/irc, remove the ~ indication of delay after we have response...
81 1547801cedb7 12 months diff make error text from irc server about non-existent users/channels ...
80 b3ef5d0bbaba 12 months diff in wm/irc, make difference between wm/irc & ircfs commands (ctls) ...
79 e4fdfa4b870a 12 months diff change synopsis from "X" to "mount {X} mtpt".
78 4687a0de195f 14 months diff mostly style nits. and mention the general design at the top of a...
77 87947384cf9f 14 months diff don't block when writing to a window's ctl file. ...
76 08984e34b3b8 14 months diff show in server status window when there is a delay in messages fro...
75 7c649ba31346 14 months diff make startup faster. ...
74 8bd2e728781a 14 months diff add possibility for sending password at connect. allow msg'ing a ...
73 67d5a117ccfa 14 months diff fix the problem of superfluous windows on user quits/parts. hopef...
72 29b287ed7dbb 17 months diff fix problem with listing the contents of the root dir. found & an...
71 668cb85a83d6 17 months diff replace cut & snarf buttons with mouse chording. after pressing "...
70 53891d64ae6a 21 months diff try a bit harder not to send irc messages to the server that are t...
69 d3382aaed5eb 21 months diff implement searching from recent to old, and do that by default. ...