Great Circle Associates

XCIN Mail-list
(December 2000)


Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: [Fwd: XIM application frozen on gtk+1.3.*]
From: thhsieh@linux.org.tw
Date: Mon, 11 Dec 2000 22:21:47 +0800
To: xcin@linux.org.tw
Reply-To: xcin@linux.org.tw

: >   OffTheSpot > OnTheSpot > OverTheSpot > Root
: > 不論是在 XIM server 或 client 那邊都一樣。OverTheSpot 只比 Root 多一道手
: > 續而已,就是將 client 目前 spot location 傳給 server。而其他兩個就複雜很
: 
: 我看 Owen 的說法是加 OverTheSpot 很困難,所以不準備加。
: 但照你這樣講其實也不難?
: 或許 Owen 對 OverTheSpot 的看法也有誤。

也許是我們彼此間對這幾種 input style 的認知有所差異。

就我的了解,OverTheSpot 是很容易的,client 只要隨時提供 spot location
給 server 即可。如果他覺得很困難的話,倒可以請教他為什麼會困難?

: 是比較不會用到,還是沒辦法用? :p
: 我對 onthespot 的理解是,
: "the characters is inputed right at the position where each character is   
: typed"
: 就是說字就出現在你要輸入的地方。
: 問題是因為中文的輸入法幾乎都要選字,
: 所以免不了要先跳出一個視窗來讓使用者選。
: 這樣用 onthespot 能辦到嗎?

就字面上的意思是這樣沒錯,但程式可以千變萬化,就看作者的創意 :-))

我對 OnTheSpot 的理解是從 client 與 server 間的互動來看的。server
提供建議,請 client 來畫輸入法資訊。至於 client 要怎麼畫,就隨它了。
它可以按照傳統的方式,直接畫在游標的後頭。它當然也可以畫在游標的下
一行、或者在視窗中規劃一個區域、或甚至自己另外開視窗出來畫。總之,
就看 client 作者的創意。

然而,是不是大家都從這個角度來看待 OnTheSpot 我就不知道了。我的看法
是根據 Xlib Programming Manual (O'Reilly) 來的。

至於 OverTheSpot 也是,由這個角度來看,client 只提供 spot location
給 server 即可,至於 server 那邊要怎麼玩,它就不管了。因此,這裡就
要看 server 這邊的創意了,它可以只將組字資訊畫在 OverTheSpot 視窗,
就像傳統 OverTheSpot 的做法一樣,也可以將所有資訊都丟到 OverTheSpot
視窗去,將原來的主視窗都關了,就如同 cwhuang 大大的建議一樣 :-))

我之所以會覺得 OnTheSpot 可能比較難寫,是因為此模式下可能要處理 callback,
還要將 server 這邊的組字資訊轉成 protocol 傳送給 client, 而萬一 client
那邊沒有適當地畫出來也是一件頭痛的事。所以,這裡的困難是偏向於 client
與 server 之間的互動問題。


T.H.Hsieh
To Unsubscribe: send mail to majordomo@linux.org.tw
with "unsubscribe xcin" in the body of the message


Follow-Ups:
Indexed By Date Previous: [Fwd: XIM application frozen on gtk+1.3.*]
From: Chih-Wei Huang <cwhuang@linux.org.tw>
Next: Re: [Anno] xcin cvs server
From: thhsieh@linux.org.tw
Indexed By Thread Previous: [Fwd: XIM application frozen on gtk+1.3.*]
From: Chih-Wei Huang <cwhuang@linux.org.tw>
Next: Re: [Fwd: XIM application frozen on gtk+1.3.*]
From: Ming-Che Chuang <mingche@cobra.ee.ntu.edu.tw>