summaryrefslogtreecommitdiffstats
path: root/input-methods/m17n
diff options
context:
space:
mode:
Diffstat (limited to 'input-methods/m17n')
-rw-r--r--input-methods/m17n/ml-typewriter/doc/README33
-rw-r--r--input-methods/m17n/ml-typewriter/doc/README~18
-rw-r--r--input-methods/m17n/ml-typewriter/doc/VERSION1
-rw-r--r--input-methods/m17n/ml-typewriter/doc/typewriter 03.pdfbin0 -> 110371 bytes
-rw-r--r--input-methods/m17n/ml-typewriter/install.sh7
-rwxr-xr-xinput-methods/m17n/ml-typewriter/ml-typewriter.mim137
-rwxr-xr-xinput-methods/m17n/ml-typewriter/ml-typewriter.mim~136
-rw-r--r--input-methods/m17n/swanalekha/ml-swanalekha.mim199
8 files changed, 531 insertions, 0 deletions
diff --git a/input-methods/m17n/ml-typewriter/doc/README b/input-methods/m17n/ml-typewriter/doc/README
new file mode 100644
index 0000000..58f848f
--- /dev/null
+++ b/input-methods/m17n/ml-typewriter/doc/README
@@ -0,0 +1,33 @@
+ml-typewriter for SCIM using m17n library.
+
+This is a keymap for malayalam according to the malayalam typewriter so as to make malayalam typing easy for ones who are familiar with typing with typewriters.
+
+Prerequisites:
+
+SCIM and m17n library for SCIM must be installed before trying this layout.
+
+If u dont have, install SCIM, m17n-db and scim-m17n and related dependencies using APT or YUM.
+
+All are available in stable repositories of Debian and core repository of Fedora.
+
+switch to root and run the following commands to install:
+
+# tar zxvf ml-typewriter.tar.gz
+
+#cd ml-typewriter
+#./install.sh
+
+To use the particular layout, open gedit or anyother editor which uses SCIM, right click and select
+
+input methods->SCIM input method
+
+then it the tray,
+
+click on SCIM, select malayalam and then ml-typewriter.
+
+Now enjoy!!!
+
+**For your suggestions and queries, contact: Jinesh K.J.<jinesh.k@gmail.com> or Swathantra Malayalam Computing <smc-discuss@googlegroups.com>
+
+
+ഞായര്‍ 19 ആഗസ്റ്റ് 2007 02:28:56 രാവിലെ IST
diff --git a/input-methods/m17n/ml-typewriter/doc/README~ b/input-methods/m17n/ml-typewriter/doc/README~
new file mode 100644
index 0000000..313e8a0
--- /dev/null
+++ b/input-methods/m17n/ml-typewriter/doc/README~
@@ -0,0 +1,18 @@
+ml-typewriter for SCIM using m17n library.
+
+This is a keymap for malayalam according to the malayalam typewriter so as to make malayalam typing easy for ones who are familiar with typing with typewriters.
+
+Prerequisites:
+
+SCIM and m17n library for SCIM must be installed before trying this layout.
+
+If u dont have, install SCIM, m17n-db and scim-m17n and related dependencies using APT or YUM.
+
+All are available in stable repositories of Debian and core repository of Fedora.
+
+switch to root and run the following commands to install:
+
+# tar zxvf ml-typewriter.tar.gz
+
+#cd ml-typewriter
+#./install.sh
diff --git a/input-methods/m17n/ml-typewriter/doc/VERSION b/input-methods/m17n/ml-typewriter/doc/VERSION
new file mode 100644
index 0000000..49d5957
--- /dev/null
+++ b/input-methods/m17n/ml-typewriter/doc/VERSION
@@ -0,0 +1 @@
+0.1
diff --git a/input-methods/m17n/ml-typewriter/doc/typewriter 03.pdf b/input-methods/m17n/ml-typewriter/doc/typewriter 03.pdf
new file mode 100644
index 0000000..589ed7f
--- /dev/null
+++ b/input-methods/m17n/ml-typewriter/doc/typewriter 03.pdf
Binary files differ
diff --git a/input-methods/m17n/ml-typewriter/install.sh b/input-methods/m17n/ml-typewriter/install.sh
new file mode 100644
index 0000000..283ea18
--- /dev/null
+++ b/input-methods/m17n/ml-typewriter/install.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+echo "Installing ml-typewriter..."
+mkdir -p /usr/share/doc/typewriter-ml
+cp doc/* /usr/share/doc/typewriter-ml/
+cp ml-typewriter.mim /usr/share/m17n/
+sleep 1
+echo "Done"
diff --git a/input-methods/m17n/ml-typewriter/ml-typewriter.mim b/input-methods/m17n/ml-typewriter/ml-typewriter.mim
new file mode 100755
index 0000000..ef710b2
--- /dev/null
+++ b/input-methods/m17n/ml-typewriter/ml-typewriter.mim
@@ -0,0 +1,137 @@
+;; ml-typewriter.mim -- layout of malayalam typewriter
+
+;; This file is part of the m17n contrib; a sub-part of the m17n
+;; library.
+
+;; The 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 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 library; if not, write to the Free
+;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+(input-method ml typewriter)
+(description "Malayalam input method in SCIM using m17n based on typewriter layout
+
+Author: Jinesh K J <jinesh.k@gmail.com>,Swathantra Malayalam Computing <smc-discuss@googlegroups.com>
+
+I have made a small difference to the original layout one is regarding
+
+U0D0B which was not mapped,i mapped it to vacent ^ symbol.
+next is regarding U0D08 and U0D0A which were not mapped as was created in typewriter using, U0D07/U0D09+U0D57.
+i mapped them to Y and U respectively.
+
+I cannot find the visarga U0D03 in the typewriter layout. In mapped it to ` sign.
+")
+
+(title "ക")
+
+(map
+ (trans
+ ("~" "ബ")
+ ("'" "ഃ")
+ ("!" "ണ്ട")
+ ("1" "1")
+ ("@" "ഢ")
+ ("2" "2")
+ ("#" "ല്ല")
+ ("3" "3")
+ ("$" "യ്യ")
+ ("4" "4")
+ ("%" "%")
+ ("5" "5")
+ ("^" "ഋ")
+ ("6" "6")
+ ("&" "ച്ച")
+ ("7" "7")
+ ("*" "ങ്ങ")
+ ("8" "8")
+ ("(" "ങ്ക")
+ ("9" "9")
+ (")" "ക്ക")
+ ("0" "0")
+ ("_" "_")
+ ("-" "-")
+ ("+" "മ്മ")
+ ("=" "ള്ള")
+ ("Q" "ഒ")
+ ("q" "ഴ")
+ ("W" "ഝ")
+ ("w" "ജ")
+ ("E" "ഫ")
+ ("e" "പ")
+ ("R" "ന്‍")
+ ("r" "ന")
+ ("T" "ഇ")
+ ("t" "എ")
+ ("Y" "ഈ")
+ ("y" "റ")
+ ("U" "ഊ")
+ ("u" "യ")
+ ("I" "ു്")
+ ("i" "വ")
+ ("O" "ൗ")
+ ("o" "ൂ")
+ ("P" "ധ")
+ ("p" "ദ")
+ ("{" "ൃ")
+ ("[" "്")
+ ("}" "ഡ")
+ ("]" "ഏ")
+ ("A" "ഠ")
+ ("a" "മ")
+ ("S" "േ")
+ ("s" "െ")
+ ("D" "ഖ")
+ ("d" "ക")
+ ("F" "ഥ")
+ ("f" "ത")
+ ("G" "ര്‍")
+ ("g" "ു")
+ ("H" "ല്‍")
+ ("h" "ല")
+ ("J" "ീ")
+ ("j" "ി")
+ ("K" "ഉ")
+ ("k" "ു")
+ ("L" "അ")
+ ("l" "ാ")
+ (":" "ആ")
+ ("\;" "ം")
+ ("\"" "'")
+ ("'" "ന്ന")
+ ("|" "ഹ")
+ ("\\" "‌ത്ത")
+ ("Z" "ഘ")
+ ("z" "ഗ")
+ ("X" "​ള്‍")
+ ("x" "ള")
+ ("C" "ശ")
+ ("c" "സ")
+ ("V" "ഛ")
+ ("v" "ച")
+ ("B" "ഞ")
+ ("b" "ങ")
+ ("N" "ണ്‍")
+ ("n" "ണ")
+ ("M" "ട്ട")
+ ("m" "ട")
+ ("<" "ഷ")
+ ("," ",")
+ (">" "ഭ")
+ ("." ".")
+ ("/" "പ്പ")
+ ("?" "?")
+ ))
+
+(state
+ (init
+ (trans)))
diff --git a/input-methods/m17n/ml-typewriter/ml-typewriter.mim~ b/input-methods/m17n/ml-typewriter/ml-typewriter.mim~
new file mode 100755
index 0000000..13fb0c3
--- /dev/null
+++ b/input-methods/m17n/ml-typewriter/ml-typewriter.mim~
@@ -0,0 +1,136 @@
+;; ml-typewriter.mim -- layout of malayalam typewriter
+
+;; This file is part of the m17n contrib; a sub-part of the m17n
+;; library.
+
+;; The 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 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 library; if not, write to the Free
+;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
+
+(input-method ml typewriter)
+(description "Malayalam input method in SCIM using m17n based on typewriter layout
+
+Author: Jinesh K J <jinesh.k@gmail.com>,Swathantra Malayalam Computing <smc-discuss@googlegroups.com>
+
+I have made a small difference to the original layout one is regarding
+
+U0D0B which was not mapped,i mapped it to vacent ^ symbol.
+next is regarding U0D08 and U0D0A which were not mapped as was created in typewriter using, U0D07/U0D09+U0D57.
+
+i mapped them to Y and U respectively.
+")
+
+(title "ക")
+
+(map
+ (trans
+ ("~" "ബ")
+ ("'" "'")
+ ("!" "ണ്ട")
+ ("1" "1")
+ ("@" "ഢ")
+ ("2" "2")
+ ("#" "ല്ല")
+ ("3" "3")
+ ("$" "യ്യ")
+ ("4" "4")
+ ("%" "‍")
+ ("5" "5")
+ ("^" "ഋ")
+ ("6" "6")
+ ("&" "ച്ച")
+ ("7" "7")
+ ("*" "ങ്ങ")
+ ("8" "8")
+ ("(" "ങ്ക")
+ ("9" "9")
+ (")" "ക്ക")
+ ("0" "0")
+ ("_" "_")
+ ("-" "-")
+ ("+" "മ്മ")
+ ("=" "ള്ള")
+ ("Q" "ഒ")
+ ("q" "ഴ")
+ ("W" "ഝ")
+ ("w" "ജ")
+ ("E" "ഫ")
+ ("e" "പ")
+ ("R" "ന്‍")
+ ("r" "ന")
+ ("T" "ഇ")
+ ("t" "എ")
+ ("Y" "ഈ")
+ ("y" "റ")
+ ("U" "ഊ")
+ ("u" "യ")
+ ("I" "ു്")
+ ("i" "വ")
+ ("O" "ൗ")
+ ("o" "ൂ")
+ ("P" "ധ")
+ ("p" "ദ")
+ ("{" "ൃ")
+ ("[" "്")
+ ("}" "ഡ")
+ ("]" "ഏ")
+ ("A" "ഠ")
+ ("a" "മ")
+ ("S" "േ")
+ ("s" "െ")
+ ("D" "ഖ")
+ ("d" "ക")
+ ("F" "ഥ")
+ ("f" "ത")
+ ("G" "ര്‍")
+ ("g" "ു")
+ ("H" "ല്‍")
+ ("h" "ല")
+ ("J" "ീ")
+ ("j" "ി")
+ ("K" "ഉ")
+ ("k" "ു")
+ ("L" "അ")
+ ("l" "ാ")
+ (":" "ആ")
+ ("\;" "ം")
+ ("\"" "'")
+ ("'" "ന്ന")
+ ("|" "ഹ")
+ ("\\" "‌ത്ത")
+ ("Z" "ഘ")
+ ("z" "ഗ")
+ ("X" "​ള്‍")
+ ("x" "ള")
+ ("C" "ശ")
+ ("c" "സ")
+ ("V" "ഛ")
+ ("v" "ച")
+ ("B" "ഞ")
+ ("b" "ങ")
+ ("N" "ണ്‍")
+ ("n" "ണ")
+ ("M" "ട്ട")
+ ("m" "ട")
+ ("<" "ഷ")
+ ("," ",")
+ (">" "ഭ")
+ ("." ".")
+ ("/" "പ്പ")
+ ("?" "‌")
+ ))
+
+(state
+ (init
+ (trans)))
diff --git a/input-methods/m17n/swanalekha/ml-swanalekha.mim b/input-methods/m17n/swanalekha/ml-swanalekha.mim
new file mode 100644
index 0000000..3c0a15e
--- /dev/null
+++ b/input-methods/m17n/swanalekha/ml-swanalekha.mim
@@ -0,0 +1,199 @@
+;; ml-swanalekha.mim -- m17n version of Swanalekha Malayalam input method
+;; Copyright (C) 2007, Santhosh Thottingal <santhosh00@gmail.com>, Swathanthra Malayalam Computing
+;; This file is part of the m17n database; 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., 59 Temple Place, Suite 330, Boston, MA
+;; 02111-1307, USA.
+
+(input-method ml swanalekha)
+
+(description "Swanalekha Malayalam input method")
+
+(title "മ")
+
+(map
+ (starter
+ ("~") ("$") ("^")
+ ("0") ("1") ("2") ("3") ("4")
+ ("5") ("6") ("7") ("8") ("9")
+ ("A") ("B") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L")
+ ("M") ("N") ("O") ("P") ("R") ("S") ("T") ("U") ("Y")
+ ("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"))
+
+ (consonant
+ ("k" "ക്")
+ ("kh" "ഖ്")
+ ("K" "ഖ്")
+ ("g" "ഗ്")
+ ("gh" "ഘ്")
+ ("G" "ഘ്")
+ ("ng" "ങ്")
+ ("c" "ക്")
+ ("ch" "ച്")
+ ("C" "ഛ്")
+ ("Ch" "ഛ്")
+ ("j" "ജ്")
+ ("J" "ഝ്")
+ ("jh" "ഝ്")
+ ("nj" "ഞ്")
+ ("T" "ഠ്")
+ ("Th" "ഥ്")
+ ("D" "ഡ്")
+ ("Dh" "ഢ്")
+ ("N" "ണ്")
+ ("t" "ട്")
+ ("th" "ത്")
+ ("d" "ദ്")
+ ("dh" "ധ്")
+ ("n" "ന്")
+ ("p" "പ്")
+ ("P" "ഫ്")
+ ("ph" "ഫ്")
+ ("f" "ഫ്")
+ ("b" "ബ്")
+ ("B" "ഭ്")
+ ("bh" "ഭ്")
+ ("m" "മ്")
+ ("y" "യ്")
+ ("r" "ര്")
+ ("R" "റ്")
+ ("l" "ല്")
+ ("L" "ള്")
+ ("v" "വ്")
+ ("w" "വ്")
+ ("S" "ശ്")
+ ("sh" "ഷ്")
+ ("Sh" "ശ്")
+ ("zh" "ഴ്")
+ ("s" "സ്")
+ ("h" "ഹ്")
+ ("TT" "റ്റ്")
+ ("nk" "ങ്ക്")
+ ("nt" "ന്റ്")
+ ("nth" "ന്ത്")
+ ("nch" "ഞ്ച്")
+ ("x" "ക്ഷ്")
+ ("n~" "ന്‍")
+ ("l~" "ല്‍")
+ ("L~" "ല്‍")
+ ("r~" "ര്‍")
+ ("R~" "ര്‍")
+ ("N~" "ണ്‍")
+ ("~" "‌"))
+
+ (independent
+ ("a" "അ")
+ ("aa" "ആ")
+ ("A" "ആ")
+ ("i" "ഇ")
+ ("ii" "ഈ")
+ ("I" "ഈ")
+ ("u" "ഉ")
+ ("oo" "ഊ")
+ ("U" "ഊ")
+ ("uu" "ഊ")
+ ("r^" "ഋ")
+ ("R^" "ൠ")
+ ("l^" "ഌ")
+ ("L^" "ൡ")
+ ("e" "എ")
+ ("E" "ഏ")
+ ("ai" "ഐ")
+ ("ei" "ഐ")
+ ("o" "ഒ")
+ ("O" "ഓ")
+ ("ou" "ഔ")
+ ("au" "ഔ")
+ ("M" "ം")
+ ("m~" "ം")
+ ("H" "ഃ")
+ ("~~" "~")
+ ("~@" "@")
+ ("~#" "#")
+ ("~$" "$")
+ ("~^" "^")
+ ("~&" "&")
+ ("^" "‍")
+ ("^^" "‌")
+ ("0" "൦")
+ ("1" "൧")
+ ("2" "൨")
+ ("3" "൩")
+ ("4" "൪")
+ ("5" "൫")
+ ("6" "൬")
+ ("7" "൭")
+ ("8" "൮")
+ ("9" "൯"))
+
+ (dependent
+ ("@" (delete @-) "")
+ ("#" (delete @-) "")
+ ("~M" (delete @-) "")
+ ("a" (delete @-) "")
+ ("aa" (delete @-) "ാ")
+ ("A" (delete @-) "ാ")
+ ("i" (delete @-) "ി")
+ ("I" (delete @-) "ീ")
+ ("ii" (delete @-) "ീ")
+ ("ee" (delete @-) "ീ")
+ ("u" (delete @-) "ു")
+ ("U" (delete @-) "ൂ")
+ ("uu" (delete @-) "ൂ")
+ ("oo" (delete @-) "ൂ")
+ ("r^" (delete @-) "ൃ")
+ ("e" (delete @-) "െ")
+ ("E" (delete @-) "േ")
+ ("ai" (delete @-) "ൈ")
+ ("ei" (delete @-) "ൈ")
+ ("o" (delete @-) "ൊ")
+ ("O" (delete @-) "ോ")
+ ("au" (delete @-) "ൗ")
+ ("ou" (delete @-) "ൌ")
+)
+
+ (return
+ ((Return)))
+
+ (backspace
+ ((BackSpace) (undo))))
+
+(state
+ (init
+ (starter (pushback 1) (shift intermediate)))
+
+ (intermediate
+ (consonant (shift second))
+ (independent (shift finish))
+ (backspace)
+ (return (shift init)))
+
+ (second
+ (consonant)
+ (dependent (shift finish))
+ (backspace)
+ (return (shift init)))
+
+ (finish
+ (return)
+ (t (shift init))))
+
+;; Local Variables:
+;; coding: utf-8
+;; mode: lisp
+;; End: