[Tkabber-dev] r73 - trunk/plugins/ctcomp

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Oct 7 15:52:55 MSD 2007


Author: kostix
Date: 2007-10-07 15:52:54 +0400 (Sun, 07 Oct 2007)
New Revision: 73

Modified:
   trunk/plugins/ctcomp/README
Log:
ctcomp/README: added section describing how to work around a Windows Tk bug related to keybindings.



Modified: trunk/plugins/ctcomp/README
===================================================================
--- trunk/plugins/ctcomp/README	2007-10-06 22:38:56 UTC (rev 72)
+++ trunk/plugins/ctcomp/README	2007-10-07 11:52:54 UTC (rev 73)
@@ -161,7 +161,12 @@
 Specification of keystrokes is explained in [4], all keysyms
 known to Tk are listed in [5].
 
+Note that due to a bug in the Windows port of Tk users of non-US
+keymaps in this OS can have problems with these shortcuts.
+Please read "Working around Tk Windows keyboard bug" below for
+the (partial) solution to this problem.
 
+
 2. Highlighting colors of "in place" completion
 
 Two Tk option database resources are used, both are of class
@@ -299,8 +304,31 @@
 completion prefix.
 
 
-V. Links
+V. Working around Tk Windows keyboard bug
 
+Tk has unfortunate long-standing bug which prevents certain
+key combinations involving "letter keys" from working with
+"non-ASCII" keymaps (e.g. Russian keymap) in Windows.
+For example, C-n, C-p and C-M-/ work when the US keymap is
+active but don't work when a Russian keymap is.
+
+Users of Russian keymaps may add following lines to their
+config.tcl file to work around this bug:
+
+event add <<ChatTextCompNext>> <Control-ograve>
+event add <<ChatTextCompPrev>> <Control-ccedilla>
+event add <<ChatTextCompMenu>> <Control-Alt-period>
+
+This will make C-n, C-p and C-M-/ to work as expected on both US
+and Russian ("QWERTY") keymaps.
+
+Note that if you change the default bindings you may also need
+to modify these "mirror" bindings. Please refer to the Russian
+Tkabber wiki [8] for more info.
+
+
+VI. Links
+
 1. http://vim.sf.net
 2. http://www.gnu.org/software/emacs/
 3. http://www.tcl.tk/man/tcl8.4/TkCmd/event.htm
@@ -308,6 +336,7 @@
 5. http://www.tcl.tk/man/tcl8.4/TkCmd/keysyms.htm
 6. http://www.tcl.tk/man/tcl8.4/TclCmd/re_syntax.htm
 7. http://tkabber.jabber.ru/files/doc/tkabber.html#s.extensibility
+8. http://ru.tkabber.jabe.ru
 
 
 # vim:tw=64:noet



More information about the Tkabber-dev mailing list