Difference between revisions of "Internet Relay Chat"

From Wiki | LUG@UCLA
Jump to: navigation, search
Line 32: Line 32:
 
=== irssi ===
 
=== irssi ===
  
# start irssi in a terminal window
+
# start irssi in a terminal window: <code>'''irssi'''</code>
 
# connect to a network: <code>'''/connect irc.gimp.org'''</code>
 
# connect to a network: <code>'''/connect irc.gimp.org'''</code>
 
# wait for the MOTD (this may take up to 15 seconds)
 
# wait for the MOTD (this may take up to 15 seconds)
Line 39: Line 39:
 
You may now chat with others in the channel.
 
You may now chat with others in the channel.
  
To leave the channel, type: <code>'''/leave'''</code>
+
To leave the current channel, type: <code>'''/leave'''</code>
  
 
To leave all channels and quit, type: <code>'''/quit'''</code>
 
To leave all channels and quit, type: <code>'''/quit'''</code>
Line 45: Line 45:
 
=== weechat ===
 
=== weechat ===
  
# start weechat in a terminal window
+
# start weechat in a terminal window: <code>'''weechat-curses'''</code>
 
# connect to a network: <code>'''/connect irc.gimp.org'''</code>
 
# connect to a network: <code>'''/connect irc.gimp.org'''</code>
 
# wait for the MOTD (this may take up to 15 seconds)
 
# wait for the MOTD (this may take up to 15 seconds)
Line 52: Line 52:
 
You may now chat with others in the channel.
 
You may now chat with others in the channel.
  
To leave the channel, type: <code>'''/buffer close'''</code>
+
To leave the current channel, type: <code>'''/buffer close'''</code>
  
 
To leave all channels and quit, type: <code>'''/quit'''</code>
 
To leave all channels and quit, type: <code>'''/quit'''</code>

Revision as of 15:48, 4 June 2013

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 (or "nets") 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.[reference]

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

We have also installed these IRC clients onto 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. attach to the screen session by typing: screen -r
  7. repeat steps 5 and 6 as needed. Have a lot of fun!