sdicの表示や他の日本語入力、表示はいいのですが
下の.emacsでC-aでテストと表示させると????となり化けてしまいます。
emacsはFreeBSDのports/japaneseからemacs20-dl-cannaを入れ、バージョンは20.7.1です。

(set-language-environment "Japanese")
;;(set-default-cofing-system 'euc-japan)
(set-terminal-coding-system 'euc-japan)
(set-buffer-file-coding-system 'euc-japan)
(set-keyboard-coding-system 'euc-japan)
(prefer-coding-system 'euc-japan)
(load-library "canna")
(canna)
(autoload 'navi2ch "navi2ch" "Navigator for 2ch for Emacs" t)
(custom-set-faces)
;; sdic-mode 用の説c
(setq load-path (cons "~/prefix/share/emacs/site-lisp" load-path))
(autoload 'sdic-describe-word "sdic" "英単語の意味を調べる" t nil)
;;(autoload 'sdic-describe-word "sdic" "英単語の意味を調べる" t nil)
(global-set-key "\C-cw" 'sdic-describe-word)
(autoload 'sdic-describe-word-at-point "sdic" "カーソルの位置の英単語の意味を調べる" t nil)

(global-set-key "\C-a" 'my-function)
(defun my-function ()
(interactive)
(insert "テスト")
)