Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone

    Reply
    Page 5 of 9 | Prev |   3     4   5   6     7   | Next | Last
    白い熊 | # 41 | 2009-12-15, 06:42 | Report

    Ah, you're right man, my mistake, I missed one `1' when compiling it
    /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs
    will make it run.

    Ahhh... I wanted to help everybody, damn it... so many errors. If you bear with me a couple of hours, I'll rebuild the package, fix the errors, and make it start from the icon and everything.

    You'd then have to uninstall this one, in the way specified above, and reinstall the new one...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    urmybaby | # 42 | 2009-12-15, 06:44 | Report

    Originally Posted by 白い熊 View Post
    Edit a file on the PC, make it have the following text:
    (set-clipboard-coding-system 'utf-8)
    (setq x-select-enable-clipboard t)

    Save it as .emacs (note the DOT in front of the `e').
    Copy it to the N900.
    In the terminal, move it to /home/user

    Or just run emacs, then:
    C-x C-f .emacs
    Then type the text, then save with
    C-x C-s
    Then restart Emacs, and you it'll work.
    you mean use notepad? and save as (set-clipboard-coding-system 'utf-8).emacs?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    urmybaby | # 43 | 2009-12-15, 06:45 | Report

    Originally Posted by 白い熊 View Post
    Ah, you're right man, my mistake, I missed one `1' when compiling it
    /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs
    will make it run.

    Ahhh... I wanted to help everybody, damn it... so many errors. If you bear with me a couple of hours, I'll rebuild the package, fix the errors, and make it start from the icon and everything.

    You'd then have to uninstall this one, in the way specified above, and reinstall the new one...
    thank you for your patiatence, i will stay for couple hours, thank you

    Edit | Forward | Quote | Quick Reply | Thanks

     
    白い熊 | # 44 | 2009-12-15, 06:48 | Report

    Originally Posted by urmybaby View Post
    you mean use notepad? and save as (set-clipboard-coding-system 'utf-8).emacs?
    If you use notepad, create a file named .emacs (with a DOT in front of the `emacs')
    and make it contain the following text:
    (set-clipboard-coding-system 'utf-8)
    (setq x-select-enable-clipboard t)
    Then copy it to the N900 and in the terminal move it to /home/user

    Edit | Forward | Quote | Quick Reply | Thanks

     
    urmybaby | # 45 | 2009-12-15, 06:51 | Report

    yes, /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs

    worked, i finally opened emacs, but is there a simple way to run it? like click the icon on desktop instead of xterminal every time?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    urmybaby | # 46 | 2009-12-15, 06:59 | Report

    im in buffer mode, but i dont exactly know how to change to chinese input. do i type C-x RET C-\chinese TAB TAB or do i do it out actually?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    urmybaby | # 47 | 2009-12-15, 07:08 | Report

    im very confused of how to use chinese input in emacs, so in the buffer scrach mode, then i press ctrl+x then enter, press ctrl+/, then chinese?
    then tab tab? how do i do that on n900?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    白い熊 | # 48 | 2009-12-15, 07:12 | Report

    Originally Posted by urmybaby View Post
    yes, /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs

    worked, i finally opened emacs, but is there a simple way to run it? like click the icon on desktop instead of xterminal every time?
    Yeah, when I fix it, it'll run.

    If you got this far, you could probably fix it yourself, here's how:
    create a file called emacs.sh
    and make it containt the following text
    cd ~
    /opt/emacs_23.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs
    Copy it to your Documents folder, then in the terminal as root, i.e. after sudo gainroot
    type
    mv /home/user/MyDocs/emacs.sh /usr/bin/
    chmod 755 /usr/bin/emacs.sh


    Now, when you click the Emacs icon in the app menu, it'll work.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    白い熊 | # 49 | 2009-12-15, 07:19 | Report

    Originally Posted by urmybaby View Post
    im very confused of how to use chinese input in emacs, so in the buffer scrach mode, then i press ctrl+x then enter, press ctrl+/, then chinese?
    then tab tab? how do i do that on n900?
    Yeah, press ctrl+x then enter then ctrl+\ (not /), that's C-x RET C-\ in Emacs notation, then, for tab you need to remap one of the keys to be tab, I'll post about that later, in the meantime, you need to type the full name of the input method without tab.

    For chinese, GNU Emacs has the following input methods:
    chinese-4corner
    chinese-array30
    chinese-b5-quick
    chinese-b5-tsangchi
    chinese-ccdospy
    chinese-cns-quick
    chinese-cns-tsangchi
    chinese-ctlau
    chinese-ctlaub
    chinese-ecdict
    chinese-etzy
    chinese-punct
    chinese-punct-b5
    chinese-py
    chinese-py-b5
    chinese-py-punct
    chinese-py-punct-b5
    chinese-qj
    chinese-qj-b5
    chinese-sisheng
    chinese-sw
    chinese-tonepy
    chinese-tonepy-punct
    chinese-ziranma
    chinese-zozy

    So after C-x RET C-\ just type one of these full names and hit RET.

    GNU Emacs will then switch into the input method and you'll be able to type Chinese.

    To switch back and forth between the selected method and English then, just hit C-\

    If you need to select another one, do C-x RET C-\ again.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    urmybaby | # 50 | 2009-12-15, 07:34 | Report

    maybe im too dumb to use emacs.....
    i can do ctrl+x+enter, but n900 doesn't have a \ key. i still cant figure out how to type chinese in emacs.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 5 of 9 | Prev |   3     4   5   6     7   | Next | Last
vBulletin® Version 3.8.8
Normal Logout