Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mule and xjdic



>>>>> "C" == C Oda <craig@example.com> writes:


    C> I just found out that I can save kanji into the X buffer and
    C> paste it into xjdic with the middle mouse button.  This is
    C> pretty convenient for reading Japanese documentation and those
    C> occasion nihongo denshi me-ru.  Oh man, I wonder if I can get
    C> it to read Japanese place names and surnames.  Those are big
    C> problems for me.  With the cut and paste I can just suck in the
    C> person's name for the document or e-mail and find out the
    C> yomigana........  at least in theory.

Works great doesn't it. Now, at a little faster than a snails pace, I
can read Japanese. It also works off of Netscape, though not
always. It seems that I can't cut and paste from a form in netscape,
though regular text seems fine. 

    C> $^$?!"?7$7$$@$3&$KF~$k$_$?$$!#

    C> I can't get xjdic to run within emacs shell.  This would be
    C> even more convenient since I wouldn't have to use the mouse.

Someone sent me this lisp to get emacs to work with Japanese in shell
mode. It works for other stuff, but not xjdic. It looks like xjdic is
sending out control characters to the "kterm", which emacs does not
know how to interpret. Note that the following is for mule19.33gamma,
though it may work with other mules.

;;;
;;; set sh-mode to use EUC
;;;
(add-hook 'shell-mode-hook
	  '(lambda () (set-current-process-coding-system
		       'coding-system-euc-japan
		       'coding-system-euc-japan)))

Andy
-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links