Organized from: http://my.oschina.net/soge1988/blog/1856
Related links:
Http://irssi.org/documentation
Http://hi.baidu.com/suzp1984/blog/item/aa134b4fcb368ec1d1c86a2b.html
Http://lnote.blogbus.com/logs/8182581.html
Http://quadpoint.org/articles/irssisplit and http://quadpoint.org/articles/irssi
1. log on to/usr/local/bin/irssi -circ.freenode.net-p7000-naisaer.
Or
Irssi --/connect irc.freenode.net port 7000.
2. Modify the nickname:
/Nick Apple
3. Join the chat channel:
/Join # Fedora
If the channel requires a password,
/Join # fedora Password
4. Exit A single channel:
/WC
5. Leave an IRC server
/Disconnect irc.freenode.net
6. [Act: 1, 3, 6, 9, 10]
These numbers indicate the conversation on each channel: the gray color indicates that someone has logged on or logged out, the white color indicates that someone is talking on this channel, and the gray red indicates that someone has mentioned your name or called you.
7. Switch to the corresponding IRC channel to view:
Alt + 1 ~ 0 corresponds to 1 ~ The IRC channel number of 10;
Alt + q ~ P corresponds to 11 ~ The IRC channel number of 20;
CTRL + N/P switch the previous/next IRC channel;
Pageup/pagedn switches the up/down page message.
8. transcoding:
/Recode add # fedora utf8
Add the channel encoding format and/recode to view the added encoding list.
9. connect multiple IRC servers:
/Connect irc_server
You can connect to a new IRC server. Alt + 1 switches to the First Special channel, and then Ctrl + x switches to the current irc_server.
10. view the channel owner:/WHO
11. View someone's basic information:/whois nickname
12. Send a private message to someone/MSG nickname ......
13. Speak to someone/say nickname ......
14. automatically save IRC log/set autolog on
15. After irssi is started, the IRC server and IRC channel are automatically connected. Assume that you want to automatically use the apple nickname to connect to the # fedora:/network add-Nick Apple freenode on the IRC server of freenode.
/Server add-auto-network freenode irc.freenode.net 7000
/Channel add-auto # fedora freenode
Change the IRC channel that requires key/password:
/Channel add-auto # fedora freenode Password
If you need to automatically authenticate the registered nickname (set the password to ABCDE):/network add-autosendcmd "/^ MSG nickserv ident ABCDE; wait 2000" freenode
========================================================== ====================================
1. Installing irssi is powerful in many scripts, but it is written in Perl. Therefore, install irssi-scriptsudo aptitude install irssi-scripts.
2. Automatic irssi Configuration
Only Ubuntu-CN is configured, so irssi is configured to automatically log on to the server and add to the channel after running. /Server add-auto-network freenode irc.freenode.net 6667
/Network add-Nick <your own name> freenode
/Network add-autosendcmd "/^ MSG nickserv identify <your own password>; wait 2000" freenode
/Channel add-auto # Ubuntu-CN freenode
3. irssi command
Open a terminal and enter irssi to enter her character interface.
Log on to the IRC server/connect <server address> <port>
Or enter irssi-C <server address>-P <port>
Obtain irssi Command help/help
/Help connect # Get help with the connect command
Window operation Alt + 1 .. 0 # Switch window
CTRL + P, N # previous window, next window
/Window close # Close the current window
/Window close <number> # Close the window with the specified number
/Window list # window list
4. IRC command/Nick <nickname> # Change nickname
/Whois <nickname> # View others' information
/Ignore <nickname> # ignore someone's chat content
/List # channel list
/Join # Add a channel
/Part [Channels] [Message] # exit the channel. Exit the current channel without the channel name. You can follow the exit reason later.
/Me # information about yourself
5. Server commands (services)
The server is divided into three types: chanserv (Channel service), nickserv (nickname service), and memoserv (message service. /MSG chanserv # channel service
/MSG chanserv help # obtain channel service help information
/MSG nickserv # nickname Service
/MSG nickserv help # obtain nickname service help information
/MSG memoserv # Message Service
/MSG memoserv help # Get the message service help information
Server commands may vary with servers. For more information, see related documents.
From: robot5's blog IRC software irssi
========================================================== ====================================
Add:
1. Use scripts
here you can download the scripts you want. You can use it on the download page.
I have used two scripts: nicklist. PL and nickcolor. pl: use screen irssi to start irssi from the terminal, and then/nicklist screen, ALT + 1, alt + 2 then we can see a list of users in xchat on the right.
or screen irssi # use screen to input
/script load nicklist. PL # Call the nicklist script
/nicklist screen
/set nicklist_automode screen # Add this field if you do not want to input the screen every time you enter the page.
2. Use theme
You can download your favorite theme from here. You can use theme on the download page and try it on your own.
3. ModifyReal_name, user_name, Nick
Modify ~ /. In the config file under irssi, find the bold part of this section. Settings = {
Core = {
Real_name ="Element Ren";
User_name ="Element";
Nick ="Element";
};
"Fe-text" = {actlist_sort = "refnum ";};
"Fe-Common/core" = {
Theme = "revolutionaryv3.theme ";
Autolog = "yes ";
Autolog_path = "~ /. Irssi/irclogs/% Y/$ tag/$0. % m-% d. log ";
Autolog_colors = "yes ";
};
"Perl/CORE/scripts" = {nicklist_automode = "screen ";};
};
In fact, you can see some simplified commands in config: aliases = {
J = "join ";
Wjoin = "Join-window ";
Wquery = "query-window ";
Leave = "part ";
Bye = "quit ";
Exit = "quit ";
Signoff = "quit ";
Describe = "action ";
Date = "time ";
Host = "Userhost ";
Last = "lastlog ";
Say = "MSG *";
Wi = "whois ";
Wii = "whois $0 $0 ";
WW = "whowas ";
W = "who ";
N = "names ";
M = "MSG ";
T = "topic ";
C = "clear ";
CL = "clear ";
K = "kick ";
KB = "kickban ";
KN = "Knockout ";
Bans = "ban ";
B = "ban ";
Mub = "unban *";
UB = "unban ";
IG = "Ignore ";
Unig = "unignore ";
SB = "scrollback ";
Umode = "Mode $ N ";
WC = "window close ";
Wn = "window new hide ";
SV = "say irssi $ J ($ V)-http://irssi.org /";
Goto = "SB goto ";
Chat = "DCC chat ";
Run = "script load ";
Calc = "Exec-If which BC &>/dev/null \\; then ECHO '$ *' | BC | awk '{print \ "$ * = \" $1}' \; else echo BC was not found \; fi ";
Sbar = "statusbar ";
Invitelist = "Mode $ C + I ";
Q = "query ";
"Manual-Windows" = "set use_status_window off; Set autocreate_windows off; Set autocreate_query_level none; Set autoclose_windows off; Set reuse_unused_windows on; save ";
Exemptlist = "Mode $ C + E ";
ATAG = "window server ";
};
========================================================== ====================================
Operations on/windows in irssi:
To open other channels, you must first create a new window and container,
/Window new, and then use/window stick 2 off,/window hide to hide the two newly created windows so that more windows can share a container.
You can use Ctrl + N, P, or Alt + 1 or 2 to switch the window .,
It is generally used in the newly created window
/Connect irc.xxxx.net
/Join # Channels
You can link to a new channel.
You can use the following command to configure irssi for the first time.
/Network add-autosendcmd "/^ MSG nickserv identify passwd; wait 2000" oftc
/Server add-auto-network oftc irc.oftc.net 6667
/Channel add-auto # arch-CN oftc
In this way, you can log on automatically. The first command above indicates that you have registered an account with its server!
How to register an account First, connect to the server and use/connect server-name
1./Nick <Name>
Select a user without duplicate names. (Duplicate names will prompt)
2./MSG nickserv register <password> <E-mail>
After passing the email authentication:
3./MSG nickserv identify <password>
Use log:
1. Use the pgup and pgdn keys to record pages.
2./goto 12: 00,/goto end
3./lastlog nickname to view what nickname says!
4. temporarily leave/away and view chat records during the departure period.
-------------
[Daily operations]
(1)/Nick <nickname>, modify nickname
(2)/join # <channel>, add a channel
(3)/WC, exit the current channel
(4)/Part <channel> <message>: exit the channel. Exit the current channel without the channel name. You can follow the exit reason later.
(5)/disconnect <Server>, disconnect a server
(6) Exit irssi at/quit or/exit to end the IRC session.
(7)/MSG <nickname> <message>, send a private message to someone (new window)
(8)/query <nickname> <message>, send a private message to someone (new window and switch to this window)
(9)/say <nickname> <message>, speak to someone (do not open a new window)
(10)/notice <nickname> <message>, send a notice message to the specified person
(11)/mE <action>, which is performed in the current chat room window. If you make a fainting action:/me fainting
(12)/away <reason>. Leave a message indicating that you are leaving temporarily. When someone sends you a private chat, the message will be returned, and then enter/away again (No parameter is specified) is removed.
(13)/ignore <nickname>, ignoring someone's chat content
(14)/set autolog on, automatically saving chat records
Window operation]
(1) alt + 1 ~ 0, corresponding to 1 ~ Channel Number of 10
(2) alt + q ~ P, corresponding to 11 ~ Channel Number of 20
(3) Ctrl + N/P, switch to the upper/lower Channel
(4) Pageup/pagedn, switch the top/Bottom page message
(5)/window close, close the current window
(6)/window close <number>, close the window with the specified number
(7)/window list, window list
[Query Information]
(1)/list, channel list
(2)/Names [# chat room] to list the names of all the persons on the current server or in the specified chat room (hidden persons cannot be listed)
(3)/WHO, view the channel owner
(4)/whois [nickname] to view the basic information of a person
(5)/ISON <alias 1> <alias 2>... query whether the specified alias is online
(6)/info: Query Server Information
(7)/admin: query the admin on the current server
(8)/lusers: Query statistics on the current server
(9)/motd: query the statistics of the current server today
(10)/links: query the current server and parse several servers.
[Prompt information]
[Act: 1, 3, 6, 9, 10]: These numbers indicate conversations on each channel: [gray-white] indicates that someone has logged on or logged out, and [White] indicates someone has spoken on this channel, [highlighted in red] indicates your name or call you in the conversation.
[Conversion code]
/Recode add # <channel> <encoding>, add the channel encoding format
/Recode to view the added encoding list