140 likes | 192 Views
Wei-Shiang Huang <huangwh@cs.nctu.edu.tw>. Introduce to IRC. What is IRC?. It means “Internet Relay Chat”. A form of real-time Internet text messaging (chat). It’s a server and client model. It has a lot of channels on a server. Also provide private messages and file sharing functions.
E N D
Wei-Shiang Huang <huangwh@cs.nctu.edu.tw> Introduce to IRC
A form of real-time Internet text messaging (chat). • It’s a server and client model. • It has a lot of channels on a server. • Also provide private messages and file sharing functions.
Install • An example on FreeBSD • cd /usr/ports/irc/irssi/ • make install clean • rehash
Basic Commands • Connect to an irc server (ex:freenode) • /connect irc.freenode.net • Own your nickname • /nick maximum • Register your nickname • /msg NickServ REGISTER <password> • /msg NickServ IDENTIFY <password> • Join a channel • /join #Channel_name key (if necessary key) • Ex: /join #nctuNASA ILoveCSCC (For course purpose)
Basic Commands (Cont’d) • Private message • /msg <nickname> blah~~~~ • Leave a channel • /wc • Close irssi • /quit • Switch channel key • Alt+<NUM>, Alt+<LEFT>, Alt+<RIGHT>
Irssi Configuration • If you have a configuration file, you can connect and join a channel automatically. • Configurate IRC Network • /NETWORK ADD freenode • Configurate IRC Server • /SERVER ADD -auto -network freenode irc.freenode.net • Add a Channel • /CHANNEL ADD –auto #nctuNASA freenode ILoveCSCC • Set Encoding • /SET term_charset UTF-8 • /SET recode_transliterate ON • /SET recode_fallback UTF-8 • /SET recode_out_default_charset UTF-8
Irssi Configuration (Cont’d) • Channel Encoding • /RECODE ADD #channel_name encode • Ex:/RECODE ADD #nctuNASA UTF-8 • Autolog • /SET autolog_path ~/tmp/logs/irc-$tag-$0-%Y%m%d • Save configuration • /SAVE
Reference • Irssi • http://irssi.org/ • irssi UTF-8 Big5 中文轉換與設定 • http://blog.seety.org/everydaywork/2005/3/15/253/ • 用 screen + irssi 上 irc 之鄉民版教學 (含Q&A) • http://lzy-blah.blogspot.com/2007/08/screen-irssi-irc-q.html • NA IRC Channel: • #nctuNASA • Password: ILoveCSCC