Changes

Jump to: navigation, search

Irssi Tutorial

454 bytes added, 18:05, 23 January 2009
m
Fixing up some links, BBL
= [http://www.irssi.org/ irssi] is a command-line [http://en.wikipedia.org/wiki/Internet_Relay_Chat IRC] client popular with many developers. By using irssi in conjunction with the [http://en.wikipedia.org/wiki/GNU_Screen '''GNU Screen'''] program you can create one or more shells that will exist even when you logout. IRSSI + Terminal Server: =This is useful when you move between computers, but want to reconnect to irssi where you last left-off.
Why use the IRSSI client on '''cs1''' you ask? Well because then you don't have to be worried about being connected to IRC at all times. By using the ''screen'' porgram you can create a session in the background and launch IRSSI within that session. This way when you logout of telnet or ssh your session is still active and can be accessed later on.==Advantages==
'''Advantages include''': # * People can leave you messages.# * You can catch-up on important things conversations that happened while you may have had otherwise missed that happened on IRCwere away (often called "scrollback").
== Instructions ==
# * Obtain an account on cs1 zenit, or install irssi on another computer that isn't rebooted (ask daveNOTE: many Seneca servers are rebooted frequently).# * Use ssh to connect to cs1, for example zenit. On Windows try a client such as [http://encdot.senecac.wikipediaon.orgca/software/wikiputty/PuTTY PuTTY (Windows)]. If you use Linux or any Unix based operating system you likely will already have ssh installed.# * Once you've connected to cs1 zenit, launch ''IRSSI'irssi''' within a [http://en.wikipedia.org/wiki/GNU_Screen '''screen'''] session. You can do this by typing : $ screen ''screen'' in will flash and go back to the bash default prompt. This will launch the '' You are now inside screen'' application which should start a new bash prompt of its own.# $ irssi* Type "irssi" in the new bash prompt in order to launch ''IRSSI'', the irc application. As a side note, if you want to exit a ''screen'' session just type "exit" in the bash prompt to return to the main prompt where you originally launched ''screen'' from.# * In the ''IRSSI'' prompt, type connect to a server: <code>/connect irc.mozilla.org in order to </code>or <code>/connect to the Mozilla IRC serverirc.freenode.net</code># * Once you're connected type in <code>/j join #seneca </code>* You can join multiple servers and channels by repeating the /connect and /join commands, above* The screen software lets you disconnect from and reconnect to join the official DPS909 IRC channelIrssi software.:::* If you would like to return back to the bash prompt without exiting ''IRSSI'' hit "ctrl+a" then "ctrl+d":::* If you would like to return to ''IRSSI'' type "screen -raAd" in the bash prompt.:::* If you would like to see a list of ''screens'' that are currently running type "screen -ls" in the bash prompt.
==Frequently Asked Questions==
# '''How do i change the default nick name?'''
#*If you want to switch from one chat to another, press '''alt+ screen#'''.
# '''How do i close an open window?'''
#* Navigate to the window you want to close, type '''/window close''' (or '''/wc''') and press enter.
# '''How do I log back onto the account on the second time on?'''
#* Type the following command '''screen -r''' on the terminal.
# '''If I want to leave the irssi that I logged in from one computer to another but keeping the connection and messages running, what should I do?'''
#* I should do Ctrl+A and then press D right after.
#* Close the SSH in this computer, moved to another computer, log into cs1 zenit again, then type 'screen -arAd'.
#* '''Notice: You don't even have to connect again.'''
 
== Other approaches ==
See the '''Staying Connected''' topic on the [[Irc]] page for some other approaches to this problem.
3
edits

Navigation menu