1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-02 08:25:04 -04:00
hexchat/README

108 lines
3.0 KiB
Plaintext
Raw Normal View History

2012-07-13 23:04:45 -04:00
HexChat README
2011-02-23 22:14:30 -05:00
~~~~~~~~~~~~~
X-Chat ("xchat") Copyright (c) 1998-2010 By Peter Zelezny.
This program is released under the GPL v2 with the additional exemption
that compiling, linking, and/or using OpenSSL is allowed. You may
provide binary packages linked to the OpenSSL libraries, provided that
2012-07-13 23:04:45 -04:00
all other requirements of the GPL are met.
2011-02-23 22:14:30 -05:00
See file COPYING for details.
What is it?
~~~~~~~~~~~
2012-07-13 23:04:45 -04:00
HexChat is an IRC client for UNIX operating systems. I.R.C. is Internet
2011-02-23 22:14:30 -05:00
Relay Chat, see http://irchelp.org for more information about IRC in
2012-07-13 23:04:45 -04:00
general. HexChat runs on most BSD and POSIX compliant operating systems.
2011-02-23 22:14:30 -05:00
Requirements:
~~~~~~~~~~~~~
2012-07-14 14:50:00 -04:00
* GTK+ 2.10 (this is available at http://www.gtk.org)
* GLib 2.12 (GTK+ 2.10 requires GLib 2.12)
2011-02-23 22:14:30 -05:00
2012-07-13 23:04:45 -04:00
HexChat is known to work on, at least:
2011-02-23 22:14:30 -05:00
* Linux
* FreeBSD
* OpenBSD
* NetBSD
* Solaris
* AIX
* IRIX
* DEC/Compaq Tru64 UNIX
* HP-UX 10.20 and 11
* MacOS X
* Windows XP/2000/Vista/7
Notes for packagers:
~~~~~~~~~~~~~~~~~~~~
If you need your packages to work on i386, you don't need to compile with
--disable-mmx, because it's also checked at run-time.
Python Scripts:
~~~~~~~~~~~~~~~
Scripts for 1.8.x are not compatible, and a brand new interface has be
written. Documentation can be found here: http://xchat.org/docs/.
Consider using the Python interface for your scripts, it's a very nice
API, allows for loading/unloading individual scripts, and gives you
almost all the features of the C-Plugin API.
Perl Scripts:
~~~~~~~~~~~~~
2012-07-14 14:50:00 -04:00
Perl 5.8 or newer is required.
2011-02-23 22:14:30 -05:00
Scripts for 1.8.x are compatible with the following exceptions:
* IRC::command will not interpret %C, %B, %U etc.
* user_list and user_list_short:
If a user has both op and voice, only the op flag will be 1.
* add_user_list/sub_user_list/clear_user_list
These functions do nothing.
* notify_list
Not implemented. Always returns an empty list.
* server_list
Lists servers that are not connected aswell.
* Some print events may have new names and some were added.
* Text printed by scripts must now be UTF8.
* Text passed to scripts (via add_message_handler) will be encoded in UTF8.
Autoloading Perl Scripts and Plugins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2012-07-13 23:04:45 -04:00
* HexChat automatically loads, at startup:
2012-07-14 14:23:11 -04:00
~/.config/hexchat/*.pl Perl scripts
2012-07-14 14:50:00 -04:00
~/.config/hexchat/plugins/*.pl Perl scripts
2012-07-14 14:23:11 -04:00
~/.config/hexchat/*.py Python scripts
2012-07-14 14:50:00 -04:00
~/.config/hexchat/plugins/*.py Python scripts
2012-07-14 14:23:11 -04:00
~/.config/hexchat/*.so Plugins
$(libdir)/hexchat/plugins/*.so plugins
(this usually translates to /usr/lib/hexchat/plugins/*.so)
2011-02-23 22:14:30 -05:00
Control Codes:
~~~~~~~~~~~~~~
%% - A single percentage sign
%C - Control-C (mIRC color code)
%B - Bold Text
%U - Underline Text
%R - Reverse Text
%O - Reset all Text attributes
%XXX - ASCII XXX (where XXX is a decimal 3 digit number)
(Eg: %007 sends a BEEP)
%Cforeground,background will produce a color code, eg: %C03,10
These are now disabled by default (see Settings > Prefs > Input Box).
Instead you can insert the real codes via ctrl-k, ctrl-b and ctrl-o.