Click to See Complete Forum and Search --> : a tricky


miaochen
06-08-2003, 11:21 AM
I use red hat linux 8.0, the version of XFree86 is 4.0.3 and the desktop manager is Gnome.
I encounter a triky . When I input letter of bidirection text ,for example Arbic, in X windows, there are two cursors ,one is in normal position,at the end of line.the other is in the begining of line . the two cursors are all visible at the same time . When the letter of bidirection is inputed , it will be displayed before the first cursor ,then the first cursor move ahead , and the end cursor is still at the end of line , wheares when I input the English letter a,b,c, these letter will be displayed , in a normal mode ,after the end cursor and the cursor move backward . In these two courses of font's input ,show . the two cursor are always visible and glitter . I don't know why there are two cursors .
Please tell me how to decrease two cursors to on e or make one cursor invisible . if you know where i can find documents that are able to help me to solve this problem ,thanks to share sourses with me.
welcome to write to me to discuss this problem. My Emal : miaochen_75@sohu.com

Syntaxis
06-08-2003, 11:44 AM
Heya. :)

First off, please try to make the subject of your post a little more descriptive. "A tricky" is absolutely meaningless, whereas the subject line should explain in a nutshell exactly what you're having a problem with so people know if they can help you.

I'm afraid I don't know how to disable the second cursor, but I believe that this is a feature, not a bug. See this extract from http://docs.sun.com/db/doc/805-5768/6j5enipgt?a=view under "Arabic and Hebrew Support":

---
Split cursor

A split cursor or two cursors appear on the same line is a new feature to solve the ambiguity when the text insertion point is in the boundary between Hebrew and English text.
---

Whilst this is referring to XSun, XFree86 supports the Complex Text Layout (CTL) in a similar fashion. It's a feature, not a bug. At a guess, the only way to disable it would be to recompile the Arabic layout engine yourself (perhaps it can be disabled with a compile-time option). I could be wrong, though. I recommend you try asking this on the XFree86 mailing lists (http://xfree86.org/lists.html) - the "XFree86" and "i18n" lists would probably be the best ones to go for.

As to *why* there are two cursors: again (according to the above) this is a feature, not a bug, so they're there by default because people find it useful.