iii
is a frontend to ii
/iim
so that one can easily view and send messages.
it outputs text, formatted, and colored, and allows for some configuration.
options are passed as enviromental variables.
n: the user's nickname
i: the root directory [default: $HOME/irc]
s: the network in which the channel resides [default: irc.oftc.net]
c: the channel to interact with [default: none - the network view]
m: max length for nicks [default: 12]
h: the number of lines to include from history [default: 20]
r: randomization of nick colors
typical usage would be:
c=#suckless iii.sh
h=50 n=irc.freenode.net c=#musl iii.sh
to quit iii
just send :q
.
to mark the current spot on the conversation send :m
.
to quit and mark send :x
.
some common commands are supported,
like /op
/deop
/ban
/unban
/names
/wi
tmiii
is a wrapper to iii
to spawn iii
instances inside a tmux
session named whose
name is IRC-$network, where $network is the name of the network that the channel is on,
with periods in the name replaced by slashes (as tmux uses a period character to denote
pane id). running tmiii
on a channel on irc.freenode.net
will spawn the iii
instance
in a tmux
session named IRC-irc/freenode/net
. each iii
instance inside tmux
is in
its own window, named by the channel it shows. tmiii
acceps the same env vars as iii
plus t
to set the TERM variable, used by tmux
.
l=false h=50 n=irc.freenode.net c=#cat-v tmiii.sh
notifiii
monitors a hierarchy of files and automatically spawns a terminal running iii
with the channel that got activity. notifiii
by default ignores joins, parts, quits and
any message from the network (user -!-
). notifiii
accepts the irc root directory - by
default $HOME/irc
- to monitor as an argument. if the network directory under the irc root
directory contains a file called nick
(e.g. $HOME/irc/irc.freenode.net/nick
), then
notifiii
will set the nickname environment variable to the contents of this file (so that
different nicknames on different networks will be highlighted correctly).
notifiii.sh /tmp/irc
- inotify-tools
- rlwrap - readline wrapper
- inotify is not portable - linux only interface. (emulation wrappers are available on other platforms, however)
code and text for iii
tmiii
and notifiii
are unlicensed.
see UNLICENSE file and unlicense.org for more information.
original hacks by Ivan c00kiemon5ter V Kanakarakis. if you have cookies, share :]
more recent hacks and gutting of the rendering engine (such as it is) by multiplexd