This is a fork of tools.suckless.org/ii.
ii is a minimalistic FIFO and filesystem based IRC client. It creates an
irc directory tree with server, channel and nick name subdirectories. Every
directory contains a FIFO (
in) and a normal file (
in file is used to communicate with the servers, while the
store the server messages.
The basic idea of this is to be able to communicate with an IRC server with standard command line tools.
config.mk to match your local setup.
ii is installed into
/usr/local by default.
Then, to build and install ii (if necessary as root):
$ make clean install
ii with required arguments.
$ ii -i ~/.irc -n tutti -s irc.fusch.online
This will create the following directory tree:
$ tree ~/.irc ~/.irc/ └── irc.fusch.online ├── in └── out
You can join for example
#git by writing `/join #git' into the server FIFO:
$ echo "/join #git" > ~/.irc/irc.fusch.online/in $ tree ~/.irc ~/.irc/ └── irc.fusch.online ├── #git │ ├── in │ └── out ├── in └── out
New messages to
#git will be appended to
$ tail -f ~/.irc/irc.fusch.online/\#git/out
You can write a message to
#git just the same way:
$ echo "hello, anybody here?" > ~/.irc/irc.fusch.online/\#git/in