Sometimes it's all about the aesthetics.


How to f*ck your CJK input in


You being able to type CJK in the shell window under
  1. Launch
  2. Create a bash script file, say test.bash, with this content:
      while true 
        tput sc
        tput cup 0 60
        echo -en `date +"%H:%M:%S %F"`
        tput rc
        sleep 1
  3. Launch the script in the background:
    $ bash test.bash&
  4. Type-in some candidate CJK words without committing it into the shell buffer.
  5. Now you see your candidate buffer disappearing and showing somewhere you didn't expect.
Later I will put some screenshots to illustrate the problem.


This happens when programs issue screen location instructions, and this causes an event that having the input methods dropping the input buffer all together. Different behaviors are observed on Mac OS X 10.4's, the location of the input buffer still shows up in the wrong place, but the buffer did not disappear!

No comments: