IRC: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(50 intermediate revisions by 10 users not shown)
Line 1: Line 1:
IRC (Internet Relay Chat) allows real time chat over the internet. People can communicate in groups in rooms known as channels or one to one through private messages.
IRC (Internet Relay Chat) allows real-time chat over the internet. People can communicate in groups in rooms known as channels or one to one through private messages.


Redbrick's IRC server is hosted on [[Deathray]] and although prone to the odd crash now and again, it's fairly active most of the time.
Redbrick's IRC server is hosted on <s>[[deathray]]</s> <s>[[minerva]]</s> [[morpheus]] and <s>is prone to the odd crash now and again</s> is therefore totally reliable ;).


IRC (Internet Relay Chat) on RedBrick
Below is a brief introduction to the use and etiquette of IRC.


[ Author : Mark (mark) : 2000 ]
== The Basics ==


This is hopefully an introduction to the general use and ettiquette of IRC not only here on RedBrick but a global use of this communication device.
=== Irssi ===
IRC
Pronounced: ire-see, like IRC... geddit?


As already stated above IRC stands for Internet Relay Chat, it is generally a great a way to meet other people on RedBrick and in this on-line tutorial I hope to familiarise the general commands, explain how to make a file filled with aliases so that you can talk longer and quicker :0)
This is the most common way to connect to IRC at present! You can access it by typing 'chat' from your terminal after logging into RedBrick. You can also run irssi directly by typing 'irssi'; if you do this, you will need to manually connect to the IRC server by then typing: /connect irc.redbrick.dcu.ie


I also hope to explain the general ettiquette of chat and the role played by channel operators
You'll then be greeted with a screen like this:
How to Connect to IRC server on RedBrick


Simply type chat at the prompt. This will start up BitchX the IRC client on Redbrick.
[[Image:Welcome_to_chat.gif]]


If you want to leave chat just type
This might look a little daunting at first, so we'll explain what everything means.


/quit <text>
This is #lobby, RedBrick's default IRC channel, and one of many.


Which disconnects you from the IRC server and return you to your shell the text parameter is optional when used gives a reason to the others for your leaving, for example..
The line at the top of the screen is the topic, which contains info about current events, funny quotes or random gibberish. In this case it shows what's happening during Rag Week. Currently, the topic can be set by anyone in #lobby. Below this, is the main area where messages and info are shown. Every time you join a channel in IRC, you're shown who's in it, so all the words between the different '[' and ']' characters are the nicks of people in that channel. This area will soon fill up with messages from people talking.  If you wish to see who's in a channel at any type, just type: /n


