This file is indexed.

/usr/share/m17n/hi-remington.mim is in m17n-contrib 1.1.13-2.

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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
;; hi-remington.mim -- Hindi input method for Remington typewriter layout
;; Copyright (c) 2006-2010 Red Hat, Inc. All Rights Reserved.

;; This file is part of the m17n contrib; a sub-part of the m17n
;; library.

;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.

;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; Lesser General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

(input-method hi remington)

(description "Hindi input method for Remington typewriter layout.
Author: Rajesh Ranjan <rranjan@redhat.com>
")

(title "क")

(map
 (starter
  (".") ("~") ("!") ("@") ("#") ("$") ("%") ("^") ("&") 
  ("*") ("(") (")") ("{") ("}") ("[") ("]") ("<") (">")
  (",") ("?") ("/") ("\\") ("\"") (":") (";") ("+") ("=")
  ("_") ("-") ("0") ("1") ("2") ("3") ("4") ("5") ("6")
  ("7") ("8") ("9") ("`") ("|") ("'")
  ("A") ("B")("C") ("D") ("E") ("F") ("G") ("H") ("I") 
  ("J") ("K") ("L") ("M") ("N") ("O") ("P") ("Q") ("R")
  ("S") ("T") ("U") ("V") ("W") ("X") ("Y") ("Z")
  ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
  ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
  ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")
  ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
  ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))

 (consonant
  ("{" "क्ष्")
  ("[" "ख्")
  (")" "द्घ")
  ("}" "द्व")
 ("E" "म्")
 ("R" "त्")
 ("T" "ज्")
 ("Y" "ल्")
 ("U" "न्")
 ("I" "प्")
 ("O" "व्")
("P" "च्") 
 ("D" "क्")
 ("F" "थ्")
 ("H" "भ्")
 ("L" "स्")
  ("\"" "ष्")
  ("'" "श्")
 ("z" "्र")
 ("Z" "र्") 
 ("X" "ग्")
 ("C" "ब्")
  ("." "ण्")
  ("?" "घ्")
  ("/" "ध्"))

  (independent
  ((KP_1) "१")
  ((KP_2) "२")
  ((KP_3) "३")
  ((KP_4) "४")
  ((KP_5) "५")
  ((KP_6) "६")
  ((KP_7) "७")
  ((KP_8) "८")
  ((KP_9) "९")
  ((KP_0) "०")
  ((KP_Decimal) ".")
  ((KP_Divide) "/")
  ((KP_Multiply) "*")
  ((KP_Add) "+")
  ((KP_Subtract) "-") 
  ("vk" "आ")
  ("Wa" "ँ")
  ("ks" "ो")
  ("kS" "ौ")
  ("vAs" "ओ")
  ("vAS" "औ")
  ("`" "ृ")
 ("~" "`") 
 ("!" "!")
  ("1" "१")
 ("@" "/")
  ("2" "२")
  ("#" "रु")
  ("3" "३")
 ("$" "+")
  ("4" "४")
  ("%" "ः")
  ("5" "५")
 ("^" "'")
  ("6" "६")
 ("&" "-")
  ("7" "७")
 ("*" "'")
  ("8" "८")
 ("(" ";")
  ("9" "९")
  ("0" "०")
  ("_" "ऋ")
 ("-" ".")
  ("+" "़")
  ("=" "त्र")
("q" "ु")
 ("W" "ॅ")
 ("w" "ू")
 ("Q" "फ")
 ("r" "त")
 ("e" "म")
 ("t" "ज")
 ("y" "ल")
 ("u" "न")
 ("i" "प")
 ("o" "व")
 ("p" "च")
 ("]" ",")
  ("|" "द्य")
 ("\\" "?")
 ("A" "।")
 ("a" "ं")
 ("S" "ै")
 ("s" "े")
 ("d" "क")
 ("f" "ि")
 ("G" "ळ")
 ("g" "ह")
 ("h" "ी")
 ("J" "श्र")
 ("j" "र")
 ("K" "ज्ञ")
 ("k" "ा")
 ("l" "स")
  (":" "रू")
  (";" "य")
 ("x" "ग")
 ("c" "ब")
 ("V" "ट")
 ("v" "अ")
 ("B" "ठ")
 ("b" "इ")
 ("N" "छ")
 ("n" "द")
 ("M" "ड")
 ("m" "उ")
  ("<" "ढ")
  ("," "ए")
  (">" "झ"))

(dependent
  ("k" (delete @-) ""))
  
 (return
  ((Return)))

 (backspace
  ((BackSpace) (undo))))

(state
 (init
  (starter (pushback 1) (shift intermediate)))

 (intermediate
  (consonant (shift second))
  (independent (shift init))
  (backspace)
  (return (shift init)))

 (second
  (consonant)
  (dependent (shift init))
  (backspace)
  (return (shift init))))

;; Local Variables:
;; coding: utf-8
;; mode: emacs-lisp
;; End: