21 Maret 2008

2.7 Quick Reference Panel

2.7 Quick Reference Panel

Keyword Action
------- ------
! recalls previous commands for re-editing
ADMIN displays information about a server
AWAY leaves a message saying you're not paying attention
CLEAR puts some white space on your screen
CTCP performs certain client specific actions

DATE shows server current date and time
DCC handles direct connections to remote clients
DESCRIBE sends anything about you to a person or channel
HELP prints help on the given command
HISTORY displays the command history

IGNORE removes output from specific people off your screen
INFO shows useless information about IRC
INVITE sends an invitation to another user
JOIN sets your current channel
KICK gets rid of someone on a channel

LASTLOG lists the most recent messages
LEAVE leaves a channel
LINKS shows servers on the IRC network
LIST lists channels, number of users, topic
LUSERS gives a brief listing of users, servers and operators

ME sends anything about you to a channel or QUERY
MODE changes channel mode
MOTD displays the server message-of-the-day
MSG sends a private message
NAMES shows the nicknames of users on each channel

NICK changes your nickname
NOTICE sends a private message
NOTIFY warns you of people logging in or out IRC
QUERY starts a private conversation
QUIT exits your IRC session

SERVER switches your primary server
STATS shows some irc server usage statistics
TIME shows server current date and time
TOPIC changes the topic of the channel

TRACE shows the server connections of the given machine
USERS prints users logged on the server machine
VERSION shows client and server version number
WHO gives a listing of users
WHOIS displays information about someone

WHOWAS displays information about someone who just left

Baca Selengkapnya »

2.6 Network Related Commands

2.6 Network Related Commands
If you encounter any problem, contact your local IRC-Administrator or an IRC-Operator. An IRC-Admin is a person who has access to all files concerning 'ircd' (the server program). An IRC-Operator or "IRC-op" is a person who has privileges given to him by an IRC-Admin and tries to maintain a fast reliable IRC network. Information on how you can find out who s/he is, can be found below.

Each time you are prompted for a server name, remember you can supply the nickname of someone being connected on that server instead. This may be useful at times.

Table 11: Network related commands
-----------------------------------
Keyword Action
~~~~~~~ ~~~~~~
ADMIN displays information about a server
LINKS shows the servers on the IRC network
SERVER switches your primary server
MOTD displays the server message-of-the-day
USERS prints users logged on the server machine
DATE shows server current date and time
TIME shows server current date and time
LUSERS gives a brief listing of users, servers and operators
TRACE shows the server connections of the given server
STATS shows some irc server usage statistics
INFO shows useless information about IRC
VERSION shows client and server version number

/ADMIN []

Displays the administrative details about the given server. If no server is supplied, the server you are connected to is used.

/ADMIN
### Administrative info about poly.polytechnique.fr
### Ecole Polytechnique, Palaiseau, FRANCE
### IRC-Administrator Nicolas Pioch (Nap@IRC)
###

/LINKS [[] ]

Shows a list of servers currently connected to the IRC network. If is given, /LINKS asks the given for a list of servers matching the given expression, (this list can get very long!).

/LINKS *po*
*** nova.unix.portal.com 7 Cupertino California, USA
*** poe.acc.Virginia.EDU 6 University of Virginia 2.7.1f
*** polaris.utu.fi 9 University of Turku, Finland
*** polaris.ctr.columbia.edu 6 Columbia University, New York City
*** csd.postech.ac.kr 4 POSTECH Computer Science Dept.
*** cdc853.cdc.polimi.it 2 Polytechnic of Milan, Italy
*** poly.polytechnique.fr 0 Ecole Polytechnique, Paris, FRANCE

/SERVER [| []]

Switches your primary server to the supplied at the specified . If no port number is given, the default port number is used (normally 6667).

/SERVER poly.polytechnique.fr 6667
*** Connecting to port 6667 of server poly.polytechnique.fr
*** Welcome to the Internet Relay Network, Nap
*** Your host is poly.polytechnique.fr, running version 2.7.2g.ID
*** This server was created Sat Jan 16 1993 at 12:16:10 MET

Occasionally, you can switch servers faster than the IRC network can send out the information that you have left your previous server. So don't be surprised if you are told your nickname is already in use... Just wait a moment and set it with /NICK again.

/MOTD []

Gives the Message-Of-The-Day for the named server. If no server is given, your server is used.

