个人工具

“UbuntuHelp:XChatHowto”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/XChatHowto}} {{Languages|php5}} Parent: Internet and Networking == The world of IRC with X-Chat == IRC is ...)
 
 
(未显示2个用户的9个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/XChatHowto}}
 
{{From|https://help.ubuntu.com/community/XChatHowto}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:XChatHowto}}
 
Parent: [[UbuntuHelp:InternetAndNetworking| Internet and Networking]]
 
Parent: [[UbuntuHelp:InternetAndNetworking| Internet and Networking]]
 +
== Introduction & Screenshot ==
 +
XChat is a graphical Internet Relay Chat (IRC) client for chat room and instant messaging use. It supports multiple channels, has a variety of plugins, and has versions for the major operating systems. There is also [[UbuntuHelp:XChat-GNOME|XChat-GNOME]], a version of XChat with a simpler GUI and fewer options.
 +
IRC is commonly used in the open source community. There are many IRC networks, such as Freenode, EFnet and Undernet, each of these have many chat channels (equivalent to chat rooms), such as #debian, #ubuntu, #physics. Most open source projects such as Ubuntu have at least one channel where you can ask for help.
 +
To connect to an IRC server you need an IRC client. Ubuntu's default client is irssi, which lacks a graphical interface. If you want a simple to use, GUI client, install XChat which can be found in the Universe Repositories.
 +
https://help.ubuntu.com/community/XChatHowto?action=AttachFile&do=get&target=xchat.screenshot.png
 +
== Installation & Starting XChat ==
 +
XChat is not installed by default. It is located in the ''Universe'' section of the Ubuntu repositories. Install XChat by opening Synaptic (''System, Administration, Synaptic Package Manager'') and highlighting ''xchat''. XChat and it's associated packages will be installed when the user selects ''Apply''.  XChat can also be installed via terminal with the command: `sudo apt-get install xchat`.  ''[[UbuntuHelp:XChat-GNOME|XChat-GNOME]]'' is also in the ''Universe'' repository and is listed as ''xchat-gnome''.
 +
1. To start ''XChat'': '''Applications -> Internet -> XChat IRC''' or you can run the following command in the terminal: `xchat`.
  
 
+
== Configuring XChat & Connecting to a Server ==
== The world of IRC with X-Chat ==
+
=== Configuration ===
 
+
{|border="1" cellspacing="0"
IRC is the Internet Relay Chat protocol, a chat room and instant messaging system. It is commonly used in the open source community. There are many IRC networks, such as Freenode, EFnet and Undernet, each of these have many chat channels (equivalent to chat rooms), such as #debian, #ubuntu, #physics. Most open source projects such as Ubuntu have at least one channel where you can ask for help.
+
|https://help.ubuntu.com/community/XChatHowto?action=AttachFile&do=get&target=xchat.network3.png||rowspan=2| ||rowspan=2|https://help.ubuntu.com/community/XChatHowto?action=AttachFile&do=get&target=xchat.edit.png
 
+
|-
To connect to an IRC server you need an IRC client. Ubuntu's default client is irssi, which lacks a graphical interface. If you want a simple to use, GUI client, install xchat:
+
|Select the Server List and Complete the User Information:
sudo apt-get install xchat
+
|-
 
+
|  || ||Enter Channel & Password Information:
=== Starting X-Chat and connecting to an IRC server ===
+
|}
 
+
1.#2 Network List
Open XChat:
+
Applications -> Internet -> XChat IRC
+
or run the command:
+
xchat
+
 
+
This will open the Server List.
+
 
+
You will need to fill in some User Information:
+
 
+
 
* Nick Name: Use a unique, non offensive name.
 
* Nick Name: Use a unique, non offensive name.
 
* Second Choice: If your nick name is taken this will be used.
 
* Second Choice: If your nick name is taken this will be used.
 
* Third Choice: If you first and second are taken, you have a third choice. If all three are taken you may need to try some more names, or the server might choose something for you.
 
* Third Choice: If you first and second are taken, you have a third choice. If all three are taken you may need to try some more names, or the server might choose something for you.
* User Name: Gives you an ident in your hostname for example: [email protected]  
+
* User Name: A name to go with your hostname (for example: [email protected]). (Optional)
* Real Name: Your real name, you do not have to fill this in.
+
* Real Name: Your real name (Optional)
 +
* Networks: The Ubuntu channels are located on '''Freenode'''. You may also select '''Ubuntu Servers''' if presented with that option.
 +
* The common Ubuntu help channel is #ubuntu.
 +
* Go to the following page for a [[UbuntuHelp:InternetRelayChat|list of available Ubuntu channels]].  
 +
<ol><li>Edit Server</li></ol>
  
There are many different IRC networks, but the #ubuntu channel is on [http://en.wikipedia.org/wiki/Freenode Freenode].
+
* Access this page by selecting ''Edit'' after highlighting the desired server.
 
+
* In ''Favorite Channels'', the user can preselect IRC channels to join on connecting. Multiple channels may be entered, separated by a comma. ''Do not use spaces between channels''. Example: #ubuntu,#ubuntu-beginners-help,#kubuntu
The Ubuntu Server network is a short cut to #ubuntu on freenode. If you select it and click connect you will be taken to the Ubuntu chat room. This is a good place to ask for help with ubuntu.
+
* If you have registered, you may place your Freenode password in the ''Nickserv'' password block to allow automated password entry on log on.
 
+
Complete configuration instructions can be found on the [http://xchat.org/docs/ XChat.org Help pages].
You can register your nickname after connecting by typing the following command:
+
=== Connecting to Ubuntu IRC ===
 +
* Once you have properly configured XChat, log on to Freenode by clicking the ''Connect'' button on the Network List page.
 +
* You can join additional channels by typing the following. This example joins the ''kubuntu'' IRC channel:
 +
<pre><nowiki>
 +
/join #kubuntu
 +
</nowiki></pre>
 +
* Once your nickname is accepted you can register your nickname by typing the following command in XChat
 +
<pre><nowiki>
 
/ns register <password>
 
/ns register <password>
 
+
</nowiki></pre>
''' Settings for Networks'''
+
* If you want to associate your email address with your nickname (in case you lose your password) just type this command in XChat
 
+
<pre><nowiki>
 +
/msg NickServ set email [email protected]
 +
</nowiki></pre>
 +
=== Settings for Networks ===
 
You may want to put in special settings for a particular network, such as auto-joining a certain room, or passwords.
 
You may want to put in special settings for a particular network, such as auto-joining a certain room, or passwords.
 
 
Select a server and click edit.
 
Select a server and click edit.
 
+
* Server Password: Where your nickserv password goes.
* Server Password, put your nickserv password here.
+
* Join channels: This automates connecting to your favorite channel(s).
* Join channels: This automates connecting to your favorite channel(s), we like automatic :).
+
* Connect command: Some times you might want a send a command to the server when you join.
* Connect command: Some times you might want a send a command to the server when you join.  
+
* Nickserv password: Don't use this field on Freenode.
* Nickserv password: Don't use this field on freenode
+
 
* Character Set: UTF-8 is recommended
 
* Character Set: UTF-8 is recommended
 
+
=== Connecting to a Server ===
Press '''Connect''' to connect to the server. It is possible to connect ot more then one server in the same time, you should press **Connect in New Tab** in that case.
+
Press '''Connect''' to connect to the server. It is possible to connect to more then one server in the same time, you should press '''Connect in New Tab''' in that case.
 
+
Once connected, you can view a list of all available channels on the server from the main menu: ''Server, List of Channels, Download List''. The list can be quite large; filters make searches for a specific channel much easier.
 
=== How to use XChat ===
 
=== How to use XChat ===
 
+
Using ''XChat'' is really simple, just start typing and join the online Ubuntu community. If you have no experience with IRC read [http://www.irchelp.org/irchelp/new2irc.html An introduction to IRC]
Using XChat is really simple, just start typing and join the online Ubuntu community. If you have no experience with IRC read [http://www.irchelp.org/irchelp/new2irc.html An introduction to IRC]
+
https://help.ubuntu.com/community/XChatHowto?action=AttachFile&do=get&target=xchat.online1.png}
 
+
Once XChat is connected, the main menu bar appears. XChat is highly customizable. In this screenshot, note the menu bar at the top, the tabbed channels at the bottom, and the white text box where the user types messages for transmission to the IRC channel. Colored nicks can be enabled via ''Settings, Preferences, Interface, Text Box'' setting. Changes take effect when XChat is restarted.
Hope to see you soon!
+
To leave a single channel, right click on the tab and select ''Close'', or type `/part` in the message window. To log off all connected channels, exit XChat or from the main menu: ''Server, Disconnect''.
 
+
== External Links ==
=== Links ===
+
* [[UbuntuHelp:FixDCCExploit| Important information about a DCC exploit and how to protect yourself from it.]]
+
 
* [http://www.xchat.org/docs/ The official XChat documentation]
 
* [http://www.xchat.org/docs/ The official XChat documentation]
 +
* [[UbuntuHelp:InternetRelayChat|InternetRelayChat]] The Ubuntu IRC Channels
 
* [http://www.irchelp.org/irchelp/new2irc.html An introduction to IRC]
 
* [http://www.irchelp.org/irchelp/new2irc.html An introduction to IRC]
 
* [http://freenode.net/faq.shtml FreeNode Frequently asked questions]
 
* [http://freenode.net/faq.shtml FreeNode Frequently asked questions]
* [[UbuntuHelp:InternetRelayChat| Info about Ubuntu IRC channels]]
+
* [http://xchat.org/docs/plugin20.html XChat 2.0 Plugin Interface] provides plugin documentation and links
 +
* [[UbuntuHelp:FixDCCExploit| Important information about a DCC exploit and how to protect yourself from it.]]
 +
== Plugins ==
 +
* [http://ubuntuwin.blogspot.com/search/label/bookdcc  BookDCC - With this plugin you'll be able to manage your download and your bookmarks]
 
----
 
----
 
+
* [[UbuntuHelp:XChatHowto/PageDiscussion|Discuss this page]] and tell us how it could be improved. Or simply [[UbuntuHelp:XChatHowto?action=edit&editor=text|edit]] it yourself!
CategoryCleanup CategoryDocumentation
+
* See who's made [[UbuntuHelp:XChatHowto?action=info|recent|edits to this page]].
 +
----
 +
[[category:CategoryApplications]] [[category:CategoryInternet]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 21:21的最新版本

Parent: Internet and Networking

Introduction & Screenshot

XChat is a graphical Internet Relay Chat (IRC) client for chat room and instant messaging use. It supports multiple channels, has a variety of plugins, and has versions for the major operating systems. There is also XChat-GNOME, a version of XChat with a simpler GUI and fewer options. IRC is commonly used in the open source community. There are many IRC networks, such as Freenode, EFnet and Undernet, each of these have many chat channels (equivalent to chat rooms), such as #debian, #ubuntu, #physics. Most open source projects such as Ubuntu have at least one channel where you can ask for help. To connect to an IRC server you need an IRC client. Ubuntu's default client is irssi, which lacks a graphical interface. If you want a simple to use, GUI client, install XChat which can be found in the Universe Repositories. XChatHowto?action=AttachFile&do=get&target=xchat.screenshot.png

Installation & Starting XChat

XChat is not installed by default. It is located in the Universe section of the Ubuntu repositories. Install XChat by opening Synaptic (System, Administration, Synaptic Package Manager) and highlighting xchat. XChat and it's associated packages will be installed when the user selects Apply. XChat can also be installed via terminal with the command: `sudo apt-get install xchat`. XChat-GNOME is also in the Universe repository and is listed as xchat-gnome. 1. To start XChat: Applications -> Internet -> XChat IRC or you can run the following command in the terminal: `xchat`.

Configuring XChat & Connecting to a Server

Configuration

XChatHowto?action=AttachFile&do=get&target=xchat.network3.png XChatHowto?action=AttachFile&do=get&target=xchat.edit.png
Select the Server List and Complete the User Information:
Enter Channel & Password Information:

1.#2 Network List

  • Nick Name: Use a unique, non offensive name.
  • Second Choice: If your nick name is taken this will be used.
  • Third Choice: If you first and second are taken, you have a third choice. If all three are taken you may need to try some more names, or the server might choose something for you.
  • User Name: A name to go with your hostname (for example: [email protected]). (Optional)
  • Real Name: Your real name (Optional)
  • Networks: The Ubuntu channels are located on Freenode. You may also select Ubuntu Servers if presented with that option.
  • The common Ubuntu help channel is #ubuntu.
  • Go to the following page for a list of available Ubuntu channels.
  1. Edit Server
  • Access this page by selecting Edit after highlighting the desired server.
  • In Favorite Channels, the user can preselect IRC channels to join on connecting. Multiple channels may be entered, separated by a comma. Do not use spaces between channels. Example: #ubuntu,#ubuntu-beginners-help,#kubuntu
  • If you have registered, you may place your Freenode password in the Nickserv password block to allow automated password entry on log on.

Complete configuration instructions can be found on the XChat.org Help pages.

Connecting to Ubuntu IRC

  • Once you have properly configured XChat, log on to Freenode by clicking the Connect button on the Network List page.
  • You can join additional channels by typing the following. This example joins the kubuntu IRC channel:
/join #kubuntu
  • Once your nickname is accepted you can register your nickname by typing the following command in XChat
/ns register <password>
  • If you want to associate your email address with your nickname (in case you lose your password) just type this command in XChat
/msg NickServ set email [email protected]

Settings for Networks

You may want to put in special settings for a particular network, such as auto-joining a certain room, or passwords. Select a server and click edit.

  • Server Password: Where your nickserv password goes.
  • Join channels: This automates connecting to your favorite channel(s).
  • Connect command: Some times you might want a send a command to the server when you join.
  • Nickserv password: Don't use this field on Freenode.
  • Character Set: UTF-8 is recommended

Connecting to a Server

Press Connect to connect to the server. It is possible to connect to more then one server in the same time, you should press Connect in New Tab in that case. Once connected, you can view a list of all available channels on the server from the main menu: Server, List of Channels, Download List. The list can be quite large; filters make searches for a specific channel much easier.

How to use XChat

Using XChat is really simple, just start typing and join the online Ubuntu community. If you have no experience with IRC read An introduction to IRC https://help.ubuntu.com/community/XChatHowto?action=AttachFile&do=get&target=xchat.online1.png} Once XChat is connected, the main menu bar appears. XChat is highly customizable. In this screenshot, note the menu bar at the top, the tabbed channels at the bottom, and the white text box where the user types messages for transmission to the IRC channel. Colored nicks can be enabled via Settings, Preferences, Interface, Text Box setting. Changes take effect when XChat is restarted. To leave a single channel, right click on the tab and select Close, or type `/part` in the message window. To log off all connected channels, exit XChat or from the main menu: Server, Disconnect.

External Links

Plugins