Difference between revisions of "How to start chatting with irssi"

From Remeis-Wiki
Jump to navigation Jump to search
(Created page with " Category:Current Members How to start chatting with **irssi**:\\ <file>screen -S chat # will open a screened terminal that you can detach and attach (called "chat")\\ ir...")
 
 
Line 1: Line 1:
  
 
[[Category:Current Members]]
 
[[Category:Current Members]]
 
+
How to start chatting with '''irssi''':
How to start chatting with **irssi**:\\
+
screen -S chat # will open a screened terminal that you can detach and attach (called "chat")
<file>screen -S chat # will open a screened terminal that you can detach and attach (called "chat")\\
+
irssi # open irssi, an awesome chat tool
irssi # open irssi, an awesome chat tool\\
+
/set nick <nick> # set your nickname
/set nick <nick> # set your nickname\\
+
/set real_name <real name> # optional
/set real_name <real name> # optional\\
+
/server add -auto -network Freenode irc.freenode.net 6667 # "Freenode" is just a name for the  
/server add -auto -network Freenode irc.freenode.net 6667 # "Freenode" is just a name for the  
+
network that includes the given IRC server attached to some local port (here 6667)
network that includes the given IRC server attached to some local port (here 6667)\\
+
/network add -nick <nick> Freenode # add your nickname # add your nick to the network
/network add -nick <nick> Freenode # add your nickname # add your nick to the network\\
+
/channel add -auto #remeis Freenode # automatically add the channel #remeis to known chat channels within the "Freenode" network
/channel add -auto #remeis Freenode # automatically add the channel #remeis to known chat channels within the "Freenode" network\\
+
/j #remeis # join the chat
/j #remeis # join the chat\\
+
Cntr -a -d
Cntr -a -d</file>\\
 
  
 
Ok, how to use it best?
 
Ok, how to use it best?
Line 18: Line 17:
 
When logging in to your computer, you just need to open a terminal and type
 
When logging in to your computer, you just need to open a terminal and type
  
<file>screen -r chat # resume the screen called "chat" you detached from your terminal the last time</file>
+
screen -r chat # resume the screen called "chat" you detached from your terminal the last time
  
 
when logging out:
 
when logging out:
<file>Cntr -a -d # detach screen</file>
+
Cntr -a -d # detach screen
  
 
And now magic:
 
And now magic:
Line 27: Line 26:
 
.kde/Autostart/IrssiRemeis.sh
 
.kde/Autostart/IrssiRemeis.sh
 
containing the line
 
containing the line
<file>term -bg 'black' -fg 'white' -T 'Remeis Chat' -e 'screen -r -d'</file>
+
term -bg 'black' -fg 'white' -T 'Remeis Chat' -e 'screen -r -d'
  
 
this will automatically open a terminal every time you log in to your computer and attach the screen.
 
this will automatically open a terminal every time you log in to your computer and attach the screen.
 
So all you got to do is to detach the screen before logging out with
 
So all you got to do is to detach the screen before logging out with
<file>Cntr -a -d</file>
+
Cntr -a -d
  
 
That's it. Sometimes you may encounter the problem that you opened screens from different computers and your nickname 'bla' will get '_bla', '__bla'....
 
That's it. Sometimes you may encounter the problem that you opened screens from different computers and your nickname 'bla' will get '_bla', '__bla'....
 
Then you have to kill all screens except of one with
 
Then you have to kill all screens except of one with
<file>screen -S name_of_screen -X quit</file>\\
+
screen -S name_of_screen -X quit  
 +
 
 +
How to start chatting with xchat:
 +
open the terminal and start the program xchat
 +
$ xchat
  
How to start chatting with xchat:\\
+
Fill out name + stuff and connect to the server called FreeNode
open the terminal and start the program xchat \\
+
Then join the channel #remeis:  
$ xchat\\
 
\\
 
Fill out name + stuff and connect to the server called FreeNode\\
 
Then join the channel #remeis: \\
 
  
Three possibilites to do that:\\
+
Three possibilites to do that:
 
   - The first time you start xchat you should be asked which channel to join type remeis
 
   - The first time you start xchat you should be asked which channel to join type remeis
 
   - type /j #remeis in the chat
 
   - type /j #remeis in the chat
 
   - click on the tab server and click  Join a Channel... -> Type remeis as a channel name
 
   - click on the tab server and click  Join a Channel... -> Type remeis as a channel name
  
Link to some useful stuff when using irc:\\
+
Link to some useful stuff when using irc:
 
[[http://www.mirchelp.net/mirc_commands/]]
 
[[http://www.mirchelp.net/mirc_commands/]]

Latest revision as of 12:10, 13 April 2018

How to start chatting with irssi:

screen -S chat # will open a screened terminal that you can detach and attach (called "chat")
irssi # open irssi, an awesome chat tool
/set nick <nick> # set your nickname
/set real_name <real name> # optional
/server add -auto -network Freenode irc.freenode.net 6667 # "Freenode" is just a name for the 
network that includes the given IRC server attached to some local port (here 6667)
/network add -nick <nick> Freenode # add your nickname # add your nick to the network
/channel add -auto #remeis Freenode # automatically add the channel #remeis to known chat channels within the "Freenode" network
/j #remeis # join the chat
Cntr -a -d

Ok, how to use it best? Now you told irssi everything about the network, the server, your name and the chat channel you want to join. When logging in to your computer, you just need to open a terminal and type

screen -r chat # resume the screen called "chat" you detached from your terminal the last time

when logging out:

Cntr -a -d # detach screen

And now magic: Create a file in your startup directory of your operating system, here KDE: .kde/Autostart/IrssiRemeis.sh containing the line

term -bg 'black' -fg 'white' -T 'Remeis Chat' -e 'screen -r -d'

this will automatically open a terminal every time you log in to your computer and attach the screen. So all you got to do is to detach the screen before logging out with

Cntr -a -d

That's it. Sometimes you may encounter the problem that you opened screens from different computers and your nickname 'bla' will get '_bla', '__bla'.... Then you have to kill all screens except of one with

screen -S name_of_screen -X quit 

How to start chatting with xchat: open the terminal and start the program xchat

$ xchat

Fill out name + stuff and connect to the server called FreeNode Then join the channel #remeis:

Three possibilites to do that:

 - The first time you start xchat you should be asked which channel to join type remeis
 - type /j #remeis in the chat
 - click on the tab server and click  Join a Channel... -> Type remeis as a channel name

Link to some useful stuff when using irc: [[1]]