summary refs log tree commit diff stats
path: root/COPYING.rtf
blob: d151d38ce6821e3d6b4088c7ead19b0df988e51f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\lang1033\f0\fs20 GNU GENERAL PUBLIC LICENSE\par
\par
Version 2, June 1991\par
\par
Copyright (C) 1989, 1991 Free Software Foundation, Inc.  \par
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\par
\par
Everyone is permitted to copy and distribute verbatim copies\par
of this license document, but changing it is not allowed.\par
\par
Preamble\par
\par
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.\par
\par
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.\par
\par
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.\par
\par
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.\par
\par
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.\par
\par
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.\par
\par
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.\par
\par
The precise terms and conditions for copying, distribution and modification follow.\par
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\par
\par
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".\par
\par
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.\par
\par
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.\par
\par
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.\par
\par
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:\par
\par
    a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. \par
    b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. \par
    c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) \par
\par
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.\par
\par
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.\par
\par
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.\par
\par
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:\par
\par
    a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, \par
    b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, \par
    c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) \par
\par
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.\par
\par
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.\par
\par
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.\par
\par
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.\par
\par
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.\par
\par
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.\par
\par
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.\par
\par
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.\par
\par
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.\par
\par
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.\par
\par
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.\par
\par
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.\par
\par
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.\par
\par
NO WARRANTY\par
\par
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\par
\par
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\par
END OF TERMS AND CONDITIONS\par
How to Apply These Terms to Your New Programs\par
\par
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.\par
\par
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.\par
\par
one line to give the program's name and an idea of what it does.\par
Copyright (C) yyyy  name of author\par
\par
This program is free software; you can redistribute it and/or\par
modify it under the terms of the GNU General Public License\par
as published by the Free Software Foundation; either version 2\par
of the License, or (at your option) any later version.\par
\par
This program is distributed in the hope that it will be useful,\par
but WITHOUT ANY WARRANTY; without even the implied warranty of\par
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\par
GNU General Public License for more details.\par
\par
You should have received a copy of the GNU General Public License\par
along with this program; if not, write to the Free Software\par
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\par
\par
Also add information on how to contact you by electronic and paper mail.\par
\par
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:\par
\par
Gnomovision version 69, Copyright (C) year name of author\par
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details\par
type `show w'.  This is free software, and you are welcome\par
to redistribute it under certain conditions; type `show c' \par
for details.\par
\par
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.\par
\par
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:\par
\par
Yoyodyne, Inc., hereby disclaims all copyright\par
interest in the program `Gnomovision'\par
(which makes passes at compilers) written \par
by James Hacker.\par
\par
signature of Ty Coon, 1 April 1989\par
Ty Coon, President of Vice\par
\par
This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. \par
}

pan>"#q12">2. How do I compile X-Chat on my Sun OS system?</a> <br><br> </p> <h2>2. Section Two: Using X-Chat.</h2> <p> <a href="#q21">1. How do I enable identd in X-Chat? (How do I get rid of the ~ in front of my username?)</a> <br><br> <a href="#q22">2. How do I auto join more than one channel with keys?</a> <br><br> <a href="#q23">3. How do I autoconnect and join a channel when X-Chat loads?</a> <br><br> <a href="#q24">4. How do I cut and paste in X-Chat?</a> <br><br> <a href="#q25">5. How do I connect through a proxy?</a> <br><br> <a href="#q26">6. How do I show @ and + in front of nicknames that are Op and Voice when they talk?</a> <br><br> <a href="#q27">7. How do I change the Op and Voice userlist icons and Tree View icons?</a> <br><br> <a href="#q28">8. How do I set different ban types?</a> <br><br> <a href="#q29">9. Why can't I see accented-letters/umlauts/upper-ascii-chars in X-Chat?</a> <br><br> <a href="#q210">10. Why does the timestamp overlap some nicknames?</a> <br><br> <a href="#q211">11. How do I turn on Conference mode where I will not see join or part messages?</a> <br><br> <a href="#q212">12. How can I run the /dccserver command?</a> <br><br> <a href="#q213">13. Why doesn't DCC send work behind a router (IPNat/ADSL)?</a> <br><br> <a href="#q214">14. How do I execute multiple commands in one line?</a> <br><br> <a href="#q215">15. How do I enable Emacs key bindings in XChat?</a> <br><br> <a href="#q216">16. I get this error: "Unknown file type abc.yz. Maybe you need to install the Perl or Python plugin?"</a> <br><br> <a href="#q217">17. How do I play sound files on certain events?</a> <br><br> <a href="#q218">18. How do I auto-load scripts at startup?</a> <br><br> <a href="#q219">19. How do I minimize X-Chat to the System Tray (Notification Area)?</a> <br><br> <a href="#q220">20. Can I select and copy text with the time stamps?</a> <br><br> <a href="#q221">21. What's the deal with opening URLs in XChat on Linux/Unix?</a> <br><br> <a href="#q222">22. Where are the log files saved to?</a> <br><br> <a href="#q223">23. How do I rotate log files every so often?</a> <br><br> <a href="#q224">24. How do I enable graphical smilies (emoticons)?</a> <br><br> </p> <h2>3. Section Three: Contributions, Development and Bugs.</h2> <p> <a href="#q31">1. Why does X-Chat leak so much memory?</a> <br><br> <a href="#q32">2. My copy of X-Chat crashes, what can I do?</a> <br><br> <a href="#q33">3. Can I write a new language translation for X-Chat?</a> </p> <br><br> <h2>1. Section One: Compiling and Installing.</h2> <br><h3><a name="q11">1. I get this error: /bin/sh: no: command not found</a></h3> <p> If you get an error something like: </p> <blockquote><pre> Making all in po make[2]: Entering directory `/home/zed/xchat/files/xchat-1.8.7/po' file=./`echo ca | sed 's,.*/,,'`.gmo \ &amp;&amp; rm -f $file &amp;&amp; PATH=../src:$PATH no -o $file ca.po /bin/sh: no: command not found make[2]: *** [ca.gmo] Error 127 make[2]: Leaving directory `/home/zed/xchat/files/xchat-1.8.7/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/zed/xchat/files/xchat-1.8.7' make: *** [all-recursive-am] Error 2 </pre></blockquote> <p> It means you don't have GNU gettext installed. There are two solutions: </p> <ul> <li>Install GNU gettext and try again.</li> <li>Use <i>./configure --disable-nls</i>. This will disable foreign language support and all menus and GUI will be in English only.</li> </ul> <br><h3><a name="q12">2. How do I compile X-Chat on my Sun OS system?</a></h3> <p> X-Chat uses GNU gettext which in turn requires gmake, either install that and or use ./configure --disable-nls with Sun's own make. </p> <br><h2>2. Section Two: Using X-Chat.</h2> <br><h3><a name="q21">1. How do I enable identd in X-Chat?</a></h3> <p> <u>UNIX:</u><br> Identd isn't actually apart of X-Chat. You will need to download and install your own ident server. Most distributions, including Fedora, come with an ident server program called oidentd. Make sure it is enabled in /etc/xinetd.conf or read you distribution's documentation. As an alternative, you can try this experimental identd server: <a href="http://xchat.org/auth/">xchat_auth</a> <br><br><u>WINDOWS:</u><br> The win32 version of X-Chat comes with a built-in identd server. It is enabled by default, but can be disabled with <i>/set identd 0</i>. </p> <br><h3><a name="q22">2. How do I auto join more than one channel with keys?</a></h3> <p> In the Server list's channel column enter multiple channels and separate them by commas, eg: "#linux,#warez,#chat". Do not put spaces between the channels. If the channels also have keys (passwords), then the syntax is: "#channel1,#channel2,#channel3 key1,key2,key3" </p> <p> Example: If you want to join #abc and #talk without keys, but #linux with a key of "secret", you would enter: "#linux,#abc,#talk secret". </p> <br><h3><a name="q23">3. How do I autoconnect and join a channel when X-Chat loads?</a></h3> <p> In the Server list, select the Network you want to auto-connect to, click Edit and turn ON the "Auto connect to this network at startup" checkbox. </p> <br><h3><a name="q24">4. How do I cut and paste in X-Chat?</a></h3> <p> It's exactly the same as any other X application. You simply mark the text you want, and then press middle mouse button to paste (if you only have a 2 button mouse, press left and right buttons at once). </p> <br><h3><a name="q25">5. How do I connect through a proxy?</a></h3> <p> Go to the menus, Settings -> Preferences -> Network Setup and fill in the requested information there. Authentication (using a username and password) is only supported for HTTP and Socks5. </p> <br><h3><a name="q26">6. How do I show @ and + in front of nicknames that are Op and Voice when they talk?</a></h3> <p> To display @ and + characters next to nicknames as they talk, do the following: </p> <p> In the menus, open up Settings -> Advanced -> Text Events. Find the <i>Channel Message</i> event in the list. The $3 code can be inserted to print the user's mode-character (e.g. @ or +). For example, you might want to change the default: <br><br>%C18%H&lt;%H$4$1%H>%H%O$t$2<br><br>To: <br><br>%C18%H&lt;%H$4<b>$3</b>$1%H>%H%O$t$2 <br><br>Don't forget to press Enter, so the changes take effect in the list at the top of the window. </p> <br><h3><a name="q27">7. How do I change the Op and Voice userlist icons and Tree View icons?</a></h3> <p> <u>Unix/Linux</u> <br>The default icons are hard coded (compiled) in. You can override them by creating some PNG files in ${PREFIX}/share/xchat. ${PREFIX} is usually /usr, so that would translate to /usr/share/xchat. If you compiled from source tarball without specifying a prefix, it will be /usr/local instead. <br> <br> <u>Windows</u> <br>Your own custom icons can be placed in C:\Program Files\XChat\Icons. Image format may be PNG or ICO. PNG support on Windows 2000 may require installing GDI+, but it's standard on XP or newer. </p> <blockquote> <table border="1" cellpadding="3" rules="all"> <tr bgcolor="#dddddd"><td>Name</td><td>Description</td></tr> <tr><td>op.png</td><td>Userlist: Op</td></tr> <tr><td>hop.png</td><td>Userlist: Half-Op</td></tr> <tr><td>voice.png</td><td>Userlist: Voice</td></tr> <tr><td>red.png</td><td>Userlist: Owner</td></tr> <tr><td>purple.png</td><td>Userlist: Founder</td></tr> <tr><td></td><td></td></tr> <tr><td>server.png</td><td>Tree: Server</td></tr> <tr><td>channel.png</td><td>Tree: Channel</td></tr> <tr><td>dialog.png</td><td>Tree: Dialog/Query</td></tr> <tr><td>util.png</td><td>Tree: Utility (Channel List, DCC etc)</td></tr> <tr><td></td><td></td></tr> <tr><td>message.png</td><td>Tray: Message</td></tr> <tr><td>highlight.png</td><td>Tray: Highlighted Message</td></tr> <tr><td>fileoffer.png</td><td>Tray: DCC</td></tr> <tr><td></td><td></td></tr> <tr><td>xchat.png</td><td>Main XChat icon</td></tr> </table> </blockquote> <br><b>Tree View icons</b>: Type <b>/set tab_icons 1</b> to enable them and then restart XChat. <br> <br><h3><a name="q28">8. How do I set different ban types?</a></h3> <p> Three ways: </p> <ul> <li> Right click the nickname in the userlist, and choose a ban type from the "Kick/Ban" submenu. </li> <li> You can also do it manually: /ban &lt;nick> &lt;ban type> where the &lt;ban type> is a number from 0 to 3. </li> <li> /set irc_ban_type &lt;ban type> sets the default ban type to use for all bans. The different types are: <ul> <li>0 *!*@*.host</li> <li>1 *!*@domain</li> <li>2 *!*user@*.host</li> <li>3 *!*user@domain</li> </ul> </li> </ul> <br><h3><a name="q29">9. Why can't I see accented-letters/umlauts/upper-ascii-chars in X-Chat?</a></h3> <p> Refer to <a href="http://xchat.org/encoding/">http://xchat.org/encoding/</a>.<br> Note: Log files are always written in UTF-8/Unicode. </p> <br><h3><a name="q210">10. Why does the timestamp overlap some nicknames?</a></h3> <p> Some networks allow very long nicknames (up to 32 letters). It can be annoying to have the separator bar move too far to the right, just for one long nick. Therefore, it has a set limit for the distance it will move to the right. If you use a large font, you may need to adjust this distance. It is set in pixels, for example: </p> <blockquote><pre> /set text_max_indent 320 </pre></blockquote> <p> Once you adjust this setting high enough, overlapping timestamps and nicknames should not occur. The adjustment will not take effect immediately, a restart may be needed. </p> <br><h3><a name="q211">11. How do I turn on Conference mode where I will not see join or part messages?</a></h3> <p> Right-click on the tab you want to change. In the submenu of the channel name, there's a toggle-item "Show join/part messages", simply turn this off. </p><p>If you want to turn this option on globally, type:</p> <blockquote><pre>/set irc_conf_mode 1</pre></blockquote> <p>Then all channels you join after setting this will start with "Show join/part messages" turned off.</p> <br><h3><a name="q212">12. How can I run the /dccserver command?</a></h3> <p> In short you can not do this (easily). This is a mIRC only proprietary feature that is quite nonstandard. There is no code for doing this, mainly because /dccserver runs on port 59 which in turn would require running X-Chat as root. Why do you need this anyway? Just use normal DCC. <br><br> Unofficial unix <a href="http://dfx.at/xchat/">patches are available here</a>. <br><br><u><b>Update</b></u>: DCC Server feature has been added in the official Windows release 2.4.1b. </p> <br><h3><a name="q213">13. Why doesn't DCC send work behind a router (IPNat/ADSL)?</a></h3> <p> If you are behind a IP-NAT or ADSL router, you will most likely have an address like 192.168.0.1. This address is not usable on the Internet, and must be translated. </p><p> When offering a DCC file, xchat will tell the receiver your address. If it says 192.168.0.1, the receiver will not be able to connect. One way to make it send your "real" address is to enable the "Get my IP from IRC Server" option in xchat. This option is available in Preferences -> File Transfers. When you turn it ON, you will have to re-login to the server before it'll take effect. </p><p> You will also need to forward some ports for use in DCC send. You may pick almost any port range you wish, for example, in xchat set: </p> <pre> <b>First DCC send port</b>: 4990 <b>Last DCC send port</b>: 5000 </pre> <p> This will allow you to send up to ten files at the same time, which should be plenty for most people. Lastly, configure your router/modem to forward ports 4990-5000 to your PC's address. You'll have to consult your router/modem's manual on how to do this. </p> <br><h3><a name="q214">14. How do I execute multiple commands in one line?</a></h3> <p> There are three ways to do this: </p> <ul> <li>/LOAD -e &lt;textfile>, where &lt;textfile> is a full pathname to a file containing commands on each line.</li> <li> Separate your commands with CTRL-SHIFT-u-a (CTRL-SHIFT-a on older GTK+ and Windows). This will appear as a little box with numbers on it.</li> <li>You can create two UserCommands, with the same name, and then execute the UserCommand. It will be executed in the same order as it's written in the UserCommands GUI.</li> </ul> <br><h3><a name="q215">15. How do I enable Emacs key bindings in XChat?</a></h3> <p> The standard Emacs key bindings, such as CTRL-w, CTRL-u etc, are supported by GTK+ 2.0, but normally disabled. If you run Gnome 2, you can re-enable them in your Gnome menu under: Preferences -> Keyboard Shortcuts. </p> <p> <i>Note</i>: This doesn't work in the latest Gnome (2.8 and newer). In this case, you need to run "gconf-editor", and directly change the key /desktop/gnome/interface/gtk_key_theme from "Default" to "Emacs". Then you need to re-start XChat. </p> <p> If you don't use Gnome 2, but still want Emacs key bindings, it's beyond the scope of this document. You might find some hints here: <a href="http://www.gtk.org/gtk-2.4.0-notes.html">GTK+ 2.4.0 release notes</a>. </p> <br><h3><a name="q216">16. I get this error: "Unknown file type abc.yz. Maybe you need to install the Perl or Python plugin?"</a></h3> <p> If you get this error when trying to load a Perl or Python script, it means the plugin for running those scripts isn't loaded. </p> <ul> <li>The Perl, Python and TCL plugins come with XChat in the same archive.</li> <li>During ./configure, it will check for Perl, Python and TCL libs and headers, you should check if it failed there.</li> <li>The plugins directory can be found by issuing the shell command <pre>xchat -p</pre> </li> <li>All *.so files are auto-loaded at startup (*.dll on Windows).</li> <li>If you downloaded a binary package, maybe the packager decided to exclude the Perl or Python plugins.</li> </ul> <br><h3><a name="q217">17. How do I play sound files on certain events?</a></h3> <p> In the menus, go to: Settings > Preferences > Sound. Select the event you want to make a sound on, then type in a sound filename (or use the Browse button). </p> <br><h3><a name="q218">18. How do I auto-load scripts at startup?</a></h3> <p> You just have to place the scripts into XChat's data directory. XChat will auto-load scripts if they have the right extension .e.g If a filename ends in .pl, it will be loaded as a Perl script. This data directory is different on each platform: <br><br> <u>Windows</u> <br><br> It depends on your version of Windows and where it stores the <i><b>Application Data</b></i> folder. On Windows XP it is usually: <br><br> C:\Documents and Settings\<i><b>username</b></i>\Application Data\X-Chat 2\ <br><b>or simply:</b> <br> C:\Program Files\XChat\Plugins\ <br><br><br> <u>UNIX</u> <br><br> ~/.xchat2/ Where "~" represents your home directory i.e.: $HOME/.xchat2/ </p> <br><h3><a name="q219">19. How do I minimize X-Chat to the System Tray (Notification Area)?</a></h3> <p> There are two plugins available that allow this: <br>Unix: <a href="http://www.blight.tk/">SysTray Plugin</a> <br>Windows: <a href="http://www.sinisterdevelopments.com/">xTray</a> </p> <p> Note that XChat 2.8.0+ has its own tray feature, but you can disable it in <b>Settings &gt; Preferences &gt; Alerts</b> and still run these plugins, if you prefer. </p> <br><h3><a name="q220">20. Can I select and copy text with the time stamps?</a></h3> <p> Yes, but this requires at least XChat 2.6.3. Simply hold down SHIFT while marking the text and the time stamps will be included. </p> <br><h3><a name="q221">21. What's the deal with opening URLs in XChat on Unix/Linux?</a></h3> <p> Right-clicking on a URL and selecting <i>Open Link in Browser</i> will open the link in your "preferred browser". In Gnome, your preferred browser can be changed in System > Preferences > More Preferences > Preferred Applications. <br><br> <b><u>Notes for 2.8.0 or newer:</u></b> <br><br> Everything should just work automatically without any changes from you. Here's how the current logic works: </p> <ul> <li>First, it tries to run xdg-open, which is a universal URL handler from freedesktop.org. Most modern Linux desktops will have this now, or in the near future.</li> <li>If xdg-open doesn't exist, it will try to detect a running Gnome or KDE desktop. This is done via the environment variables GNOME_DESKTOP_SESSION_ID and KDE_FULL_SESSION.</li> <li>If Gnome is detected, it will execute: gnome-open &lt;url></li> <li>If KDE is detected, it will execute: kfmclient exec &lt;url></li> </ul> <p> <b><u>Notes for 2.6.8 or older:</u></b> <br><br> If you're not using Gnome, e.g KDE or some other desktop environment, you're fresh out of luck! <br><u>Note for Debian and Ubuntu</u>: Integration with Gnome is broken on this distro! Please set <i>sensible-browser</i> instead. We have no control over what the Debian packagers do, so complain to them for this screw up. Example: <i>sudo update-alternatives --set x-www-browser /usr/bin/firefox</i> <br><br> <b><u>More details</u></b> <br><br> While holding down CTRL you can single left-click a URL to open it in your preferred browser. If you really want to change this to plain left-click you can type: <b>/set gui_url_mod 0</b>, provided you have XChat 2.6.6 or newer. <br><br> You can also add more items to the right-click menu in XChat: <b>Settings &gt; Advanced &gt; URL Handlers</b>. <br>For example, you could add an entry like <b>!firefox -a firefox -remote 'openURL(%s,new-tab)'</b> <br>But this kind of messing around shouldn't be necessary, it just works automatically in Gnome, KDE and Windows with 2.8.0+! </p> <br><h3><a name="q222">22. Where are the log files saved to?</a></h3> <p> <u>UNIX</u> <br> <br>~/.xchat2/xchatlogs/ <br>where ~ represents your home directory. <br> <br> <br><u>Windows</u> <br> <br><b>Windows XP/2000</b>: C:\Documents and Settings\<i><b>username</b></i>\Application Data\X-Chat 2\xchatlogs <br><b>Windows Vista/7</b>: C:\Users\<i><b>username</b></i>\AppData\Roaming\X-Chat 2\xchatlogs </p> <br><h3><a name="q223">23. How do I rotate log files every so often?</a></h3> <p> Requires: 2.6.1+ <br><br> By default settings, no rotation occurs, your log files will just keep getting larger. <br><br> Go to <b>Settings</b> &gt; <b>Preferences</b> &gt; <b>Logging</b> and change the log filename to any one of these: </p> <blockquote> <table border="1" cellpadding="6" rules="all"> <tr><td><b>Setting</b></td><td><b>Example filename that would be written</b></td></tr> <tr><td>%Y-%m-%d/%n-%c.log&nbsp;</td><td>2006-12-30/FreeNode-#channel.log</td></tr> <tr><td>%n/%Y-%m-%d/%c.log</td><td>FreeNode/2006-12-30/#channel.log</td></tr> <tr><td>%n/%c.log</td><td>FreeNode/#channel.log (no rotation)</td></tr> </table> </blockquote> <p> %Y, %m and %d represents the current year, month and day respectively. %n is the network name, e.g. "FreeNode" or "UnderNet", and finally, %c is the channel. In these examples, a new log filename and folder would be created after midnight. <br><br> You can find more possibilities at <a href="http://xchat.org/docs/log/">http://xchat.org/docs/log/</a>. </p> <br><h3><a name="q224">24. How do I enable graphical smilies (emoticons)?</a></h3> <p> This feature is only available in the official Windows XChat release. You have to TICK this feature during installation. If you didn't do this, you can simply run the installer again, and TICK the "<b>Eye Candy Theme</b>" when given the option. </p><p> If you want to use the graphical theme, but disable it just for smilies (i.e leave it ON for things like Join/Part, Modes etc only), type this command and restart: <br><br> <b>/set text_emoticons off</b> </p> <br><h2>3. Section Three: Contributions, Development and Bugs.</h2> <br><h3><a name="q31">1. Why does X-Chat leak so much memory?</a></h3> <p> The simple answer is, it doesn't! There are some GTK+ pixmap based themes around that leak a lot of memory. Please try using a different theme and see if that resolves the problem. X-Chat itself only allocates about 40kb of memory through malloc()! </p> <br><h3><a name="q32">2. My copy of X-Chat crashes, what can I do?</a></h3> <p> Firstly, make sure it's the latest stable version of X-Chat. Stable versions have an EVEN middle number, e.g.: 2.8.0 or 2.8.1. Often late fixes are placed in this directory: <a href="http://xchat.org/files/source/2.8/patches/">2.8.x patches</a> </p><p> If you still experience crashes, you should consider running it through GDB. This will help us find a fix quickly, and it's easy to do! See <a href="http://xchat.org/gdb/">here</a>. </p> <br><h3><a name="q33">3. Can I write a new language translation for X-Chat?</a></h3> <p> You sure can, but I don't accept translations directly. They must be done through the <a href="http://translationproject.org/domain/xchat.html">Translation Project</a>. All the relevant information should be on that page. </p> </body> </html>