[9819] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Incorrect M-f, M-b handling - problem located

daemon@ATHENA.MIT.EDU (David Hedbor)
Tue Nov 3 21:40:17 1998

To: gtk-list@redhat.com
From: David Hedbor <david@hedbor.org>
Date: 03 Nov 1998 18:39:37 -0800
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hello. I now have more information about the problem I have had with
M-f doing end-of-line, M-b beginning-of-line, and I also know why it
works as expected in the Text widget, but not in the Entry widget.

The problem seems to be in the multibyte code, which is not used in
the Text functions, but in Entry ones. When I set gtk_use_mb to 0 in
gtkmain.c, they work as expected. I am happy with my kludge fix above
(ie force multibyte to be off) since I really don't know how to solve
the problem in any other way (I don't need mb anyway).

It's possible that it might be a bug in my libc (5.4.23). That would
explain why no one else saw the problem (ie different libc).

I hope this helps in finding a better fix (if it's a libc-bug, a
better word would be work-around, like a configure test or something).

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
USENET would be a better laboratory is there were more labor and less oratory.
		-- Elizabeth Haley

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post