sic is an extremely simple IRC client. It consists of less than 250 lines of code. It is the little brother of irc it.
Go to file
Hiltjo Posthuma d9bda20849 fix undefined behaviour of using isspace ctype function
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.
2021-05-06 01:09:21 +02:00
arg.h applied 3 additional patches by Dimitris 2014-11-14 16:06:28 +01:00
config.def.h applied Eric's follow up patch 2014-11-12 11:18:50 +01:00
config.mk version bump 2013-08-02 22:45:08 +02:00
LICENSE added Joerg Jung's pledge patch 2017-03-18 19:24:55 +01:00
Makefile added Joerg Jung's pledge patch 2017-03-18 19:24:55 +01:00
README removed useless crap 2006-10-09 18:01:26 +02:00
sic.1 a few corrections to manpage 2012-04-20 00:15:32 +01:00
sic.c fix undefined behaviour of using isspace ctype function 2021-05-06 01:09:21 +02:00
strlcpy.c added Joerg Jung's pledge patch 2017-03-18 19:24:55 +01:00
util.c fix undefined behaviour of using isspace ctype function 2021-05-06 01:09:21 +02:00

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.