Hello dear readers! In today’s post we will learn about an Internet Relay Chat(IRC) client – XChat. Whenever we use any software, we use it for some specific application. To understand the utility of XChat, we first must know about open source. Quoting directly from the linked article,
The term “Open Source” refers to something that can be modified because its design is publicly accessible
Talking about open source software, Linux is the biggest open source project ever developed in computing history. Linux is open source while Windows, MacOS and UNIX are not. That means you can modify the design of the Linux operating system because its source code is publicly available. But, modifying the source code of an operating system(or any other open source software) is not child’s play and one needs to learn a lot from the experts in order to make a significant contribution to the field of open source.
But again, to learn about a software and thereby contribute to its development, you need to contact the developers or contributors. This is where comes the role of Internet Relay Chat(IRC). IRC is based on a client/server architecture and facilitates chat, private messaging, file sharing and group communication in the form of channels. An IRC client is a software that can be installed on a computer and then you can connect to the server you want to. Without further ado, let us explore XChat 🙂
XChat has been written in C and is free for UNIX and Linux 🙂 but not on Windows 🙁 But still you can use XChat on Windows for 30 days for free 😀
I am going to teach you how to configure and use XChat on Ubuntu (Note : I have tested this on Ubuntu 14.04LTS).
To install XChat via command line, simply type the following command into the terminal:
sudo apt-get install xchat
Fill up the empty fields accordingly. Nick name is your name that will be displayed when you will be chatting on IRC. Second and third choice are there for the Nick name in case the one you choose is already in use by some other user. Also enter your desired username and the real name.
After having entered your names 😛 , you can select any network from the list below and click on connect. This will take you to their IRC directly and there you can join any channel you wish. But what if you want to join to a network that is not listed there? I am going to show you exactly how to do that 🙂
Suppose you want to join the Mozilla IRC, click on the Add button. A network by the name of New Network will come up in the list of networks. Rename it as you wish. I am going to name it Mozilla IRC.
Now, we need to do some settings for this network. To proceed, click on Edit.Rename the newserver/6667 entry to irc.mozilla.org(This entry should be renamed differently if you want to connect to any other server). You can tick the check box for auto connect to this network at startup if you don’t want to manually connect to the server every time you open XChat.
Now, we will need to add channels to which we want to connect automatically on startup. Again, if you don’t specify any channels here, you will have to manually join the channel every time you start XChat. To add any channel to your favorites list, click the three dots at the end of Favorite channels textbox.You will get a screen like this:Click on Add to add a channel to your favorites list. You can set a password also if you want. Remember that mostly channel names start with a #, so write the name of the channel like #<name_of_channel>. Here, I joined #introduction. Add as many channels as you wish to join at the application startup. Click OK. Set the character set to system default. You can learn more about the remaining fields by hovering your cursor over the respective text boxes. I did not need to use them so I left them empty.
Click Close. Select Mozilla IRC and click Connect.
Note : If you are behind a proxy server, you can go to Settings -> Preferences -> Network -> Network Setup. You can customize XChat according to your preferences no end. I am leaving it to the readers to experiment with the different settings 🙂
On getting connected, you will be presented with the following window. You can do any of the 3 things listed but I am just letting it go because I know that the channel I wished to join (#introduction) will be joined automatically (remember we did the setting for that just a few seconds before 😉 ). I am also going to uncheck the “Always show this dialog after connecting” thing as I don’t want it to pester me every time I connect to the server.
See that I have joined #introduction at irc.mozilla.org successfully 🙂 Below is my username with a text box in which I can type any question I want to ask, help someone else by giving answer to his/her query and I can even type some commands from there 😎 . See this list of IRC commands
This is a good IRC tutorial.
That’s all for today. Enjoy!! And don’t forget to write your thoughts in comments below.