sic is an extremely simple IRC client. It consists of less than 250 lines of code. It is the little brother of irc it.
d9bda20849
cast all ctype(3) functions argument to (unsigned char) to avoid UB POSIX says: "The c argument is an int, the value of which the application shall ensure is a character representable as an unsigned char or equal to the value of the macro EOF. If the argument has any other value, the behavior is undefined." Many libc cast implicitly the value, but NetBSD for example does not, which is probably the correct thing to interpret it. |
||
---|---|---|
arg.h | ||
config.def.h | ||
config.mk | ||
LICENSE | ||
Makefile | ||
README | ||
sic.1 | ||
sic.c | ||
strlcpy.c | ||
util.c |
sic - simple irc client ======================= sic is an extremly fast, small and simple irc client. It reads commands from standard input and prints all server output to standard output. It multiplexes also all channel traffic into one output, that you don't have to switch different channel buffers, that's actually a feature. Installation ------------ Edit config.mk to match your local setup. sic is installed into /usr/local by default. Afterwards enter the following command to build and install sic (if necessary as root): $ make clean install Running sic ----------- Simply invoke the 'sic' command with the required arguments.