====== La commande "irssi" ====== La page de [[man de irssi]]. Premier lancement d'irssi : $ irssi Irssi v0.8.21 - http://www.irssi.org 13:39 -!- ___ _ 13:39 -!- |_ _|_ _ _____(_) 13:39 -!- | || '_(_-<_-< | 13:39 -!- |___|_| /__/__/_| 13:39 -!- Irssi v0.8.21 - http://www.irssi.org 13:39 -!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - 13:39 -!- Hi there! If this is your first time using Irssi, you 13:39 -!- might want to go to our website and read the startup 13:39 -!- documentation to get you going. 13:39 -!- 13:39 -!- Our community and staff are available to assist you or 13:39 -!- to answer any questions you may have. 13:39 -!- 13:39 -!- Use the /HELP command to get detailed information about 13:39 -!- the available commands. 13:39 -!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - ===== Connexion sur un chan ===== Il faut tout d'abord se connecter au serveur : /connect irc.freenode.org Choisir un "nickname" (login) : /nick Artanux Se connecter si on a créé un compte : /msg NickServ identify Joindre le "channel" (salon de discussion) : /join #dokuwiki ===== Chercher un utilisateur ===== Une fois connecté sur le serveur [(status)] /whois Lord 09:45 -!- Lord [~Lord@zapp.lord.re] 09:45 -!- ircname : Lord 09:45 -!- server : karatkievich.freenode.net [Montreal, CA] 09:45 -!- : is using a secure connection 09:45 -!- account : Lord 09:45 -!- End of WHOIS Ouvrir une discussion privée : [(status)] /query Lord Un nouvel onglet s'ouvre avec : 09:49 -!- Irssi: Starting query in freenode with Lord ===== Configuration d'un serveur ===== On peut faire la configuration directement depuis irssi. Ici, un exemple pour se connecter au gateway IRC de Slack : /network add -nick slack 13:53 -!- Irssi: Network slack saved /server add -auto -ssl -network slack .irc.slack.com 6667 14:05 -!- Irssi: Server .irc.slack.com saved /save 14:05 -!- Irssi: Saved configuration to file /home/simon/.irssi/config On quitte : /quit Et on relance irssi : $ irssi ===== Quelques essais d'utilisation de Slack à travers Irssi ===== Une fois qu'on a configuré le serveur comme vu précédemment, Irssi s'y connecte au démarrage : 14:18 -!- Irssi: Looking up .slack.com 14:18 -!- Irssi: Connecting to .irc.slack.com [52.200.153.183] port 6667 14:20 -!- Irssi: Connection to .irc.slack.com established 14:20 slackbot [] requested CTCP VERSION from simon: 14:20 -!- IRC-SLACK gateway 14:20 -!- Welcome to Slack IRC Gateway server simon!~simon@10.0.161.63 14:20 -!- MAP SILENCE=15 WHOX WALLCHOPS WALLVOICES USERIP CPRIVMSG CNOTICE MODES=6 MAXCHANNELS=100 SAFELIST are supported by this server 14:20 -!- NICKLEN=32 TOPICLEN=160 AWAYLEN=160 CHANTYPES=# PREFIX=(ov)@+ CHANMODES=b,k,l,rimnpst CASEMAPPING=rfc1459 are supported by this server 14:20 -!- there are 17 users 14:20 -!- Message of the day 14:20 -!- WELCOME TO SLACK... 14:20 -!- Hi! In addition to the normal Slack channels, 14:20 -!- you can join the following channels: 14:20 -!- #mpdm-micmac--simon--nico--magali-1 14:20 -!- Group messaging with: @micmac @simon @nico @magali 14:20 -!- (...) 14:20 -!- You may disable this notice by appending '-no_mpdm_greet' to your password token. 14:20 -!- End of MOTD command 14:20 -!- Mode change [] for user simon:+i Une fois connecté, on peut voir les "channels" disponibles : /channel 14:22 You are on the following channels: 14:22 #site +nt (slack): user1 user2 ... 14:22 #liens +nt (slack): user1 user3 ... 14:22 (...) 14:22 #general +nt (slack): user1 user2 user3 ... On peut faire la liste des "channels" sur lesquels on est actif : /window list 14:28 Ref Name Active item Server Level 14:28 1 (status) slack ALL 14:28 2 #site slack 14:28 8 #liens slack 14:28 11 #general slack 14:28 12 (...) On peut passer de l'un à l'autre avec ces commandes et raccourcis claviers : Fonction Combinaison de touches Commande équivalent ================================================================================================= Fenêtre suivante [CTRL] + [N] /window next Fenêtre précédente [CTRL] + [P] /window previous Aller directement à la fenêtre n [ALT] + [n] (n = num. fenetre) /window n Naviguer par la droite ou la gauche [flèche droite] - Liste des fenêtres actives - /window list ===== Sources ===== * [[http://www.robgolding.com/blog/2014/05/16/using-slack-with-irssi/|robgolding.com (using slack with irssi)]] * [[https://doc.fedora-fr.org/wiki/Irssi_-_client_IRC_en_mode_console#Utilisation_du_client|irssi sur fedora-fr.org]]