441 lines
7.2 KiB
HTML
441 lines
7.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Beginner's guide on using IRC</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Linux IRC mini-HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Brief History of IRC"
|
|
HREF="bhistory.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Console IRC Clients"
|
|
HREF="console.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Linux IRC mini-HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="bhistory.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="console.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="beginners"
|
|
></A
|
|
>4. Beginner's guide on using IRC</H1
|
|
><P
|
|
>The standard IRC client is the original ircII. It's part of most
|
|
Linux distributions, and most other text-based IRC clients (notably
|
|
BitchX and EPIC) are derived from it.</P
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN105"
|
|
></A
|
|
>4.1. Running the ircII program</H2
|
|
><P
|
|
>It's easy to use ircII. Let's say you want to connect to
|
|
irc.freenode.net as mini-HOWTO.</P
|
|
><P
|
|
>At the command line, type:</P
|
|
><P
|
|
>$ irc mini-HOWTO irc.freenode.net</P
|
|
><P
|
|
>You can also export variables, so you won't need to use them at
|
|
the command line. For bash and zsh users:</P
|
|
><P
|
|
>$ export IRCNICK=mini-HOWTO IRCSERVER=irc.freenode.net</P
|
|
><P
|
|
>For csh and tcsh users, replace <EM
|
|
>export</EM
|
|
> with
|
|
<EM
|
|
>setenv</EM
|
|
>.</P
|
|
><P
|
|
>Add them to your shell profile (e.g. ~/.bash_profile or
|
|
~/.zprofile) when you're done.</P
|
|
><P
|
|
>Other common variables are IRCNAME and IRCUSER, to respectively
|
|
set the ircname part of a /whois and username as seen at the first line
|
|
'mini-HOWTO is ~username@hostname (ircname)'. Keep in mind that IRCUSER
|
|
won't work if you run an ident daemon (default on most distributions).
|
|
If you still need to change your username (not recommended, and I hope
|
|
you're not using IRC logged as root !), install oidentd from <A
|
|
HREF="http://ojnk.sourceforge.net/"
|
|
TARGET="_top"
|
|
> <TT
|
|
CLASS="literal"
|
|
>http://ojnk.sourceforge.net/</TT
|
|
></A
|
|
> . To configure,
|
|
read the oidentd.conf man page. Finally run '/usr/local/sbin/oidentd -g
|
|
nobody -u nobody'. Add this to your startup scripts (e.g.
|
|
/etc/rc.d/rc.local) when you're done.</P
|
|
><P
|
|
>If not set, IRCNICK, IRCUSER, and IRCNAME will be retrieved from
|
|
/etc/passwd .</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN120"
|
|
></A
|
|
>4.2. Commands</H2
|
|
><P
|
|
>Use /help to get a list on all available commands (/help help is a
|
|
good start). Replace <EM
|
|
>nick</EM
|
|
> by any IRCNICK.</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
>First, /set NOVICE off</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/nick IRC-mini-HOWTO changes your IRCNICK to
|
|
<EM
|
|
>IRC-mini-HOWTO</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/set realname The Linux IRC mini-HOWTO changes your IRCNAME to
|
|
<EM
|
|
>The Linux IRC mini-HOWTO</EM
|
|
> (doesn't change on the
|
|
same connection)</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/j #mini-HOWTO joins channel
|
|
<EM
|
|
>#mini-HOWTO</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/j #unmaintained-HOWTO joins
|
|
channel<EM
|
|
>#unmaintained-HOWTO</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/j #mini-HOWTO changes the active current channel to
|
|
<EM
|
|
>#mini-HOWTO</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/msg <EM
|
|
>nick</EM
|
|
> Hi. sends a private message to
|
|
<EM
|
|
>nick</EM
|
|
> containing <EM
|
|
>Hi.</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/notice <EM
|
|
>nick</EM
|
|
> (or #mini-HOWTO) Hi. sends a
|
|
notice to <EM
|
|
>nick</EM
|
|
> (or #mini-HOWTO) containing
|
|
<EM
|
|
>Hi.</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/query <EM
|
|
>nick</EM
|
|
> starts a private conversation
|
|
with <EM
|
|
>nick</EM
|
|
>. /query ends the private
|
|
conversation</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/me uses <EM
|
|
>Linux.</EM
|
|
> sends an action to the
|
|
current channel or query containing <EM
|
|
>IRC-mini-HOWTO loves
|
|
Linux.</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/dcc chat <EM
|
|
>nick</EM
|
|
> starts a chat with
|
|
<EM
|
|
>nick</EM
|
|
>. Use /msg =<EM
|
|
>nick</EM
|
|
> (notice
|
|
the <EM
|
|
>=</EM
|
|
>) to send messages over the chat</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/dcc send <EM
|
|
>nick</EM
|
|
> /etc/HOSTNAME sends the given
|
|
file to <EM
|
|
>nick</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/dcc get <EM
|
|
>nick</EM
|
|
> receives the file offered by
|
|
<EM
|
|
>nick</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/part leaves the active current channel</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/part #unmaintained-HOWTO leaves channel
|
|
<EM
|
|
>#unmaintained-HOWTO</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/discon disconnects from current IRCSERVER</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/server irc.oftc.net connects to IRCSERVER
|
|
<EM
|
|
>irc.oftc.net</EM
|
|
></P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>/quit Bye. quits your IRC session with a reason
|
|
<EM
|
|
>Bye.</EM
|
|
></P
|
|
></LI
|
|
></UL
|
|
><P
|
|
>Most of the above commands (including the use of environmental
|
|
variables) will also work in other console-based clients.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN188"
|
|
></A
|
|
>4.3. IRC Etiquette</H2
|
|
><P
|
|
>WARNING WARNING WARNING WARNING WARNING</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
>Never use IRC logged as root or any user with excessive
|
|
privileges. Bad things may happen sooner or later. You were warned. It's
|
|
highly recommended you create an user only to use IRC.</P
|
|
></LI
|
|
></UL
|
|
><P
|
|
>$ man adduser</P
|
|
><P
|
|
>On Linux channels you shouldn't:</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
>Act as an idiot. If you want to be respected, then first respect
|
|
each other.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Use colors (^C). Most Linux users don't tolerate such mIRC crazes,
|
|
and ircII doesn't really support them. The same should apply for
|
|
ANSI.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Use full CAPS, bold (^B), reverse (^V), underline (^_), blink
|
|
(^F), and bell (^G). The first 4 are here to emphasize words, not the
|
|
whole text. The last 2 are just very annoying. </P
|
|
></LI
|
|
><LI
|
|
><P
|
|
>Ask if you can ask a question. Just ask, but first read all
|
|
documentation available on the subject. Start looking at <A
|
|
HREF="file:/usr/share/doc/"
|
|
TARGET="_top"
|
|
> <TT
|
|
CLASS="literal"
|
|
>/usr/doc/</TT
|
|
></A
|
|
> (on
|
|
some systems it may be <A
|
|
HREF="file://usr/doc/"
|
|
TARGET="_top"
|
|
> <TT
|
|
CLASS="literal"
|
|
>/usr/doc/</TT
|
|
></A
|
|
>, otherwise go to <A
|
|
HREF="http://www.tldp.org/"
|
|
TARGET="_top"
|
|
> <TT
|
|
CLASS="literal"
|
|
>http://www.tldp.org/</TT
|
|
></A
|
|
> or <A
|
|
HREF="http://www.ibiblio.org/pub/Linux/docs/"
|
|
TARGET="_top"
|
|
> <TT
|
|
CLASS="literal"
|
|
>http://www.ibiblio.org/pub/Linux/docs/</TT
|
|
></A
|
|
> . And
|
|
don't repeat your question immediately. Wait at least 10 minutes. If you
|
|
don't get any answer it's because nobody knows or wants to help. Respect
|
|
their choice, they're not your personal assistant. Also never send mass
|
|
private messages. It's like spam.</P
|
|
></LI
|
|
></UL
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="bhistory.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="console.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Brief History of IRC</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Console IRC Clients</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |