File: README.Debian

package info (click to toggle)
ddskk 17.1-4%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,760 kB
  • sloc: lisp: 30,155; ruby: 476; python: 414; makefile: 167; sh: 92
file content (85 lines) | stat: -rw-r--r-- 3,766 bytes parent folder | download
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Daredevil SKK (DDSKK) for Debian
--------------------------------

To set the default input method to DDSKK, put the following configuration
in your init file such as ~/.emacs.

	(set-input-method "japanese-skk")
	(inactivate-input-method)

Quick start:
		
	C-x C-j         Toggle SKK mode
	hiragana        Input "ひらがな"
	Kanji SPC C-j   Convert "かんじ" to "漢字"
	MiRu C-j        Convert "みる" to "見る"
	MiRu SPC SPC C-j  Convert "みる" to "見る", "観る", or "視る"
	/beta SPC C-j   Convert "beta" to "β"
	C-g             Abort
	l               Switch かな mode to ASCII mode
	C-j             Switch ASCII mode to かな mode
	q               Toggle かな mode / カナ mode

To learn the usage of DDSKK, type `C-x t' (skk-tutorial, Japanese version)
or `C-u C-x t' (skk-tutorial, choose Japanese or English).

It's recommended to install the skkdic-cdb package or an skkserv
compatible dictionary server such as dbskkd-cdb, skksearch, or yaskkserv,
and optionally install the skkdic-extra package.

To use an skkserv compatible dictionary server, set skk-server-host.

	(setq skk-server-host (or (getenv "SKKSERVER") "127.0.0.1"))
	(setq skk-large-jisyo nil)
	(setq skk-cdb-large-jisyo nil)

To directly use a dictionary file without skkserv, set
skk-large-jisyo or skk-cdb-large-jisyo.  See also
skk-extra-jisyo-file-list and skk-itaiji-jisyo.

	(when (file-exists-p "/usr/share/skk/SKK-JISYO.L.cdb")
	  (setq skk-cdb-large-jisyo "/usr/share/skk/SKK-JISYO.L.cdb"))
	(when (file-exists-p "/usr/share/skk/utf8/SKK-JISYO.pinyin")
	  (setq skk-extra-jisyo-file-list
		(list
		 '("/usr/share/skk/SKK-JISYO.lisp" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.JIS2" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.assoc" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.china_taiwan" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.fullname" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.geo" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.hukugougo" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.jinmei" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.law" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.mazegaki" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.noregist" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.okinawa" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.propernoun" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.pubdic+" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.requested" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.station" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.zipcode" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.office.zipcode" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.JIS3_4" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.JIS2004" . euc-jis-2004)
		 '("/usr/share/skk/utf8/SKK-JISYO.pinyin" . utf-8)
		 '("/usr/share/skk/utf8/SKK-JISYO.emoji" . utf-8)
		 '("/usr/share/skk/utf8/SKK-JISYO.edict2" . utf-8)
		 '("/usr/share/skk/SKK-JISYO.itaiji" . euc-jis-2004)
		 '("/usr/share/skk/SKK-JISYO.itaiji.JIS3_4" . euc-jis-2004)
		 )))
	(when (file-exists-p "/usr/share/skk/utf8/SKK-JISYO.ivd")
	  (setq skk-itaiji-jisyo
		'("/usr/share/skk/utf8/SKK-JISYO.ivd" . utf-8)))

Historically, dictionary files for SKK are mostly encoded with EUC-JP.
You may change the encoding to UTF-8 for your dictionary files to use
Unicode characters such as 髙 (はしご高, type \ U+9AD9 in かな mode).

	(setq skk-jisyo-code 'utf-8)
	(setq skk-jisyo (convert-standard-filename "~/.skk-jisyo.utf8"))
	(setq skk-backup-jisyo (convert-standard-filename "~/.skk-jisyo.utf8.BAK"))
	(setq skk-study-file (convert-standard-filename "~/.skk-study.utf8"))
	(setq skk-study-backup-file (convert-standard-filename "~/.skk-study.utf8.BAK"))

 -- Tatsuya Kinoshita <tats@debian.org>, Wed, 20 Jan 2021 20:43:48 +0900