ii

My fork of https://tools.suckless.org/ii/
git clone https://git.inz.fi/ii
Log | Files | Refs | README | LICENSE

commit c8ea25a172b026708bc2df0dfc944db4ec8f1c61
parent 7e890e305dcdf52f6887f966bee86cc18fc41251
Author: nion@h4447.serverkompetenz.net <unknown>
Date:   Thu,  1 Feb 2007 11:56:45 +0100

release prepared
Diffstat:
MFAQ | 6++++--
MLICENSE | 2+-
MMakefile | 2+-
Mconfig.mk | 4+++-
Mii.1 | 11++++++-----
Mii.c | 2+-
6 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/FAQ b/FAQ @@ -1,4 +1,5 @@ FAQ +=== Where is IRC command xy (ignore etc.)? -------------------------------------- @@ -10,10 +11,11 @@ Where is a graphical interface? Basically ii follows the UNIX philosophy so it is only file based. But it should be easy to build different interface because they only have to handle the FIFOs and output files. Feel free to implement or wait until we have done -this. +this. Actually I use ii in combination with vim, multitail and screen and it works +like a charm. Which commands are supported? ----------------------------- -j (join), t (topic), a (away), m (msg), n (nick), l (leave). The missing are +j (join or msg), t (topic), a (away), n (nick), l (leave). The missing are obsolete or can be easily used by typing the IRC commands itself (i.e. /WHO instead of /who). diff --git a/LICENSE b/LICENSE @@ -1,7 +1,7 @@ MIT/X Consortium License (C)opyright MMV Anselm R. Garbe <garbeam@wmii.de> -(C)opyright MMV Nico Golde <nico at ngolde dot de> +(C)opyright MMV-MMVII Nico Golde <nico at ngolde dot de> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/Makefile b/Makefile @@ -1,5 +1,5 @@ # ii - irc it - simple but flexible IRC client -# (C)opyright MMV Anselm R. Garbe, Nico Golde +# (C)opyright MMV-MMVII Anselm R. Garbe, Nico Golde include config.mk diff --git a/config.mk b/config.mk @@ -10,11 +10,13 @@ DESTDIR = INCDIR = ${PREFIX}/include LIBDIR = ${PREFIX}/lib -VERSION = 1-rc2 +VERSION = 1 # includes and libs INCLUDES = -I. -I${INCDIR} -I/usr/include LIBS = -L${LIBDIR} -L/usr/lib -lc +# uncomment for compiling on Solaris +# LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl # compiler CC = cc diff --git a/ii.1 b/ii.1 @@ -44,7 +44,7 @@ lets you override the default servername (irc.freenode.net) lets you override the default port (6667) .TP .BI \-k " password" -lets you use a password to authentifacte your nick on the server +lets you use a password to authenticate your nick on the server .TP .BI \-i " prefix" lets you override the default irc path (~/irc) @@ -66,11 +66,11 @@ will be created in the ~/irc/$servername/ directory. .SH COMMANDS .TP -.FN /j " #channel/nickname" +.FN /j " #channel/nickname [<message>]" join a channel or open private conversation with user .TP -.FN /l " #channel" -leave a channel +.FN /l " #channel/nickname" +leave a channel or query .TP .FN /n " nick" change the nick name @@ -79,6 +79,7 @@ change the nick name set the topic of a channel .TP Everything which is not a command will simply be posted into the channel or to the server. +So if you need /who just write /WHO as described in the RFC to the server in FIFO. .TP .FH out file usage Write wrappers, pagers or use your tools of choice to display the out file contents (loco, multitail, etc.). @@ -86,7 +87,7 @@ Write wrappers, pagers or use your tools of choice to display the out file conte .TP Write to ii (at) modprobe (dot) de for suggestions, fixes, 7|-|>< ;) etc. .SH AUTHORS -Copyright \(co 2005 by Anselm R. Garbe <garbeam (at) gmail (dot) com> and Nico Golde <nico (at) ngolde (dot) de> +Copyright \(co 2005-2007 by Anselm R. Garbe <garbeam (at) gmail (dot) com> and Nico Golde <nico (at) ngolde (dot) de> .SH SEE ALSO .BR echo (1), .BR tail (1), diff --git a/ii.c b/ii.c @@ -49,7 +49,7 @@ static char message[PIPE_BUF]; /* message buf used for communication */ static void usage() { fprintf(stderr, "%s", "ii - irc it - " VERSION "\n" - "(C)opyright MMVI Anselm R. Garbe, Nico Golde\n" + "(C)opyright MMV-MMVII Anselm R. Garbe, Nico Golde\n" "usage: ii [-i <irc dir>] [-s <host>] [-p <port>]\n" " [-n <nick>] [-k <password>] [-f <fullname>]\n"); exit(EXIT_SUCCESS);