/MOTD
MOTD - poly.polytechnique.fr message of the day -
MOTD - _____________________________________
MOTD - /\ \
MOTD - \_| Bienvenue sur le serveur |
MOTD - | Internet Relay Chat |
MOTD - | de l'Ecole Polytechnique, FRANCE |
MOTD - | _________________________________|__
MOTD - \_/___________________________________/
MOTD -
MOTD - | | | En cas de probleme,
MOTD - )_) )_) )_) tapez / admin
MOTD - )___))___))___)\
MOTD - )____)____)_____)\\ Nicolas PIOCH
MOTD - _____|____|____|____\\\__ Nap sur IRC
MOTD - --\ Welcome to IRC ! /---------
MOTD - ^^^^^^^^^^^^^^^^^^^^^ ^^^ ^^^
* End of /MOTD command

/USERS []

Shows the users logged into the machine where the server is running, (it's up to the server administrator to implement this feature or not. It may not work on some machines).

/USERS
*** UserID Terminal Host
*** pioch ttyp9 rotule.polytechn
*** pioch ttypc rotule.polytechn
*** pioch ttyq0 rotule.polytechn
*** pioch ttyq1 rotule.polytechn

/DATE []
/TIME []

Shows the current time of day and date. If a server is specified, the time of day and date are reported from that server. DATE and TIME are identical.

/DATE
*** poly.polytechnique.fr Saturday June 20 1992 -- 02: 35 +01:00

/LUSERS

Gives a brief listing of the number of servers, operators and users matching the given , as seen from the specified .

/LUSERS
*** There are 1008 users and 291 invisible on 135 servers
*** 72 users have connection to the twilight zone
*** There are 458 channels
*** I have 16 clients and 4 servers
*** 22 maximum connections, 19 clients

/TRACE []

Shows the server connections of the given .

/TRACE
*** Serv Class[9] ==> 134S 1331C eff.org[192.88.144.3]
*** Serv Class[8] ==> 1S 6C Julia.Enst.FR
*** Serv Class[8] ==> 1S 6C Eurecom8.Cica.FR[192.70.34.208]
*** Serv Class[1] ==> 2S 0C athina.cc.uch.gr[147.52.80.102]
*** Serv Class[8] ==> 1S 5C dafne.mines.u-nancy.fr[192.70.66.2]
*** Serv Class[8] ==> 1S 0C cnam.cnam.fr
*** Class 0 Entries linked: 16
*** Class 9 Entries linked: 1
*** Class 8 Entries linked: 4
*** Class 1 Entries linked: 1

/STATS c|i|k|l|m|u|y []

Shows some irc server usage statistics.

/STATS u
*** Server Up 12 days, 12:28:44

/INFO []

Shows information about the IRC creators, debuggers, slaves and a lot of other people who no longer have much to do with IRC.

/VERSION

Shows the ircII version number and the version number of the server.

/VERSION
*** Client: ircII 2.2
*** Server poly.polytechnique.fr: ircd 2.7.2g.Nap+6(privacy).

Baca Selengkapnya »

2.5 Client to Client Protocol

2.5 Client to Client Protocol
/CTCP []

Allows you to perform certain client specific actions on the network.

/CTCP Nap VERSION
*** CTCP VERSION reply from Nap: ircII 2.2 *IX
:ircII 2.2, SL0 The one you thought you'd never see.

This can be used to get information about how long a person has
been idle:

/CTCP Nap FINGER
*** CTCP FINGER reply from Nap: PIOCH Nicolas - Nap on IRC, X90,
(pioch@poly.polytechnique.fr) Idle 0 seconds

Table 10: Client to Client Commands
------------------------------------
Keyword Action
~~~~~~~ ~~~~~~
CTCP performs certain client specific actions
DCC handles direct connections to remote clients
DCC SEND initiates a file transfer
DCC GET accepts a file transfer
DCC CLOSE ends a DCC connection or offer
DCC LIST shows current DCC connections
DCC CHAT initiates a secure chat between two clients

There are many other CTCP commands, and new ones are introduced all the time. There is a mechanism for you to find out what you can use: CTCP CLIENTINFO. To find out about your own client services, execute a CLIENTINFO on yourself.

/CTCP Nap CLIENTINFO
*** CTCP CLIENTINFO reply from Nap: SED VERSION CLIENTINFO
USERINFO ERRMSG FINGER TIME ACTION DCC UTC PING :Use
CLIENTINFO to get more specific information

If you are interested in this powerful CTCP mechanism, have a look in the various ircII help files. "/HELP CTCP" might tell you more. However the client-to-client protocol has a very powerful feature: Allowing two people to exchange files.

To send small text files, electronic mail is probably the best solution, (don't rely on the user@host given by the WHOIS command to send mail. However, ircII provides you a way to establish Direct Client Connections ("DCC") to perform functions like sending and receiving files.

If NickA wants to send a file to NickB, then NickA should type: "/DCC SEND NickB filename". On NickB's screen will appear: "*** DCC SEND (filename) request received from NickA". If he, (NickB), wants to get the file, he just needs to type: "/DCC GET NickA filename"

A few seconds later
*** DCC GET connection with NickA established
*** DCC GET filename connection to NickA completed
will inform both users that data transfer has been successfully
completed.

Here's a quick overview of the subject:
/DCC []

Handles direct connections to remote clients. The behaviour of DCC is determined by the specified .

/DCC SEND

Initiates a file transfer by direct client connection.

/DCC GET

Accepts a file transfer by direct client connection. The sender must first have offered the file with DCC SEND.

/DCC CLOSE []

Ends an unwanted DCC connection or offer. The , and must be the same as those shown by "/DCC LIST". If the arguments are not supplied, the oldest connection of the specified type is closed.

/DCC LIST

Shows current /DCC connections with their types, status and nicknames involved.

More details can be found in ircII online help: try "/HELP DCC" for more information.

If someone asks you to send him a file, don't do it unless you exactly know what you are doing. For instance, NEVER send the password file of your system to anybody. This could grant crackers illegal access to your machines, and put you and your system administrator in a lot of trouble.

DCC also allows two clients to establish a direct client connection for chat. This is a secure form of communication, since messages are not sent through the IRC network.

/DCC CHAT

Initiates a direct client connection chat to the given nick, who must repond with DCC CHAT. Once established, messages are sent over with "/MSG =Nickname ...".

Baca Selengkapnya »

2.4 Channel and User Modes

2.4 Channel and User Modes
Channels can have additional constraints, which can be set by the MODE command, (most of the information in this section can also be obtained by issuing "/HELP MODE"). To understand this, recall that the first person to JOIN a channel effectively creates it and is initially "in charge" of the channel, ("Channel Operator" or "chanop"). S/he can subsequently add those constraints, make other people chanops at leisure.

Table 7: Mode commands
-----------------------
Keyword Action
~~~~~~~ ~~~~~~
MODE changes channel or user mode

Public is the default mode for a channel. When someone is on a public channel, he can be seen by all other users, (if his own user mode permits this). Anyone can notice users on a public channel and join such a conversation.

Private means that, although anyone can see members of such a channel, you can't tell what channel they are on unless you are already on that channel with them. They just appear as "Prv: *" in LIST or NAMES. Since the number of potential channels is in the billions, this is quite some security - all you give away is the acknowledgement that you're IRCing.

If you are on a secret channel, someone who is not on the same channel can't even see that you are there. Your name does not show up in a LIST of active users. The only indication of your presence is that, when entering IRC, all new users are told that there are "NNNNN users on XXX servers". If someone checks on all users and finds less than NNNNN of them, he knows that other people are hiding on secret channels. But a secret channel user still cannot be found except by brute-force checking through all channels, a hopeless proposition in the face of the huge number of possible channel names. Security through obscurity finally means something.

/MODE | [[+|-] []]

Allows channel operators to change channel mode, or any user to change their personal mode, (don't use this co mmand too often, it floods the net with worthless information).

/MODE #Twilight_Zone +m
*** Mode change "+m" on channel #Twilight_Zone by Nap

/MODE Nap -i
*** Mode change "-i" for user Nap by poly.polytechnique.fr

And this is how to give 'chanop' status to someone on the channel

/MODE #Twilight_Zone +o sojge
*** Mode change "+o sojge" on channel #Twilight_Zone by Nap

A + or - sign determines whether the mode should be added or deleted. Try typing "/HELP MODE" to get further information. Channels can be moderated (only chanops can talk), secret, private, with a limited number of users, anonymous, invite-only, topic-limited, with a list of banned users.

The MODE command also allows you to modify your personal parameters, your "user mode". You can check your usermode with the command "/MODE " or sometimes "/UMODE". Note that user mode +i may be the default on some servers, in order to protect privacy of users. This should not be seen as a problem, since any user can change his/her personal mode whatever defaults a server may set.

Table 8: Channel modes
-----------------------
ModeChar Effects on channels
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
b ban somebody, in "nick!user@host" form
i channel is invite-only
l channel is limited, users allowed max
m channel is moderated, (only chanops can talk)
n external /MSGs to channel are not allowed
o makes a channel operator
p channel is private
s channel is secret
t topic limited, only chanops may change it

Table 9: User modes
--------------------
ModeChar Effects on nicknames
~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
i makes yourself invisible to anybody that does
not know the exact spelling of your nickname
o IRC-operator status, can only be set
by IRC-ops with OPER
s receive server notices
w receive wallops (abused and deprecated)

Baca Selengkapnya »

2.3 Channels and Public Conversations

2.3 Channels and Public Conversations
On IRC, there are a lot of places where you can "hang out"; those places are called 'channels', (most of the information in this section can also be obtained by issuing "/HELP CHANNEL"). You can compare conversations on a channel to a conversation among a group of people: you see/hear everything that is said, and you can reply to anything that's said. What you type is received by everyone who's willing to listen - and everyone who is late will not hear what was said before, unless repeated by one of the ones who were there. (Who said "real life" ?)

All channels on IRC have names: a "#" sign followed by some kind of text-string, like "#C++" or "#Asians" or "#EU-Opers". Usually, the name of the channel will indicate the type of conversation that's going on in there. Don't count on it, though.

Table 6: Channel commands
--------------------------
Keyword Action
~~~~~~~ ~~~~~~
LIST lists channels, number of users, topic
NAMES shows the nicknames of the users on each channel
JOIN sets your current channel, (same as CHANNEL)
WHO gives a listing of users
INVITE sends an invitation to another user
LEAVE leaves a channel, (same as PART)
KICK gets rid of someone on a channel
TOPIC changes the topic of the channel
ME sends anything about you to a channel or QUERY
DESCRIBE sends anything about you to a person or channel

Every channel has certain characteristics, called channel modes. These will also be explained below. Remember the NAMES and LIST commands; they will show you the names of the existing channels.

/LIST [[] ]

Lists all current "channels", number of users, and topic. The displayed list may be quite long, so you can limit it using flags. "/LIST -MIN n" for instance removes channels with less than 'n' users of the output.

/LIST -MIN 5
*** #aussies 5
*** #amiga 5 Daily Amiga Silence...join&enjoy
*** #hottub 21 Imagine sky, high above...
*** #tuebingen 11 Happy Borthday CHUCK!!!
*** #Christian 6 Jesus!
*** #Twilight_ 15 The Oper Bar & Grill
*** #initgame 5 More players needed!!!!!!!!!!!!
*** #Taiwan 8 Welcome good friends.
*** #espanol 6 EMERGENCIA SE Necesitan Mujeres!
*** #sherwood 7
*** #francais 6 on apprend le japonais (japanese welcome)

/NAMES [[] ]

Shows the nicknames of all users on each "channel", (these may be very long. Remember to filter them with "-MIN n" or "-MAX n").

/NAMES -MIN 5
Pub: #twilight> Mycroft @sojge scorpio @Troy @Avalon @Nap phone
Merlinus Lumberjak @tzoper
Pub: #espanol Cacique Bonjovi leopardo Carina Miguel Cisco r2
Pub: #amiga @gio @Radix @xterm @mama @AmiBot
Pub: #aussies @Bleve @GrayElf @Insomniac @Morkeleb @titus
Pub: #hottub baby @Aldur KnightOrc @Toasty Gwydion @Belkira
@Aiken Edge @Spockobot @Nada @ZBot @Aurik @anna @RedBaron
@Katzen @esashi IceWolf @Eniigma @Digger @TheHeck

To join in the conversation on a certain channel you may use the JOIN command.

/JOIN []

Sets your current channel to the supplied channel.

/JOIN #Twilight_Zone
*** Nap has joined channel #Twilight_Zone
*** Topic: The Gernsback Continuum
*** Users on #Twilight_Zone: Nap msa tober phone @julia @SirLance
igh @Daemon @Avalon @Waftam @Trillian @tzoper

The CHANNEL command has the same effects. Note that if no parameters are given, your current channel is displayed.

Upon entering a channel, you are given useful details about it: list of users talking in that channel, topic... Joining a channel does not cause you to leave your previous channel unless NOVICE is set to ON. See "/HELP SET NOVICE".

Once in a channel, you may wish to get a detailed list of the people IRCing inside. That's where the WHO command comes in handy:

/WHO[|]

Gives a listing of users. "/WHO *" for the list of users in your current channel.

/WHO #Twilight_Zone
Channel Nickname S User@Host (Name)
#Twilight_ Nap H* pioch@poly.polytechnique.fr
(Quidquid latine dictum sit, altum viditur)
#Twilight_ msa H msa@tel1.tel.vtt.fi (Markku Savela)
#Twilight_ tober H ircuser@kragar.eff.org (tober)
#Twilight_ phone H mrgreen@munagin.ee.mu.OZ.AU (Third
row seats to the Cure? WHO ME? nah.. *grin*)
#Twilight_ julia G*@ julie@turing.acs.Virginia.EDU
( Future graduate of ACME Looniversity)
#Twilight_ SirLance G*@ lancelot@tdsb-s.mais.hydro.qc.ca
(Sir Lancelot)
#Twilight_ igh G igh@micom1.servers.unsw.EDU.AU (igh)
#Twilight_ Daemon G*@ frechett@spot.Colorado.EDU
(-=Runaway Daemon=-)
#Twilight_ Avalon H*@ avalon@coombs.anu.edu.au (Avalon...)
#Twilight_ Waftam G*@ danielce@munagin.ee.mu.OZ.AU (Daniel
Carosone)
#Twilight_ Trillian G*@ hrose@rocza.eff.org ( I turn to
stone when you are gone )
#Twilight_ tzoper H*@ tzoper@azure.acsu.buffalo.edu (/msg
tzoper help)

