Version 140 of Tkabber

Updated 2007-10-26 14:44:25 by kostix

What: Tkabber

 Where: http://tkabber.jabber.ru/
 Description: A very complete implementation of Jabber. According to
        http://www.jabber.org/software/clients.shtml
        it is the most complete version of Jabber for Linux.
        Pure Tcl/Tk (uses BWidget, parts of tcllib and optional external packages [http://tkabber.jabber.ru/dependencies]).
        Runs OK on Unix, Win32 and Mac OS X.
 Updated: 10/2007
 Contact: (Alexey Shchepin) <alexey at sevcom net>
 (See also "Getting help" below.)

 Source: http://tkabber.jabber.ru/download
 Subversion repository: http://svn.xmpp.ru/repos/tkabber

 Latest stable release: 0.10.0 (See [http://tkabber.jabber.ru/tkabber-0.10.0] for release highlights)
 Latest beta release: 0.10.1-beta (See [http://tkabber.jabber.ru/node/378] for release highlights)

Official Starpacks are available here [L1 ], they are:

  • Win32 -- based on 8.4.14;
  • Linux (libc6) ix86 -- based on 8.5a4 (so Xft support is here).

Starpacks try to load any files matching the *.kit pattern found in the directory from which the starpack is started and also in the Tkabber configuration directory [L2 ].

Currenttly there are several starkits Tkabber starpacks can work with:

  • Snack sound kit: [L3 ];
  • TkImg kit [L4 ].

The page for official Tkabber starpacks also contains a link to

Starkits

kostix 09-May-2007: The starkits described here are very outdated and actually using anything below 0.9.9 is just not recommended since some changes made in MUC code of Ejabberd (which is used by the biggest XMPP servers worldwide) rendered Tkabber <= 0.9.8 not suitable for proper working with MUC on such servers.

Also custom starpacks/starkits are known to be too trimmed down and have problems with non-Latin-1 character sets. So, for non-Latin-1 users I recommend using "plain" Tkabber plus Tcl/Tk installation suitable for your platform or any official starpack.

kroc 30/03/2004 - My tkabber starkit can be downloaded here http://www.kroc.tk/tclkit/tkabber.0.9.7Starkit.kit

This customized version is based on 0.9.7 with new features (gtklook.tcl, some bugs removed by me, SRIV and PT, custom sounds and icons to match wiki chat needs, etc..). It also can source glob matching tls*.kit and/or snack*.kit starkits from launch dir or ~/.tkabber if available. See http://mini.net/sdarchive to get wanted packages (snack is for sound support and tls for SSL).

PT 03-Mar-2006: The tkabber-pat.kit at [L5 ] is tracking the CVS development of tkabber. It includes a handful of plugins that provide features from tkchat including support for downloading the history from the Tclers chat and support for the /tip, /bug and /google commands. It also supports tkchat colours and the babelfish translation menu that was in tkchat.

kostix 25-Jun-2006: The Tkabber plugin for tkchat functionality maintained by PT can be downloaded from his stie [L6 ] for use in any Tkabber installation.

Also Tkabber 0.10.0 has this plugin included among its official plugins (it contains some modifications).


Tkabber plugins

Tkabber has over 20 "third-party" (non-official) plugins which are collected here [L7 ]. Unfortunately, due to some bias in the Tkabber community (all these plugins were developed by Russian-speaking people) the page is in Russian. We expect it being translated to English, eventually, so stay tuned.


Getting help

Some resources to help you with Tkabber are available:

Mailing Lists

Tkabber chatrooms

* Official Tkabber chatroom:

 [email protected]

English and Russian are accepted; user bigote also speaks Spanish.

* Spanish Tkabber chatroom:

 [email protected]

Wiki pages

* Russian Wiki pages (pretty exhaustive): [L8 ]

They are expected to be translated at least to English in the future.

* Spanish Tkabber Web site: [L9 ]


Connection to jabber

To connect to the jabber network you need to create an account on a public jabber server. If your primary aim is to join the tclers chat, then jabber.org or perhaps amessage.info. There a list of public servers at [L10 ] (if you have to work around a web-proxy see below). Fill in the login dialog with your chosen username and password for the selected server. The resource item doesn't matter but you are advised to use hashed passwords. The other pages can be left with their default settings. If tls is available then a tls tab will be present and you can select Use SSL to use a secure link.

Once you are connected you'll want to join the tcl chat. Select the Services->Join group menu item and provide a nick-name for use in this chatroom and set the group to tcl. This is a jabber groupchat that is linked to the tcl irc channel. If you prefer there is also a general irc gateway at tcl%irc.freenode.net on server irc.e.jabber.ru.

Kroc - 28 Jun 2004 This also work with #tcl%irc.freenode.net on server irc.jabber.org.uk (easiest to reach than irc.e.jabber.ru). If you can't connect, change your conference nick: maybe someone use the same nick on freenode.

If you have to deal with a web-proxy then it's useful to know that one of the public jabber servers is listening on port 80 and port 443. If you need to use this server, you should create your account on jabber80.com and use SSL and set the SSL port to 443.

Also, jabber.ru has two "special hosts":

  • allports.jabber.ru accepts STARTTLS connections on any port;
  • ssl.jabber.ru accepts "Legacy SSL" connections on port 443.

If you would like to test jabber without creating an account, you can temporarily use [email protected]

 login: tcler
 password: tkabber
 server: jabber.org

kostix: Another solution for dealing with proxies exist: HTTP-polling. AFAIK, Tkabber supports it since 0.9.7. The target server must support this kind of transport plus you should know the port to connect to (usually, it's 5280).

PT - Not many jabber domains support the HTTP polling method. jabber.ru is one that does. To find out you can check for a DNS TXT entry for the _xmppconnect subdomain. eg:

 % dig +short _xmppconnect.jabber.ru txt
 "_xmpp-client-httppoll=http://httppoll.jabber.ru"

which gives us the HTTP endpoint to connect to. Google Talk seems to use something else to tunnel its jabber link over HTTP.

Note that DNS TXT record for HTTP-polling is used very rarely. But if the server software is ejabberd then polling URL is likely to be http://hostname:5280/http-poll/


IM transports

The jabber network is especially good at providing connections to other IM networks. If you have an account on ICQ, MSN, AIM or Yahoo then you can still be present on these networks while using Jabber. For instance, to connect to MSN - select the Services->Browser menu item and enter amessage.info as the JID. You should get a tree with various transports shown. Double-click on the register element under your chosen transport and fill in the dialog that results. For MSN your user id is usually the e-mail address you used to create your MS Passport with. Once you have registered you can send messages and open chats to $userid@$transport.amessage.info

LES: Yes, but not if you log in with the jabber.org server because it doesn't support other IM services. I was about to pluck hair trying to make it work with ICQ before I realized that. Check the features available in each server here: [L11 ]. BTW, I still haven't found a server that will support other IM and connect to the Tcl'ers chat. Let me know if you have.

Kroc: jabber.org.uk provides Tcl chatroom access with IRC and IM bridges (check the Discovery screenshot on the bottom of this page).


PT The screenshot of 0.9.7 version can look a bit like this under Windows at the moment.

http://tclsoap.sourceforge.net/tkabber097-winxp.png

Kroc My 0.9.7 starkit version looks a like this under Linux (Tk 8.5 xft-enabled) at the moment.

http://www.kroc.tk/pics/Tkabber097starkit.png


jcw - Neat. It might be an idea to think about adaptive functionality: a convention, whereby a starkit which works just fine by itself would discover other packages that enable more functions (both Snack and TLS would be an example here.

If this were done in a generic manner, such adaptive apps could have a user interface to see what sort of things it can deal with, and perhaps even grab them. In a way this is just another packager/downloader, but the key would be that the process is driven from usage (which is VERY different from todays delayed gratification schemes!). It means you can get an adaptive app and make it work for you right away, but if you want more features you can invest some more time to get them.

Another related idea: a server which serves packages to any adaptive app, located either on the same machine or perhaps on the same LAN. So apps could go and check what packages there are on such a "package server" and grab things on package require (every time). Last step: make the package server be a caching server for a bunch of repositories on the internet, and you have a scalable distribution mechanism: deploy-on-demand?

Anyway... I'm straying a bit from the topic of this page.

SRIV You may be straying from the topic of this page, which we can always move, but, this is a good example of an app that can work without the optional packages if they aren't available. AJB wrote a few line "which" script to find files in your exe path, which I would prefer to use. So, any starkit in your exe path would be available for loading. This makes for simple file placement for beginners on windows or linux, esp if for example, exec'ing the snack.kit would automagically copy itself into the exe path for you.

AJB I posted the which script, which has worked for me in a similar situation.


LES on March 29: Is this a good time to make feature requests or should we wait a little more?


LV You may find that you have difficulty getting the starkit mentioned above to use snack.kit. I did - and in fact I included details of the problem on this page, but those details were deleted. Perhaps this comment will be deleted as well. I just gave up on making use of snack.kit. Then I found more fundamental problems trying to get the above mentioned tkabber starkit to work on my sparc solaris 8 machine, and have quit, for the moment, trying to get it to work. I can't tell if my problem is a technical problem, or just a matter of learning the right way to interact with the app.


See also Coccinella and Jabber


[ Category Application | Category Internet | Category Chat ]