Irssi: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Akerge (talk | contribs)
added summary
Akerge (talk | contribs)
added flags
Line 1: Line 1:
__NOTOC__
[[File:Irssi.png|thumb|right|alt=A screenshot of Irssi in action.|Irssi screenshot with /nick command entered.]]
[[File:Irssi.png|thumb|right|alt=A screenshot of Irssi in action.|Irssi screenshot with /nick command entered.]]


Line 9: Line 7:
With other package managers, distros and platforms, please see the [https://irssi.org/download/ following link].
With other package managers, distros and platforms, please see the [https://irssi.org/download/ following link].


With apt: <code>sudo apt-get install irssi</code>
With apt:  
<br/><code>sudo apt-get install irssi</code>


It is rather light-weight, being only 2 392 kB on disk.
It is rather light-weight, being only 2 392 kB on disk.
Line 19: Line 18:


* Open terminal (Ctrl+Alt+T) and type: <code>irssi</code>
* Open terminal (Ctrl+Alt+T) and type: <code>irssi</code>
* <code>/connect rajaniemi.freenode.net</code>  
* <code>/connect rajaniemi.freenode.net</code> Closest freenode server.
 
Closest freenode server.
* <code>/join itcollege</code>
* <code>/join itcollege</code>


Line 29: Line 26:


<code>Alt+#</code> combination is used for window switching. For more than nine windows, the row below numbers will be used, for example key combination <code>Alt+q</code> etc. A window can be changed via command as well -- <code>/window #</code>. To close window, type <code>/wc #</code>
<code>Alt+#</code> combination is used for window switching. For more than nine windows, the row below numbers will be used, for example key combination <code>Alt+q</code> etc. A window can be changed via command as well -- <code>/window #</code>. To close window, type <code>/wc #</code>
== Channel and user configuration ==


===Name===
===Name===


Your default nickname (under Ubuntu) will be your computer username. You can change it by entering <code>/nick your-new-username</code>
Default nickname (under Ubuntu) will be the computer username. To change it type <code>/nick new-username</code>
 
Nickname registration is beneficial if one is planning on staying for longer. Also registration prevents nickname abuse.


You should register your nickname if you plan staying for longer and don't want anyone to abuse it, by messaging NickServ <code>/msg nickserv REGISTER <password> <email></code>
<code>/msg nickserv REGISTER <password> <email></code>


=== Channels (chat rooms) ===
=== Channels (chat rooms) ===


*To list all chat rooms type <code>/list</code> Might not be a good idea to do, considering there are about 12 000 channels. To search for a specific channel might be more useful to search via browser or know beforehand where you want to connect to.
*To list all chat rooms type <code>/list</code> Might not be a good idea to do, considering there are about 12 000 channels. To search for a specific channel might be more useful to search via browser or know beforehand what channel you want to join.


*Joining you can omit the number sign (#) <code>/join itcollege</code>
*Joining you can omit the number sign (#) <code>/join itcollege</code>
*If the channel is unregistered, connected user will receive op (+o more info below) upon entering. Channel can be registered by following command <code>/cs register #channel channelpassword channeldescription</code>
** Channelpassword is required to get or give channel ownership access.
** Channeldescription is also required, containing description (duh) or channel purpose.


*Away message: <code>/away msg</code>
*Away message: <code>/away msg</code>
Line 57: Line 62:


*To mark yourself as away: <code>/away away_message</code>
*To mark yourself as away: <code>/away away_message</code>
=== User Flags ===
Following has been copied from [http://www.stack.nl/~jilles/irc/atheme-help/ Jilles'] Atheme (IRC service platform) help and a local copy can be [http://enos.itcollege.ee/~akerge/irc/ found here].
Flags give user rights or take them away (operator vs banned for example).
<code>+voice</code> - Enables use of the voice/devoice commands (who can or cannot speak).
<code>+autovoice</code> - Enables automatic voice.
<code>+halfop</code> - Enables use of the halfop/dehalfop commands.
<code>+autohalfop</code> - Enables automatic halfop.
<code>+op</code> - Enables use of the op/deop commands.
<code>+autoop</code> - Enables automatic op.
<code>+protect</code> - Enables use of the protect/deprotect commands.
<code>+owner</code> - Enables use of the owner/deowner commands.
<code>+set</code> - Enables use of the set command.
<code>+invite</code> - Enables use of the invite and getkey commands.
<code>+remove</code> - Enables use of the kick, kickban, ban and unban
commands.
<code>+remove</code> - Enables use of the ban and unban commands.
<code>+remove</code> - Enables use of the unban command.
<code>+recover</code> - Enables use of the recover and clear commands.
<code>+acl-change</code> - Enables modification of channel access
lists.
<code>+topic</code> - Enables use of the topic and topicappend commands.
<code>+acl-view</code> - Enables viewing of channel access lists.
<code>+successor</code> Marks the user as a successor.
<code>+founder</code> Grants full founder access.
<code>+banned</code> Enables automatic kickban.
*For more thorough channel guide, please see the following file from [http://irchelp.org/irchelp/changuide.html IRC help].


== Further Customization ==
== Further Customization ==
Line 73: Line 128:


https://irssi.org/download/
https://irssi.org/download/
http://www.stack.nl/~jilles/irc/atheme-help/
http://irchelp.org/irchelp/changuide.html


https://scripts.irssi.org/
https://scripts.irssi.org/

Revision as of 12:35, 5 June 2016

A screenshot of Irssi in action.
Irssi screenshot with /nick command entered.

The command line IRC client. Irssi is FOSS (licensed under the GPLv2) and is available for Linux, BSD, Solaris, Apple and with Cygwin on Windows. It was developed by Timo Sirainen and was released in the beginning of 1999. It is highly customizable, for example with themes and it is possible to to use other instant messaging communication through it.

Installing

With other package managers, distros and platforms, please see the following link.

With apt:
sudo apt-get install irssi

It is rather light-weight, being only 2 392 kB on disk.

Getting around

Connecting

There are several IRC servers still alive and going strong. In this example we shall be connecting to the closest freenode server, located in Finland. Physical distance is not an issue nowadays, but imagine being stuck on a 56 kB modem with top speeds through dial-up and the copper wire being about 12 kB, maxing out at 30 kB, if local.

  • Open terminal (Ctrl+Alt+T) and type: irssi
  • /connect rajaniemi.freenode.net Closest freenode server.
  • /join itcollege

Joining channels usually requires a #-sign, for example #mozilla. Irssi adds it behind the scenes so it can be omitted.

Window Switching

Alt+# combination is used for window switching. For more than nine windows, the row below numbers will be used, for example key combination Alt+q etc. A window can be changed via command as well -- /window #. To close window, type /wc #

Channel and user configuration

Name

Default nickname (under Ubuntu) will be the computer username. To change it type /nick new-username

Nickname registration is beneficial if one is planning on staying for longer. Also registration prevents nickname abuse.

/msg nickserv REGISTER <password> <email>

Channels (chat rooms)

  • To list all chat rooms type /list Might not be a good idea to do, considering there are about 12 000 channels. To search for a specific channel might be more useful to search via browser or know beforehand what channel you want to join.
  • Joining you can omit the number sign (#) /join itcollege
  • If the channel is unregistered, connected user will receive op (+o more info below) upon entering. Channel can be registered by following command /cs register #channel channelpassword channeldescription
    • Channelpassword is required to get or give channel ownership access.
    • Channeldescription is also required, containing description (duh) or channel purpose.
  • Away message: /away msg
  • Quit message: /quit quitmsg
  • User query: /q <nick>
  • List users in a channel: /n
  • Private message a user: /m <nick> message
  • Display a channels topic: /topic
  • Perform an action: /me scratches his nose will look like <nick> scratches his nose
  • To mark yourself as away: /away away_message

User Flags

Following has been copied from Jilles' Atheme (IRC service platform) help and a local copy can be found here.

Flags give user rights or take them away (operator vs banned for example).

+voice - Enables use of the voice/devoice commands (who can or cannot speak).

+autovoice - Enables automatic voice.

+halfop - Enables use of the halfop/dehalfop commands.

+autohalfop - Enables automatic halfop.

+op - Enables use of the op/deop commands.

+autoop - Enables automatic op.

+protect - Enables use of the protect/deprotect commands.

+owner - Enables use of the owner/deowner commands.

+set - Enables use of the set command.

+invite - Enables use of the invite and getkey commands.

+remove - Enables use of the kick, kickban, ban and unban commands.

+remove - Enables use of the ban and unban commands.

+remove - Enables use of the unban command.

+recover - Enables use of the recover and clear commands.

+acl-change - Enables modification of channel access lists.

+topic - Enables use of the topic and topicappend commands.

+acl-view - Enables viewing of channel access lists.

+successor Marks the user as a successor.

+founder Grants full founder access.

+banned Enables automatic kickban.

  • For more thorough channel guide, please see the following file from IRC help.

Further Customization

To make life easier scripts and themes with further documentation can be found on on irssi homepage.

Summary

This was a short introduction to IRC and Irssi on command line. So far the best program with minimal GUI that helps user to concentrate on the most important part of IRC - text.

References

https://www.cygwin.com/

http://icecap.irssi2.org/

https://irssi.org/download/

http://www.stack.nl/~jilles/irc/atheme-help/

http://irchelp.org/irchelp/changuide.html

https://scripts.irssi.org/

https://irssi-import.github.io/themes/

https://irssi.org/

http://www.linux.org/threads/irssi-for-beginners.4181/

http://www.antonfagerberg.com/blog/my-perfect-irssi-setup/

http://www.irchelp.org/irchelp/irctutorial.html

At the time of writing a post has appeared on freenode staff blog rendering their FAQ page unusable.

Created and edited by Artur Kerge in Spring of 2016