Skip to content
ii improved - minimalist FIFO and filesystem-based IRC client inspired by suckless ii
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.mkdn
iim.c
notes.mkdn

README.mkdn

iim - ii improved

iim is as a complete rewrite of the original ii from suckless.org it started as a cleanup for ii's source code, then added some fixes. it ended up smaller, easier to understand and supporting more commands

ii

ii is a minimalist FIFO and filesystem-based IRC client. It creates an irc directory tree with server, channel and nick name directories. In every directory a FIFO in file and a normal out file is created.

The in file is used to communicate with the servers and the out files contain the server messages. For every channel and every nick name there are related in and out files created. This allows IRC communication from command line and adheres to the Unix philosophy.

build

make iim CFLAGS="-std=c99 -Os -Wall -Wextra -pedantic"

install

sudo install iim /usr/local/bin/

switches

-i <path to irc-dir>
-s <server-name>
-p <server port>
-k <enviromental variable holding the server password>
-n <user's nickname>
-f <user's full/real name>

irc commands

/a [away message]
set away status

/i <user>
invite user to current channel

/j <channel|user> [key|message]
join channel with given key if needed
query user with initial message

/k <user>
kick user from current channel

/l [message]
leave or part current channel with message

/m <mode>
change current channel's mode (mlock)

/n <nickname>
change nickname

/p <message>
send a message to current channel or user

/q [message]
quit server and close connection

/r <message>
send raw irc data

/t [topic]
ask for or change the current channel's topic

/u
retrieve user list in current channel

anything sent prefixed with a slash (/) is treated as a command for example, /names #foobar will send a NAMES #foobar command

You can’t perform that action at this time.