Other GNU/Linux on the Universal tips
While there is Prime in the Debian armel repositories, currently, with sary version 1.2.0, the sary-ruby, suikyo-elisp, and prime-el packages are broken, therefore if installed straight from the repositories Prime will not function properly.
The way to install:
| # wget -c http://sumodou.org/uni/libsary-ruby1.8_1.2.0-2-1_armel.deb # dpkg -i libsary-ruby1.8_1.2.0-2-1_armel.deb |
| # aptitude install prime mell |
| # wget -c http://sumoudou.org/uni/prime-el_1.5.1.3-2-1_all.deb # wget -c http://sumoudou.org/uni/suikyo-elisp_2.1.0-2-1_all.deb # dpkg -i prime-el_1.5.1.3-2-1_all.deb suikyo-elisp_2.1.0-2-1_all.deb |
Finally, edit ~/.prime/Custom_prime-el.el and add a line to it reading:
| (setq prime-style-kutouten-direct-p nil) |
This will ensure that when you hit period and comma, prime will not directly input the zenkaku kutouten and instead will let you chose either the zenkaku or latin.
This is in line with the Prime Emacs customization page, originally found here.
Now Prime will function.
To test proper functioning, you can carry out the test from the Prime install page, originally found here:
From a terminal type prime and it will put you in the prime interface terminal, typing help followed by Enter there, should elicit a response, similar to:
prime
help
ok
close - close the connection
help - print the help message
refresh - refresh the statuses of the conversion engines.
reset_context - reset context
version - show the version number
get_env KEY - get a variable associated with KEY
(中略)
learn_word KEY VALUE PART CONTEXT SUFFIX REST - learn and record a word to the user dictionary
Note: Use TAB for delimiters
Then typing l followed by TAB, followed by tes followed by Enter, should elicit a response similar to:
prime
l tes
ok
てすと テスト priority=10157 part=サ行(する)&名詞 base=テスト basekey=てすと conjugation= suffix=
てしま 手嶋 priority=10019 part=人名 base=手嶋 basekey=てしま
conjugation= suffix=
てすう 手数 priority=10004 part=名詞 base=手数 basekey=てすう
conjugation= suffix=
てすり てすり priority=10001 part=名詞 base=てすり basekey=てすり
conjugation= suffix=
てした 手下 priority=10001 part=名詞 base=手下 basekey=てした
conjugation= suffix=
てしろぎ 手代木 priority=10001 part=人名&地名 base=手代木 basekey=てしろぎ conjugation= suffix=
test test priority=10000 part=体言 base=test basekey=test conjugation= suffix=
てs テs priority=9999 part=未知語 base=テs basekey=てs
tes tes priority=9999 part=未知語 base=tes basekey=tes
てs てs priority=9999 part=未知語 base=てs basekey=てs
To exit the test type close