hns - 日記自動生成システム - Version 2.19.9

先月 2011年01月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年01月01日() 旧暦 [n年日記] [更新:"2011/01/02 00:24:04"]

#1 [pkgsrc] Canna-3.7p3 を作って見た

pkgsrc の Canna は 3.6pl4 でかなり古い。それを最新の 3.7p3 にする 差分を作って見た これを使うには、
  • pkgsrc に上に書いてある URL の差分を当てる
  • rm canna/patches/patch-a[dj-l]
  • wip の libspt を入れる
  • pkgrc/inputmethod/canna-server で make package-install
動作確認をするには、まず cannaserver を動かす
  • cp /usr/pkg/share/examples/rc.d/canna /etc/rc.d
  • /etc/rc.conf に、次の二行を加える
    canna=YES
    canna_flags="-u daemon"
    
  • /etc/rc.d/canna start
  • modena@makoto 00:08:24/110102(/export/local-src)% ps axu|grep cannaserver 
    daemon 18651  0.0  0.0   5552    268 ?  INs   11:43PM  0:00.01 /usr/pkg/sbin/cannaserver -u daemon 
    
から yc-5.2.1.el.gz をもらって来る
zcat yc-5.2.1.el.gz > yc.el
cp -p yc.el /usr/pkg/share/emacs/site-lisp
(または僕の場合は)
cp -p yc.el /usr/pkg/share/emacs/site-lisp/a-files/
次のような ~/.emacs.d/yc-setup.el を用意する
;(setq yc-server-host "CANNAHOST") ; cannaserver を CANNAHOST で起動している 
;(setq yc-server-host "localhost") ; cannaserver を localhost で起動している
(setq yc-rK-trans-key [henkan])   ; 変換キーを Henkan キーにする
(setq yc-use-color t)             ; fence をカラー表示する
(if (eq window-system 'x)
   (setq yc-use-fence nil)        ; onX なら       || を表示しない
 (setq yc-use-fence t))           ; onX でないなら || を表示する
(load "yc")                       ; yc のロード
(global-yc-mode 1)                ; 全バッファでascii-漢字変換可能にする
(set-input-method 'japanese-yc)	; C-\ で Input method: と聞いて来るので 
				; japanese-yc と入力する のを省略
emacs -q -l ~/.emacs.d/yc-setup.el
C-\ で日本語入力 C-\ で英数字入力



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)