[#lobby] /quit I have to go home
As you can see, phaxx has just said hello to receive. phaxx's name is highlighted here because he has addressed receive directly. Highlighting makes sure you notice when people are talking to you. Your own nick will appear in bold (just in case you forget which one is you).
How to Navigate around IRC


The general idea and layout to an IRC server is like, erm... a corridor with lots of rooms, when you first connect to the server you will find yourself in channel (room) [0], you can walk in and out of most rooms see who's there and join a conversation. This is hard enough to imagine because RedBrick has one main chat room the #lobby and the help channel #helpdesk. And when you type chat at the shell, you automatically join this room. To see if there are other rooms open type `/list`, you will get an error asking you if u are sure you want to do this as it is usually a bad idea, and yes usually it is but on RedBrick the amount of rooms is generally quite low so it is okay to do it. To force the command add -yes to the end. like...


[#lobby] /list -yes
'''Status Bar'''


This will give you a list of the rooms with two or more people in them, and the topic associated with them.
The blue status bar at the bottom of the screen will keep you up to date with what's happening in all your channels. It shows your nick, then the current channel (and its modes in brackets). The Act part on the right will show you if you something's happening in another channel by displaying the number of that channel. Look at "Navigating IRC" to find out how to switch between channels.


Every member has the power to create channels, to this you simply have to join a room that doesn't already exist. So I might as well tell you how to join a room. This is not difficult simply type
=== Other Connection Methods ===


[#lobby] /join #<name of channel>
==== WeeChat ====


So lets say you want to join the #helpdesk room, to ask a quiestion, you would type
This is another program similar to irssi, some people think it's better than irssi, but then some people think pinapple goes well on pizza. You can try weechat by running:


[#lobby] /join #helpdesk
weechat-curses irc://irc.redbrick.dcu.ie


and someone should be there to help :0)
Tell me this doesn't look a billion times nicer than that piece of shit above:
[[Image:Rb online full color.png]]


You might notice that you can still see what's being said in the #lobby, except the people names are followed by the name of the room....
Dregin has a version of weechat with some scripts designed for Redbrick users. It runs on azazel, which as of 26/6/11 is the current login machine. Run it by hitting:


<prince_v:#lobby> I am in #lobby, but you are somewhere else
  user@azazel ~> /home/associat/d/dregin/root_azazel/bin/weechat-curses


This is where IRC become un-life like :0). You can be in a few rooms simatuanliosy. Your prompt tells you what room you are in at the moment. So if you talking in #lobby you prompt will look like
If you'd rather not run a dodgy binary from dregin's homedir, you can see more about compiling your own Weechat [[Weechat|here.]]


[#lobby]
==== Webchat ====


So you might want to see who's in a certain room, you can do this by using the who command. So for example if you want to see who's in the channel #helpdesk you would type
Web chat is available at http://webchat.redbrick.dcu.ie. It's great, not like the shite old java webchat.  


[#lobby] /who #helpdesk
==== Your Own IRC client ====


This will give you a list of the people in the room. So if you are in two rooms and you want to talk to people in both you can switch between the rooms by typing the channel command....
It is possible to use your own irc client running on your computer, but this requires [[OtherIrcClients|ssh port forwarding]].


[#helpdesk] /channel #lobby
== Chatting ==


so this will move you into #lobby and talk there, but you will still see what's going on in #helpdesk. So you're talking in #hepdesk and it's nigh impossible to see what's being said in the channel because there is a huge amount of people in #lobby and there all talking, and basically it's annoying you, so leave the room, and yes you've guessed right the command is /leave
To chat, all you have to do is type what you want to say and hit return.


[#helpdesk] /leave #lobby
For example, when you type:


Now you should have no trouble getting to where you want to :0), so I'll go ahead and talk about chatting :0)
[#lobby] I think that undone guy is really cool!
How To "Chat"


IRC is one of the easiest way's to talk to other people and a great way to get to know other people in DCU as well as getting help for anything, computer related or not. You probally figured out to talk you simply type what you want to say and hit heturn
and then hit return, you'll get something like this:


You type....
< gizmo> I think that undone guy is really cool!


[#lobby] I love myself <hit return>
If you want to do perform an action simply type '/me' and then the action:


<prince_v> I love myself appears
[#lobby] /me thinks that undone guy is really cool.


If you want to do an action simply type /me then the action and hit return
will produce:


You type....
'''* gizmo''' thinks that undone guy is really cool.


[#lobby] /me loves himself <hit return>
An endless variety of [[Smilies|emoticons]] can also be used to express feelings.


ð prince_v/#lobby loves himself appears in BitchX......
If you want to leave chat (this will exit irssi or weechat altogether) just type:


* prince_v loves himself appears in IRCII.
/quit <text>


Don't worry people will know what you mean :0)
which disconnects you from the IRC server and returns you to your shell. The text parameter is optional, when it's used it gives a reason to the others for your leaving, for example:


You should have a look on the page about smilies to see the best way to show emotions.
/quit I must flee!


I want to tell blah I love her but not tell the whole world, well the best way is to send a private message like so
Of course, if you're using the web-chat client, it's probably quicker just to close the window when quitting.


[#lobby] /msg blah I love you
== Navigating IRC ==


This will send the private message "I love you" to the user blah. When you recive a reply (if you recive a reply :oP) it will look like this...
An IRC server will have lots of different channels. When you first connect to the server you will find yourself in Redbrick's biggest channel, #lobby. You can go in and out of most rooms to see who's there or join a conversation. If you want to check what other rooms there are, you can type '/list'. This will give you a list of the rooms with two or more people in them, and the topic associated with them. By default, it will appear in window/channel 1.


[blah(blah@enigma.redbrick.dcu.ie)] Oh my god, who are you!!!!! go away ! now ! In BitchX, and like
To switch to another channel, there are two methods. The first is to press ESC, release it then press the number of the channel. Alternatively, you can hold ALT and press the number. You can also use the left and right arrow keys instead of numbers. It is recommended that you use the ESC method as ALT can cause problems with terminal programs on some operating systems.


*blah* Oh my god, who are you!!!!! go away ! now ! in IRCII
Anyone can create channels, to do this you simply have to join a room that doesn't already exist. In order to join a room, you just type:


So now I think you know all about chatting on IRC :0)
/join #<name of channel>
Chat ettiquette and IRCop's


Chat like in real life has a certain amount of un-writen rules about being polite and courtious to others. Now I'm not going to start banging on at you about things your mother told you when you were 6, however there are a few specific rules of ettiquette. DON'T TYPE WITH CAPS, it's like shouting. You're in a room everyone can here you. Avoid using color, especially in the #lobby and just generally be nice to other people. But because as a race we are mean and we like to break the rules >:o> there are IRCop to keep an eye on things w and to keep some sort of order.
So for example if you wanted to join the #gamessoc channel, you would type:
IRCop's - Myth's and truth's


IRCop's, Channel Operators, are denote by having and @ symbol before their name like, @prince_v, denotes that prince_v is a Channel Operator. On RedBrick, in the #lobby channel, there are 4 IRCop's aswell as all comittee members who can "oper up". People who open a new channel become the Channel Operator of that room and it is their job to keep an eye on what happens in there. Their general jobs to keep trouble messers at bay and to make sure no one is abusing the system however there are many myths about what Channel Opers can and cannot do.
/join #gamessoc


    * Channel operators can kick you for abusing, the rules. To see the rules on #lobby type /motd at the prompt. Channel Operators in other rooms can kick you for any reason they see fit because they are the op's and they make the rules.
and there you can chat about games and make fun of Simon to your heart's content.  
    * Channel operators can ban you from a room for contious abuse of the rules.
    * #lobby Channel operators have no control of other rooms
    * #lobby Channel operators cannot invite themselves into a +i room (more on that later)
    * Channel Operators cannot see private messages
    * Channel Operators can see server messages, if they choose to do so
    * Channel operators are _NOT_ better than you and the rules apply as much if not more to them
    * Channel Operators cannot change their Nick
    * Channel Operators cannot emply mode onto other users (Only Admins can)[More on modes later]


Aliases in IRC
To cycle between the channels you've joined, hold alt and use the left or right arrow.


There is a file you can store your aliases to make chatting quicker and more fun. The two files are .bitchxrc (For BitchX) and .ircrc (For IRCII)[In fact BitchX loads eithier of these files :0)] There are generally, two type of aliases to be added for the "normal" user :0) and a few more for IRCop's
You can get a list of the users in the current channel by typing:


    * The first are msg aliases to kill those awkward usernames :0) alias pv=/quote msg prince_v Invoke this alias by typing at the prompt [#lobby] /pv A private messgae to you :0)
/names
    * The second are speach aliases... alias bxb say BitchX BaBy! Invoke this alias by typing [#lobby] /bxb . This will display <prince_v> BitchX BaBy!


Modes
or


Just a little quick word on Modes in IRC. Each room has theire own set of modes to determine who is let into the conversation or not. This is generally done by makind a room invite only by typiny the following (Obviousy you have to be the channel operator to do this)
/n


[#myroom] /mode #myroom +i
while there. This will give you a list of everyone in the room at the time. In WebChat, all the names just appear on your right.


Now this room is invite only so to invite people who are already logged to to the chat server type
To check the name and details of a specific user, type:


[#myroom] /invite prince_v
/whois undone


to invite prince_v
or
/wi undone


there are a few other important modes such as o, which we mentioned earlier, is ops. so to give ops to someone in your channel type
to bring up some information on that user.
If you'd like to leave a particular channel, type:


[#myroom] /mode #myroom +o prince_v
/part


to give Operator status to me :0)
to leave the current channel you're in,
followed by any message you want to leave with.


There a few other modes but generally these are the most important :0)
for example:
Stuff


IRC also has a few other options such as the /exec comand which lets you execute a shell comand like at the prompt for example
/part this channel frightens and confuses me.


[#lobby] /exec ls
== Private messaging ==


Is like typing ls at the shell :0) of course there are other you can type too like
If gizmo wants to tell undone he thinks he's a really cool guy, but doesn't want everyone online to see it, he can do this:


[#lobby] /exec perl -e 'print "hello\n";'
/msg undone I think you're a really cool guy.


Which is a simple perl command line script to print hello
This will send the private message "I think you're a really cool guy" to the user undone. This starts a new channel between just two people where the conversation can continue, or not. You can switch to this like any other channel.


there is a load of other IRC thingy's here too many to list so have fun looking for a few :0) like /scan and /whois I'll leave you for a few more
After the conversation is finished (or you just want to close the window) you can do so by typing
Finale


IRC is pretty kewl and one of the most used features on RedBrick, I hope you enjoy using it and I hope to see you there :0)
/wc
 
== Chat etiquette and channel operators ==
 
Chat has a certain amount of unwritten rules about being polite and courteous to others. Obviously we don't aim to censor users, but there are certain things that are to be avoided.
 
Avoid excessive use of the Caps Lock button as it appears as though you're shouting and can get annoying.
 
Avoid using colour, as although it probably annoys atlas - which we all know is fun - it can get quite irritating to other users too.
 
Of course some people will break the rules and as such there are channel operators around to step in when they're needed.
 
Channel operators are denoted by having an '@' symbol before their name like so:
 
<@undone> i have ops! \o/
 
All members of the RedBrick committee have ops on #lobby. If you create a new channel, then you will automatically gain ops there and have control over things. A channel operator can kick or ban a user from a room and also set the modes and topic. When kicking or banning a user, the channel operator must always ensure that as witty a remark as possible is added afterwards:
 
06:07 -!- korvuss was kicked from #gamessoc by undone [witty remark!]
 
== Modes ==
 
Each room in IRC has its own set of modes that determine what users can do in the channel. Some of the following commands set some of the more commonly used modes to a room:
 
/mode +i
 
This makes the room invite only. In order to invite someone to the room, type:
 
/invite undone
 
to invite undone into your channel.
 
/mode +o undone
 
will give undone ops in your channel, which is an excellent idea.
 
/mode +t
 
will set the channel so only ops or half ops can change the room's topic.
 
/mode +k pass
 
sets the password "pass" on your room.
 
IRC has other useful commands such as /exec, which lets you execute a shell command as though at the prompt. For example:
 
/exec ls
 
Be wary of users who tell you to run a /exec command, as it may not always be in your best interest to do so.
 
Obviously there's a lot more to learn about IRC so if you have any questions, email [[Helpdesk]], or you know... google it.


== Links ==
== Links ==
[http://en.wikipedia.org/wiki/Internet_Relay_Chat IRC at wikipedia]
[http://en.wikipedia.org/wiki/Internet_Relay_Chat IRC at wikipedia] - wikipedia.org's page about IRC.
 
[[Irssi|irssi]] - page about irssi, detailing some of the more advanced options and features.
 
[http://www.irssi.org/ irssi.org] - the website of Redbrick's default IRC client.
 
[[IRC Games|IRC Games]] - list of all the games run on irc
 
[[Category:Helpdesk]]

Latest revision as of 09:35, 16 July 2015

IRC (Internet Relay Chat) allows real-time chat over the internet. People can communicate in groups in rooms known as channels or one to one through private messages.

Redbrick's IRC server is hosted on deathray minerva morpheus and is prone to the odd crash now and again is therefore totally reliable ;).

Below is a brief introduction to the use and etiquette of IRC.

The Basics

Irssi

Pronounced: ire-see, like IRC... geddit?

This is the most common way to connect to IRC at present! You can access it by typing 'chat' from your terminal after logging into RedBrick. You can also run irssi directly by typing 'irssi'; if you do this, you will need to manually connect to the IRC server by then typing: /connect irc.redbrick.dcu.ie

You'll then be greeted with a screen like this:

Welcome to chat.gif

This might look a little daunting at first, so we'll explain what everything means.

This is #lobby, RedBrick's default IRC channel, and one of many.

The line at the top of the screen is the topic, which contains info about current events, funny quotes or random gibberish. In this case it shows what's happening during Rag Week. Currently, the topic can be set by anyone in #lobby. Below this, is the main area where messages and info are shown. Every time you join a channel in IRC, you're shown who's in it, so all the words between the different '[' and ']' characters are the nicks of people in that channel. This area will soon fill up with messages from people talking. If you wish to see who's in a channel at any type, just type: /n

As you can see, phaxx has just said hello to receive. phaxx's name is highlighted here because he has addressed receive directly. Highlighting makes sure you notice when people are talking to you. Your own nick will appear in bold (just in case you forget which one is you).


Status Bar

The blue status bar at the bottom of the screen will keep you up to date with what's happening in all your channels. It shows your nick, then the current channel (and its modes in brackets). The Act part on the right will show you if you something's happening in another channel by displaying the number of that channel. Look at "Navigating IRC" to find out how to switch between channels.

Other Connection Methods

WeeChat

This is another program similar to irssi, some people think it's better than irssi, but then some people think pinapple goes well on pizza. You can try weechat by running:

weechat-curses irc://irc.redbrick.dcu.ie

Tell me this doesn't look a billion times nicer than that piece of shit above: Rb online full color.png

Dregin has a version of weechat with some scripts designed for Redbrick users. It runs on azazel, which as of 26/6/11 is the current login machine. Run it by hitting:

 user@azazel ~> /home/associat/d/dregin/root_azazel/bin/weechat-curses

If you'd rather not run a dodgy binary from dregin's homedir, you can see more about compiling your own Weechat here.

Webchat

Web chat is available at http://webchat.redbrick.dcu.ie. It's great, not like the shite old java webchat.

Your Own IRC client

It is possible to use your own irc client running on your computer, but this requires ssh port forwarding.

Chatting

To chat, all you have to do is type what you want to say and hit return.

For example, when you type:

[#lobby] I think that undone guy is really cool!

and then hit return, you'll get something like this:

< gizmo> I think that undone guy is really cool!

If you want to do perform an action simply type '/me' and then the action:

[#lobby] /me thinks that undone guy is really cool.

will produce:

* gizmo thinks that undone guy is really cool.

An endless variety of emoticons can also be used to express feelings.

If you want to leave chat (this will exit irssi or weechat altogether) just type:

/quit <text>

which disconnects you from the IRC server and returns you to your shell. The text parameter is optional, when it's used it gives a reason to the others for your leaving, for example:

/quit I must flee!

Of course, if you're using the web-chat client, it's probably quicker just to close the window when quitting.

Navigating IRC

An IRC server will have lots of different channels. When you first connect to the server you will find yourself in Redbrick's biggest channel, #lobby. You can go in and out of most rooms to see who's there or join a conversation. If you want to check what other rooms there are, you can type '/list'. This will give you a list of the rooms with two or more people in them, and the topic associated with them. By default, it will appear in window/channel 1.

To switch to another channel, there are two methods. The first is to press ESC, release it then press the number of the channel. Alternatively, you can hold ALT and press the number. You can also use the left and right arrow keys instead of numbers. It is recommended that you use the ESC method as ALT can cause problems with terminal programs on some operating systems.

Anyone can create channels, to do this you simply have to join a room that doesn't already exist. In order to join a room, you just type:

/join #<name of channel>

So for example if you wanted to join the #gamessoc channel, you would type:

/join #gamessoc

and there you can chat about games and make fun of Simon to your heart's content.

To cycle between the channels you've joined, hold alt and use the left or right arrow.

You can get a list of the users in the current channel by typing:

/names

or

/n

while there. This will give you a list of everyone in the room at the time. In WebChat, all the names just appear on your right.

To check the name and details of a specific user, type:

/whois undone

or

/wi undone

to bring up some information on that user. If you'd like to leave a particular channel, type:

/part

to leave the current channel you're in, followed by any message you want to leave with.

for example:

/part this channel frightens and confuses me.

Private messaging

If gizmo wants to tell undone he thinks he's a really cool guy, but doesn't want everyone online to see it, he can do this:

/msg undone I think you're a really cool guy.

This will send the private message "I think you're a really cool guy" to the user undone. This starts a new channel between just two people where the conversation can continue, or not. You can switch to this like any other channel.

After the conversation is finished (or you just want to close the window) you can do so by typing

/wc

Chat etiquette and channel operators

Chat has a certain amount of unwritten rules about being polite and courteous to others. Obviously we don't aim to censor users, but there are certain things that are to be avoided.

Avoid excessive use of the Caps Lock button as it appears as though you're shouting and can get annoying.

Avoid using colour, as although it probably annoys atlas - which we all know is fun - it can get quite irritating to other users too.

Of course some people will break the rules and as such there are channel operators around to step in when they're needed.

Channel operators are denoted by having an '@' symbol before their name like so:

<@undone> i have ops! \o/

All members of the RedBrick committee have ops on #lobby. If you create a new channel, then you will automatically gain ops there and have control over things. A channel operator can kick or ban a user from a room and also set the modes and topic. When kicking or banning a user, the channel operator must always ensure that as witty a remark as possible is added afterwards:

06:07 -!- korvuss was kicked from #gamessoc by undone [witty remark!]

Modes

Each room in IRC has its own set of modes that determine what users can do in the channel. Some of the following commands set some of the more commonly used modes to a room:

/mode +i

This makes the room invite only. In order to invite someone to the room, type:

/invite undone

to invite undone into your channel.

/mode +o undone

will give undone ops in your channel, which is an excellent idea.

/mode +t

will set the channel so only ops or half ops can change the room's topic.

/mode +k pass

sets the password "pass" on your room.

IRC has other useful commands such as /exec, which lets you execute a shell command as though at the prompt. For example:

/exec ls

Be wary of users who tell you to run a /exec command, as it may not always be in your best interest to do so.

Obviously there's a lot more to learn about IRC so if you have any questions, email Helpdesk, or you know... google it.

Links

IRC at wikipedia - wikipedia.org's page about IRC.

irssi - page about irssi, detailing some of the more advanced options and features.

irssi.org - the website of Redbrick's default IRC client.

IRC Games - list of all the games run on irc