I tracked down the double letter bug to LyXFunc::processKeyEvent and
this fix seems to work (but should certainly be double checked!!)

-- 
Kayvan Aghaiepour Sylvan  | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan |                       | Robin Gregory (2/28/92)
Index: src/lyxfunc.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.5
diff -u -r1.5 lyxfunc.C
--- src/lyxfunc.C       1999/10/20 14:35:05     1.5
+++ src/lyxfunc.C       1999/10/23 04:28:14
@@ -186,7 +186,7 @@
 int LyXFunc::processKeyEvent(XEvent *ev)
 {
        char s_r[10];
-       s_r[9] = '\0';
+       s_r[0] = '\0';
        int num_bytes;
        int action; 
        string argument;
@@ -285,7 +285,6 @@
                if (!(keyevent->state&ControlMask) &&
                    !(keyevent->state&Mod1Mask) &&
                    (isochar && keysym_return < 0xF000)) {
-                       argument = s_r[0]; // shall this be here
                        argument += isochar;
                }
                if (argument.empty()) {

Reply via email to