Internet Relay Chat

From Wiki | LUG@UCLA
Revision as of 21:51, 12 June 2013 by Admin (Talk | contribs)

Jump to: navigation, search

Internet Relay Chat (IRC) provides a way of communicating in real time with people from all over the world. It consists of various separate networks of IRC servers, machines that allow users to connect to IRC. IRC is very similar to text messaging, but designed around communicating with large groups of users instead of one-on-one.[ref]

Some IRC clients for Linux, Mac, and Windows include:

You can also use our IRC web interface to chat with members of LUG@UCLA. It will automatically connect you to our IRC channel.

Installing an IRC client

All of the aforementioned IRC clients can be installed using your package manager.

e.g. in Debian, type: sudo apt-get install xchat

Those IRC clients are also installed on the LUG servers. You can access the servers remotely via SSH.

Using an IRC client

To join the #lug channel on the irc.gimp.org (aka GIMPNet) network, follow the steps below for your corresponding IRC client:

xchat

  1. start xchat, select GimpNet, then click connect
    caption
  2. wait for the connection to complete (this may take up to 15 seconds), then join #lug
    caption


You may now chat with others in the channel.

irssi

  1. start irssi in a terminal window: irssi
  2. connect to a network: /connect irc.gimp.org
  3. wait for the MOTD (this may take up to 15 seconds)
  4. join a channel: /join #lug

You may now chat with others in the channel.

To leave the current channel, type: /leave

To leave all channels and quit, type: /quit

weechat

  1. start weechat in a terminal window: weechat-curses
  2. connect to a network: /connect irc.gimp.org
  3. wait for the MOTD (this may take up to 15 seconds)
  4. join a channel: /join #lug

You may now chat with others in the channel.

To leave the current channel, type: /buffer close

To leave all channels and quit, type: /quit

Persistent IRC

Keep your IRC session alive for long periods of time by running your IRC client inside a persistent shell such as screen or tmux.

In the following example, we will use the LUG server as our always-on server, screen as our persistent shell, and weechat-curses as our IRC client.

  1. ssh into the LUG server: ssh user@linux.ucla.edu
  2. start a persistent shell: screen
  3. start your IRC client: weechat-curses
  4. connect to a server and join a channel
  5. detach from the screen session by pressing ctrl+a then d
  6. re-attach to the screen session by typing: screen -r
  7. repeat steps 5 and 6 as needed. Have a lot of fun!