Difference between revisions of "IRC"

2,200 bytes added ,  13:06, 14 May 2016
no edit summary
(creating IRC guide page)
 
Line 2: Line 2:


Many [https://en.wikipedia.org/wiki/Comparison_of_instant_messaging_protocols other instant messaging services] exist, however many services are proprietary and/or rely on a centralized platform. This does not appeal to organizations that wish to establish a channel of communication that can be adopted by users without fear of unwanted regulations by the service/platform provider. Although open source protocols such as [https://en.wikipedia.org/wiki/XMPP XMPP (formerly Jabber)] exist, IRC continues to be used because it is lightweight and stable.
Many [https://en.wikipedia.org/wiki/Comparison_of_instant_messaging_protocols other instant messaging services] exist, however many services are proprietary and/or rely on a centralized platform. This does not appeal to organizations that wish to establish a channel of communication that can be adopted by users without fear of unwanted regulations by the service/platform provider. Although open source protocols such as [https://en.wikipedia.org/wiki/XMPP XMPP (formerly Jabber)] exist, IRC continues to be used because it is lightweight and stable.
IRC consists of channels. Each channel is like a chat room, and is represented by a name that begins with '#' followed by a string that represents the primary topic of the channel. Examples:  #html, #css, #javascript, #go-lang.


== Recommended Clients ==
== Recommended Clients ==
Line 22: Line 24:
== Basics ==
== Basics ==


IRC consists of channels. Each channel is like a chat room, and is represented by a name that begins with '#' followed by a string that represents the primary topic of the channel. Examples:  #html, #css, #javascript, #go-lang.
For those that are new to IRC, it’s a good idea to become familiar with the [http://www.ircbeginner.com/ircinfo/ircc-commands.html common commands] that IRC programs support. Here are a few:
 
{| class="wikitable"
! Command !! Example !! Description
|-
| /join #channel_name || /join #sudoroom ||Join a channel
|-
| /me <action> || /me waves hello || Announces some action
|-
| /msg <nickname> <message> || /msg juul Hey! I need some help  || Send a direct message to another user
|-
| /ignore <nickname> || /ignore annoyingperson || Block someone that is harassing you
|-
|}
 
Although the above commands are likely to be supported by all IRC client programs, some only apply to specific clients. The following are supported by [https://irssi.org/ irssi]:
 
{| class="wikitable"
! Command !! Example !! Description
|-
| /help || /help || View documentation on supported commands
|-
| /help <command> || /help connect || View documentation on a specific supported command
|-
| /connect <server address> <port> || /connect irc.freenode.net 8001 || Connect to an IRC server
|-
| /set nick <nick> || /set nick someGuy2015 || Register your nickname with the IRC server/network
|-
| /set real_name <real name> || /set nick Bill Murray || Register your real name within the IRC server/network
|-
| /quit || /quit || Quits IRC program
|-
| /exit || /exit || Quits IRC program
|-
|}
 
See [https://irssi.org/documentation/ IRSSI Documentation] for more commands.


== FreeNode ==
== FreeNode ==


Many programming/hacking communities establish a channel on the [https://en.wikipedia.org/wiki/Freenode FreeNode IRC network] to facilitate discussions and provide support to members of their community.
Many programming/hacking communities establish a channel on the [https://en.wikipedia.org/wiki/Freenode FreeNode IRC network] to facilitate discussions and provide support to members of their community.
=== Registering with FreeNode ===
The FreeNode IRC network allows you to register your nickname and associate it with your email address. This is done by using the following commands:
  /msg nickserv REGISTER <password> <email>
You should receive a message informing you that you need to check your email account and obtain instructions to verify yourself.
To make sure that your email address isn’t revealed to other users, use the following command to ensure that it is hidden.
  /msg NickServ SET HIDEMAIL ON
You can verify your information with the NickServ by using:
  /msg nickserv info


== Persistent CLI Client ==
== Persistent CLI Client ==
Line 48: Line 102:
   irssi
   irssi


=== Getting Started ===
=== Configure ===
 
Upon opening the program for the first time IRSSI may connect to a default IRC network. There is a configuration file in ~/.irssi/config that you can inspect, but you can use commands from within the program to configure IRSSI to automatically perform when you first open the program. This includes connecting to Freenode, authenticating using your registered nick name, and joining a default channel.


You can use these commands to get started immediately:
There is a configuration file in ~/.irssi/config that you can inspect, but you can use commands from within the program to configure IRSSI to automatically perform when you first open the program.


Set your nick name and real name
The following commands will configure IRSSI to connect to the Freenode network with an SSL connection, with automatic joining of the #sudoroom channel.


/set nick <nick>
  /network add Freenode
/set real_name <Real Name>
  /server add -auto -ssl -ssl_verify -ssl_capath /etc/ssl/certs -network Freenode irc.freenode.net 7000
Connecting to FreeNode
  /channel add -auto #sudo Freenode
  /save


/connect irc.freenode.net 8001
After you’ve successfully registered your FreeNode nick name, you can run this command to configure IRSSI to login automatically after connecting to FreeNode.
Join Channel


/join #sudoroom
  /network add -autosendcmd "/msg nickserv identify <password> ;wait 2000" Freenode


=== Windows ===
=== Windows ===
128

edits