因为当时我正在看memcached(关于memcached,点击查看),官方提到了memcached的IRC频道。我想进去看看。
HexChat Version 2.12.4
安装
依赖库:Glib-2.50.3、GTK+-2.24.31(推荐)、Lua-5.3.4(推荐)
可选:dbus-glib-0.108, ISO Codes-3.74, libcanberra-0.30, libnotify-0.7.7, OpenSSL-1.0.2k, pciutils-3.5.2, libproxy
构建、安装:
#!/bin/bash ./configure --prefix=/usr # configure 结束之后,会显示要构建的模块。 # ....... # config.status: executing po/stamp-it commands # # HexChat 2.12.4 # # GTK+ interface ........ : yes # Text interface ........ : no (是否支持文字界面(在终端里聊天)。如果要构建,使用--enable-textfe) # Theme manager ......... : no (主题管理。如果要构建,使用--with-theme-manager,并且要安装monodevelop(Homepage: http://www.monodevelop.com/ C#)) # # OpenSSL support ....... : yes # D-Bus support ......... : yes # libnotify support ..... : yes # libcanberra support ... : yes # Plugin interface ...... : yes # libproxy support ...... : yes # # Lua ................... : yes (luajit) # Perl .................. : yes # Python ................ : python-2.7 # # Checksum .............. : yes # FiSHLiM ............... : yes # SysInfo ............... : no # # Debug mode ............ : no # # The binary will be installed in /opt/hexchat/bin # # configure complete, now type 'make' and pray. # make && make install # 安装的程序文件:hexchat、hexchat-text(取决于有没有使用--enable-textfe)
使用
启动界面:
Nick name: 昵称。
Second/Third choice:是备选的昵称。因为在irc里,昵称是不能重复的。
User name:用户名,写不写都行。
Networks: 选择IRC服务器。在全世界,有很多“IRC服务器”专门用来提供IRC聊天功能。freenode是个不错的服务器,我就在这里面。
然后,点击Connect,进入IRC服务器。
点击Connect之后,如果连接freenode成功之后,他会提示你,选择聊天频道,聊天频道名的格式:`#频道名’:
这里我就不选了,点击OK。
如果要进入某个频道,在聊天框中输入如果下命令,比如我要进入 memcache 频道:
/join #memcached
上面的命令会带我们进入,memcached 频道。
有一点要说明以下,memcached的频道在freenode的服务器上,所以只有连接到freenode服务器,才能进入memcached这个频道,当然这里的频道指的是某个特定的频道。世界这么多的IRC服务器并不是互通的,有些频道只在某些服务器上,所以你要到特定的服务器。
修改名称显示长度
在 HexChat 中,如果名称过长,将显示省略号。如果需要显示全部的名称,需要在 Settings / Preferences / Interface / Channel switcher 中,修改 Shorten tab labels to: 字段。
参考文献
Homepage: https://hexchat.github.io/
Doc: https://hexchat.readthedocs.io/en/latest/
Download: https://dl.hexchat.net/hexchat/hexchat-2.12.4-repack.tar.xz
Download List: https://dl.hexchat.net/hexchat/