IRCRC(1)                                                 IRCRC(1)

     NAME
          ircrc - internet relay chat client

     SYNOPSIS
          ircrc [ -p port ] [ -P server password ] [ -r realname ] [
          -t target ] [ -n nick ] [ -T ] [ server ]

     DESCRIPTION
          Ircrc is an IRC client.  Messages are sent from standard
          input and received from standard output.  The default server
          is irc.freenode.net.  The arguments bitlbee and oftc are
          expanded to im.bitlbee.org and irc.oftc.net, respectively.
          The options are:

          -p port
               Change the default port (6667).

          -P server password
               Specify a password for the remote server.

          -r realname
               Change the default name (<nil>).

          -t target
               Set and join the target channel.  If multiple channels
               are specified, only the last one will be set as target.
               Messages are sent to target unless they are commands.

          -n nick
               Change the default nickname ($user).

          -T
               Use tls through tlssrv(8).

        Commands
          Ircrc commands begin with a slash.  Unrecognized commands
          result in an error message and send nothing to the server.
          The commands are:

          /! cmd
               Send the output of the shell command cmd to the current
               target.

          /M   MODE command.

          /N   NOTICE command.

          /T   TOPIC command.

          /W   WHOIS command.

     IRCRC(1)                                                 IRCRC(1)

          /a   AWAY command.

          /j   JOIN command.

          /l   LIST command.

          /m   PRIVMSG command.

          /n   NICK command.

          /p   PART command.

          /q cmd
               Send the raw IRC command cmd to the server.

          /t target
               Set target. If target is more than one channel, any
               messages are sent to all of them.

          /u   USERS command.

          /w   WHO command.

          /x   QUIT command.  Control-D also sends this command.

          See RFC 1459 and RFC 2812 for detailed information about IRC
          commands.

     EXAMPLES
          Default usage:

               % ircrc

          Join irc.oftc.net as a different user:

               % ircrc -r glenda -n glenda irc.oftc.net

          Join two channels on login:

               % ircrc -t '#cat-v,#plan9'

     SOURCE
          /rc/bin/ircrc

     SEE ALSO
          http://tools.ietf.org/html/rfc1459
          http://tools.ietf.org/html/rfc2812

     BUGS
          Some fonts do not support the nickname delimiters.

          If the connection is lost, ircrc waits for input before

     IRCRC(1)                                                 IRCRC(1)

          exiting.