38.5.1. Irssi - a modular IRC client for UNIX
Irssi Chat Client - Your text mode chatting application since 1999.
Irssi 是目前命令行下最好的聊天工具,难得的是这个命令行IRC还一直在更新。
38.5.1.1. 安装 Irssi
sudo apt-get install irssi
进入 irssi 输入irc命令即可
[anni@netkiller ~]$ irssi /connect irc.freenode.net /join #ubuntu,#ubuntuforums,#ubuntu+1 /quit
38.5.1.2. irssi 命令参数
NAME Irssi - a modular IRC client for UNIX SYNOPSIS irssi [-dv!?] [-c server] [-p port] [-n nickname] [-w password] [-h hostname] DESCRIPTION Irssi is a modular Internet Relay Chat client. It is highly extensible and very secure. Being a fullscreen, termcap based client with many features, Irssi is easily extensible through scripts and modules. OPTIONS --config=FILE use FILE instead of ~/.irssi/config. --home=PATH PATH specifies the home directory of Irssi. Default is ~/.irssi -c, --connect=SERVER connects to SERVER -w, --password=PASSWORD use PASSWORD for authentication. -p, --port=PORT automatically connect to PORT on server. -!, --noconnect disables autoconnecting. -n, --nick=NICKNAME specify NICKNAME as your nick. -h, --hostname=HOSTNAME use HOSTNAME for your irc session. -d, --dummy use dummy terminal mode. -v, --version display the version of Irssi. -?, --help show a help message.
常用参数
[root@netkiller ~]# irssi -c irc.freenode.org -n Neo
自动连接并进入频道
/connect irc.freenode.net /nick Neo /NETWORK ADD freenode /SERVER ADD -auto -network freenode irc.freenode.net 6667 /CHANNEL ADD -auto #netkiller freenode
38.5.1.3. network
IRC 网络列表
/NETWORK LIST 20:40 Networks: 20:40 IRCnet: querychans: 5, max_kicks: 4, max_msgs: 5, max_whois: 4 20:40 EFNet: max_kicks: 4, max_msgs: 3, max_whois: 1 20:40 Undernet: max_kicks: 1, max_msgs: 3, max_whois: 30 20:40 DALnet: max_kicks: 4, max_msgs: 3, max_whois: 30 20:40 QuakeNet: max_kicks: 1, max_msgs: 3, max_whois: 30 20:40 OFTC: max_kicks: 1, max_msgs: 3, max_whois: 30 20:40 GameSurge: max_kicks: 1, max_msgs: 3, max_whois: 30 20:40 WebChat: max_kicks: 1, max_msgs: 3, max_whois: 30 20:40 Rizon: max_kicks: 1, max_msgs: 3, max_whois: 30 20:40 LinkNet: max_kicks: 1, max_msgs: 3, max_whois: 30
添加网络
/NETWORK ADD -autosendcmd "/^msg NickServ IDENTIFY password;wait 2000" freenode /network add -nick <your-nick> Freenode
38.5.1.4. server
/server list 20:54 Server Port Network Settings 20:54 eu.irc6.net 6667 IRCnet 20:54 open.ircnet.net 6667 IRCnet 20:54 irc.efnet.org 6667 EFNet 20:54 irc.undernet.org 6667 Undernet 20:54 irc.dal.net 6667 DALnet 20:54 irc.quakenet.org 6667 QuakeNet 20:54 irc.oftc.net 6667 OFTC 20:54 irc.gamesurge.net 6667 GameSurge 20:54 irc.webchat.org 6667 WebChat 20:54 irc.rizon.net 6667 Rizon 20:54 irc.link-net.org 6667 LinkNet
38.5.2. ircII - interface to the Internet Relay Chat system
ircii 是较为古老的命令行IRC,有些版本的Linux包资源中已经下架。例如CentOS yum search ircii 是没有的。
TUI client
$ sudo apt-get install ircii
/etc/irc/servers
remove the string: change_this_in_etc_irc_servers
add default irc server.
172.16.0.1
running irc client
$ irc -c '#system' neo 192.168.3.9
freenode.net
$ irc -c '#debian' neo chat.freenode.net
38.5.3. HydraIRC
http://www.hydrairc.com
38.5.4. XChat
XChat Client
xchat --url=irc://chat.freenode.net/wikipedia-zh xchat --url=irc://irc.freenode.net/trac
-e 可以避免开启多个窗口,新URL将在TAB中打开。
xchat --url=irc://irc.freenode.net/trac -e
38.5.5. F-IRC
http://www.vanheusden.com/f-irc/
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。
时间: 2024-09-24 18:35:56