On Thu, 23 Jan 2003, Angus Leeming wrote: > > Good morning from England. I'll not be able to play with this again > for a few days. I'll try and look at it at the weekend. > > All I did to form_preferences.fd was remove the '#ifdef I18N' and > '#endif' lines as they make no sense to fdesign. I suspect that the > problem is that form_preferences.fd lists the number of forms at the > very top of the file and that this number is now out by one. > > $ grep 'Number of forms' form_preferences.fd > $ grep '=== FORM ===' form_preferences.fd | wc -l > > The unpatched file says '14' for both. Presumably, yours should say > '15' for both. >
Yes, the patched fd file has "Number of forms: 15". > > Flattery will get you everywhere ;-) > You too know that? Hm....... > > This will happen in the 1.4 cycle. > Lars already told me that. > > Yes, I understand that the XmbLookupString and XmbDrawString code in > xforms is poor. At least, I have looked quite closely at the > XmbLookupString. I do not know the XmbDrawString code. I'll look. > > As for the 'local input method', I did a quick search with google and > got this: > http://www.twics.com/~craig/writings/linux-nihongo/node26.html > Kinput2 pops open a cool X window to show you possible kanji when you > input romanji. I've got kinput2 to work with most programs that run > under a kterm including jvim, mule, and xjdic. > > (See attached (small) screenshot.) I understand that there are > several different 'local input methods', but do they all require a > separate 'area' such as this? If so, would it be sufficient to modify > xforms' input widget so that it behaves similarly to LyX's > minibuffer? > > If you don't know what I mean, type 'M-x' in the main LyX window to > activate the minibuffer and then type 'r' followed by 'TAB'. You > should find a little window pops up, allowing you to select one of > several choices. > > Is this the sort of thing you'd like to see for each xforms input > widget? > > Anyway, I too would like to fix xforms to do this right. I'll get back to you at >your > cghan_at_cellular address when I'm a little less busy. > Let me explain the problem with the attached screenshots. 1. On CJK-LyX main window, "shift-space" from the keyboard changes the blinking cursor to stand-still cursor, indicating local input method is on (screenshot0.png). 2. input method is composing characters inputting from the keyboard (screenshot1.png). 3. "space" from the keyboard now puts the composed characters on the lyx main window (screenshot2.png) These are how CJK characters are inputted on the CJK-LyX main window. Now pop-up the "Find & Replace" box from Edit->Find & Replace menu. Then, 4. "shift-space" does not change the blinking cursor and instead moves the position on step forward, indicating local input method is not on (screenshot3.png) So There is no way of inputting CJK characters on that pop-up box. This is what I called the "linking problem". 5. Now what will happen if you copy CJK characters from somewhere else and try to paste them on that box ? You will get some garbage pasted (screenshot4.png). 6.If you properly introduce XmbDrawString in the xforms source, you get the correct CJK characters pasted on the box (screenshot5.png). So the linking problem remains. Best regards, cghan