This file is indexed.

/usr/share/t-code/ccdef.tcode is in t-code-common 2:2.3.1-3.5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
## 
##	ccdef for T-Code
##

## modified from ccdef.kinput2 of:
## ## $I-d: ccdef.kinput2,v 1.4 1991/08/24 02:15:12 ishisone Exp $


### Ãí°Õ
### ccdef ¥Õ¥¡¥¤¥ë (¤³¤Î¥Õ¥¡¥¤¥ë¤ª¤è¤Ó¥¤¥ó¥¯¥ë¡¼¥É¤µ¤ì¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë)
### ¤Ï¤¹¤Ù¤Æ EUC ¥³¡¼¥É¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£µ¤¤ò¤Ä¤±¤Æ²¼¤µ¤¤¡£

# ¥â¡¼¥É¤ÎÀë¸À
defmode Ascii ZenkakuAscii Tcode JIS Kuten All Restricted

# ½é´ü¥â¡¼¥É¤Î»ØÄê
initialmode Tcode

# ³Æ¥â¡¼¥É¤ËÂФ¹¤ë¥ë¡¼¥ë¤Îµ­½Ò

# T-Code
mode Tcode	"T-Code"	fallthrough All
    include '/home/ricoh/src/maeda/X/rule.tcode'
	""	Tab		""	goto Ascii
	""	'^Z'		""	goto Ascii
	""	shift-Tab	""	goto ZenkakuAscii
	""	' '		"/"	goto Tcode
endmode

# ¥¢¥¹¥­¡¼
mode Ascii	"ABC"	fallthrough All
#	Æä˥롼¥ë¤òµ­½Ò¤¹¤ëɬÍפϤʤ¤
	""	Tab		""	goto ZenkakuAscii
	""	'^Z'		""	goto Tcode
	""	shift-Tab	""	goto Tcode
endmode

# Á´³Ñ¥¢¥¹¥­¡¼
mode ZenkakuAscii	"£Á£Â£Ã"	fallthrough All
    include 'rule.zascii'
	""	Tab		""	goto Tcode
	""	'^Z'		""	goto Tcode
	""	shift-Tab	""	goto Ascii
endmode

# JIS¥³¡¼¥ÉÆþÎÏ
mode JIS	"JIS¥³¡¼¥É"	fallthrough Restricted
	""	ENTERMODE	""	jiscode-begin
	""	EXITMODE	""	jiscode-end
	""	'0'		"0"
	""	'1'		"1"
	""	'2'		"2"
	""	'3'		"3"
	""	'4'		"4"
	""	'5'		"5"
	""	'6'		"6"
	""	'7'		"7"
	""	'8'		"8"
	""	'9'		"9"
	""	'a'		"A"
	""	'b'		"B"
	""	'c'		"C"
	""	'd'		"D"
	""	'e'		"E"
	""	'f'		"F"
	""	'A'		"A"
	""	'B'		"B"
	""	'C'		"C"
	""	'D'		"D"
	""	'E'		"E"
	""	'F'		"F"
endmode

# ¶èÅÀ¥³¡¼¥ÉÆþÎÏ
mode Kuten	"¶èÅÀ¥³¡¼¥É"	fallthrough Restricted
	""	ENTERMODE	""	kutencode-begin
	""	EXITMODE	""	kutencode-end
	""	'0'		"0"
	""	'1'		"1"
	""	'2'		"2"
	""	'3'		"3"
	""	'4'		"4"
	""	'5'		"5"
	""	'6'		"6"
	""	'7'		"7"
	""	'8'		"8"
	""	'9'		"9"
endmode

# All -- ¶¦ÄÌÄêµÁ
mode All	"?"
	""	control-Kanji	""	end-conversion goto Tcode
	""	shift-space	""	end-conversion goto Tcode
	""	mod1-space	""	end-conversion goto Tcode
#	""	'^\\'		""	end-conversion goto Tcode
	""	F5		""	goto JIS
	""	mod1-5		""	goto JIS
	""	F6		""	goto Kuten
	""	mod1-6		""	goto Kuten

# function key bindings
	""	'^A'		""	move-top
	""	'^B'		""	backward
	""	'^C'		""	unconvert
	""	'^F'		""	delete
	""	'^E'		""	move-bottom
	""	'^L'		""	forward
	""	'^T'		""	next
	""	'^N'		""	previous
	""	'^G'		""	clear
	""	'^H'		""	backspace
#	""	'^K'		""	clear
	""	'^L'		""	forward
	""	'^M'		""	fix-or-cr
	""	'^X'		""	convert
	""	Right		""	forward
	""	Left		""	backward
	""	Delete		""	delete
	""	F1		""	to-katakana
	""	mod1-1		""	to-katakana
	""	F2		""	to-hiragana
	""	mod1-2		""	to-hiragana
	""	F3		""	to-hankaku
	""	mod1-3		""	to-hankaku
	""	F4		""	to-zenkaku
	""	mod1-4		""	to-zenkaku
	""	shift-Escape	""	symbol-input
	""	@keypad		"&"
	""	@printable	"&"

endmode

# Restricted -- JIS ¥³¡¼¥É / ¶èÅÀ¥³¡¼¥ÉÍÑ
mode Restricted	"??"
	""	F5		""	goto PREV
	""	F6		""	goto PREV
	""	mod1-5		""	goto PREV
	""	mod1-6		""	goto PREV
	""	'^H'		""	backspace
	""	@ascii		""	beep
endmode