Irssi: Difference between revisions

From Nasqueron Agora
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Tips and tricks abour irssi ==
Irssi is a modern CLI robust IRC client.
 
== Run irssi on Ysul ==
You can use your shell developper account on Ysul to run irssi.
 
To get it running as boot time you can add it in the crontab with <code>crontab -e</code>.
 
First, set your most vital environment variables:
 
  SHELL=/bin/tcsh
  HOME=/home/yourlogin
  PATH=/bin:/usr/bin:/usr/games:/usr/local/bin:$HOME/bin
  CHARSET=utf-8
  LANG=en_US.UTF-8
 
Then, request a terminal multiplexer with one of the following line (pick tmux if you don't know either):
 
  @reboot tmux -u -d new irssi
  @reboot screen -dmUS irc /usr/bin/local/irssi
 
== Tips and tricks about irssi ==
=== Window management ===
=== Window management ===
The following shorcuts are handy:
The following shorcuts are handy:
Line 15: Line 35:
* Requests operator mode in the current channel: <code>/alias op! /eval /quote chanserv op $C $N</code>.
* Requests operator mode in the current channel: <code>/alias op! /eval /quote chanserv op $C $N</code>.


[[Category:Reference]]
[[Category:Knowledge base]]
[[Category:IRC]]

Latest revision as of 19:18, 24 October 2024

Irssi is a modern CLI robust IRC client.

Run irssi on Ysul

You can use your shell developper account on Ysul to run irssi.

To get it running as boot time you can add it in the crontab with crontab -e.

First, set your most vital environment variables:

 SHELL=/bin/tcsh
 HOME=/home/yourlogin
 PATH=/bin:/usr/bin:/usr/games:/usr/local/bin:$HOME/bin
 CHARSET=utf-8
 LANG=en_US.UTF-8

Then, request a terminal multiplexer with one of the following line (pick tmux if you don't know either):

 @reboot tmux -u -d new irssi
 @reboot screen -dmUS irc /usr/bin/local/irssi

Tips and tricks about irssi

Window management

The following shorcuts are handy:

  • meta + a (available out of the box) allows you to go to the "more active" window, which is:
    • the last window you have been highlighted, or if none exists,
    • the last window someone has send a message to, or if none exists,
    • the last window someone has send a mode to (join/part/etc.), or if none exists,
    • the current window.
  • meta + x allows you to switch between the current and the last windows with /bind meta-x command window last.

Note: you can do meta + a and other similar shorcuts a lot of way: alt + a, super key / windows key + a (Windows keyboards), search key + a (Chromebooks). On Mac OS X, you can set the system to use option as meta key.

Channel management

If you use a server with Chanserv:

  • Requests operator mode in the current channel: /alias op! /eval /quote chanserv op $C $N.