IRC chat room introduction
1. What is XChat.
XChat is an IRC chat client. 2. What IRC is.
Wikipedia: IRC (the abbreviation for Internet Relay chat, "Internet Relay Chat") is an instant chat via the Internet. It is mainly used for group chat, but it can also be used for personal chat. 3. IRC chat room and QQ group what is the difference.
IRC chat room without registration, no need for certification free access, no number of restrictions, and QQ group need to register QQ number, the need for Group approval to join, there are restrictions on the number. IRC is an open protocol, free to set up servers, servers are mostly distributed abroad, while QQ group server by Tencent Control. But these are not the most important, the most important is IRC chat room has a large number of technical channels, countless technical experts in the talk. xchat Screen Chat plugin (osdchat) Introduction 1. Background
Because I am a rookie, in IRC chat room often can't plug words, and stare at the screen to see the master Chat, time will also feel boring. Everyone has seen listening to the desktop lyrics, so I want to have a function, the chat room chat content like the desktop lyrics to display on the screen is good. So I can do my own things (such as browsing the web, writing programs, etc.), while watching the master chat. 2. Technology implementation
XChat chat room software support Plug-ins so that I do not have to do an IRC client, and just do a plugin on it. I usually use the Linux gnome desktop, so I used the GTK interface library. As a XChat plug-in, you can easily receive chat content, just show it to the desktop on it. The most important thing is the display effect, the text hook edge and shadow effect are realized. 3. How to use
Copy the compiled osdchat.so to the ~/.xchat2/. In the XChat Chat window, enter "/osd off" to turn off desktop chat and enter "/osd on" to open the desktop chat. 4. Shortcomings and Improvements
Because this plugin has been only me alone, I hard the code in the program font and size, but also on their own often on the channel UBUNTU-CN and arch-ch respectively hard code green and yellow font, other channels display white font (really bad look, 冏). Expect users to set fonts, sizes, colors, and so on. 5. Source Code
Download 6. Screenshot
Desktop Chat effect (see bottom of screen)