IRC - irc client/ui for Plan 9


Download now only available in /n/sources/contrib/andrey/irc7.tgz
News:

NAME

ircsrv, irc – internet relay chat client and ui

SYNOPSIS

ircsrv [ –s serv ] [ –f file ] nickname [tcp!]irc.server.org
irc [ –c charset ] [ –t victim ] [ –b lines ] [ /srv/serv [ /tmp/file ]]

DESCRIPTION

Ircsrv makes a connection to an irc server and reconnects if the connection gets broken. It posts a service to /srv and creates (if necessary) an append mode log file to /tmp. Default file and service name is a concatenation of 4 first letters of username and the string irc

Irc is a client program that makes use of the service provided by ircsrv and provides a user interface for sending and receiving messages.

The command language understood by irc is as follows
/m     privmsg #chan/nick message
/M     mode #chan +nt
/j     join [ #chan ]
/p     part [ #chan ]
/q     send parameters raw to the server
/l     list [ #chan ]
/n     nick newnick
/N     notice #chan/nick message
/t     set [ victim ]
/T     topic [ #chan [ newtopic ]]
/W     whois nick
/w     who nick (a shorter whois)

The –c flag sets character set conversion using tcs(1), the –b flag causes the client to display the last n lines of the default target or conversations if no target is set. Without any arguments –b prints the conversation from the very beginning. The –t flag sets the default target to which the messages are sent by default if a line written to irc does not begin with /. Irc also prints messages to/from the target exclusively if one is set.

EXAMPLES

To start up ircsrv on a remote cpu server
cpu –c ircsrv glenda irc.freenode.net

To use ircsrv started earlier on a cpu server
import $cpu /srv
import $cpu /tmp
irc

To start/see/continue a conversation with a specific target (can be #chan or nick)
irc –t #plan9
irc –t f2f

To run irc within acme start irc inside "win –e":
win –e
irc –t f2f

SOURCE

/sys/src/cmd/ircsrv.c
/sys/src/cmd/irc.c

SEE ALSO

tcs(1), faces(1), nedmail(1)

BUGS

Probably. Missing functionality includes opening new windows when a message from a new target arrives.
Copyright © 2005 Lucent Technologies. All rights reserved.
Screenshot:
Last Modified: July 13, 2006
mirtchovski at gmail