The first field is the current channel, then nickname, status, real name (in internet user@host form), and a small witty comment you can set yourself with the environment variable IRCNAME, (this will be detailed in section 2.8). Status indicates if a user is "H"ere or "G"one, (see AWAY), if IRCop ("*"), and/or a channel operator ("@").

It is also possible, when you are already on a channel, to ask someone to join your channel. The command is called INVITE.

/INVITE []

Invites another user to a channel. If no channel is specified, your current channel is used.

/INVITE Nap
*** Inviting Nap to channel #Twilight_Zone

If you receive an INVITE message, you can type "/JOIN -INVITE" to join the channel to which you were last invited, or simply "/JOIN ".

To leave a channel, just issue a LEAVE command, (PART has the same effects):

/LEAVE

Leave a channel.

/LEAVE #Twilight_Zone
*** Nap has left #Twilight_Zone

Well, you guessed it, if there is a way to invite someone on a channel, there's also the possibility to KICK someone out of it, for example if this person is behaving like a jerk, annoying people or flooding the channel with unwanted information:

/KICK []

Kicks named user off a given channel. Only 'channel operators' are privileged to use this command.

/KICK #Twilight_Zone Target
*** Target has been kicked off channel #Twilight_Zone by Nap

Channels have topics, that indicate the current topic of conversation. You can change this topic on a channel with the TOPIC command.

/TOPIC [[] ]

Changes the topic for the channel.

/TOPIC The silent channel.
*** Nap has changed the topic on channel #EU-Opers to The silent
channel.

At times, you may want to send a description of what you are doing or how you are feeling or just anything concerning you to the current channel or query. It is absolutely good style not to forget the period at the end of the sentence!

/ME

Tells the current channel or query about what you are doing. You can also use your own nickname as command, i.e. you can type the line with a leading slash.

/ME opens up the fridge.
* Nap opens up the fridge.

/Nap reaches out for the orange juice.
* Nap reaches out for the orange juice.

The same goal can be achieved towards a specific nickname using:
/DESCRIBE |

Sends anything concerning you to the or you pass as first argument.

(Note: The look of the result depends on each client version, and might not be exactly the same as in the examples shown here.)

These commands make use of CTCP, a client-to-client protocol crafted to perform specific actions, but not understood by all clients, (more about CTCP in section 2.5). If you get an error message, your description may not have arrived properly.

Baca Selengkapnya »