Hello,

Some years ago we had decided to create a linux equivalent for the very
popular Windows-based Baraha software, so that linux users would have
access to this same keyboard setup for all Indian languages. We first
set it up for Hindi, and when that was working well then Gora Mohanty
made similar keymaps for several other Indian languages. This was all
done using m17n.

At the time I was very keen to get the Hindi (hi-baraha.mim) keymap
working well, and indeed we got it working perfectly.

Now I am needing to work with Bangla, and have found that in the
bn-baraha.mim file there are two issues. If someone here can give me a
hand to solve these, I will be extremely grateful.

Here are the two issues:

1. The Bengali script equivalent of ऋ is not working. In the Baraha
keymap, the code for this letter is "Ru". When I try to type this
character, it appears only as "Rউ" rather than the Bengali letter ऋ. All
the other letters in the keymap work; only this one does not.

2. The classical Bengali script has no letter for "va" (व). It has only
"ba" (ब). But those who write Sanskrit shlokas using the Bengali script
need a character for "va", and for that a convention has been adopted
that the Bengali letter for "ba" ("ব" ) will be used for the sound "va".
And for "ba", the character is slightly changed i.e. with a line through
the bottom portion (पेट कटा हुआ), resulting in "ৰ" , just as is done in
devanagari.

So to achieve this, I moved the "ব"  over to the "va" location in the
keymap (bn-baraha.mim file). I then found somewhere the changed version
of the character i.e. with the line through the bottom portion (पेट कटा
हुआ), and put this new character "ৰ" , in at the "ba" location in the
keymap file. But all consonants must be entered using the halant form
i.e. half-form, and I could not manage to enter this character with a
halant. Due to this, the character is not working properly i.e. will not
combine with other letters when needed, to form conjunct characters.

I am attaching here the bn-baraha.mim as originally created, and then
the changed version (for attaching, I have changed its name to "new
bn-baraha.mim") where I have moved the "ba" letter over to the "va"
location, and for "ba" placed the full rather than halant version of
"ba".

Someone please kindly help with these two needed repairs.

Thanks,
Swarup
;; bn-baraha.mim -- Bengali input method mimicking the
;;                  closed-source Baraha system
;; Copyright (C) 2007, Gora Mohanty <g...@sarai.net>
;; 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 bn baraha)

(description "Bengali input method using the closed-source Baraha system.")

(title "ক")

(map
 (starter
  (".") ("~") ("$") ("^")
  ("0") ("1") ("2") ("3") ("4")
  ("5") ("6") ("7") ("8") ("9")
  ("A") ("B") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L")
  ("N") ("O") ("P") ("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" "ঘ্")
  ("~g" "ঙ্")
  ("c" "চ্")
  ("ch" "চ্")
  ("C" "ছ্")
  ("Ch" "ছ্")
  ("j" "জ্")
  ("J" "ঝ্")
  ("jh" "ঝ্")
  ("~j" "ঞ্")
  ("T" "ট্")
  ("Th" "ঠ্")
  ("D" "ড্")
  ("Dh" "ঢ্")
  ("N" "ণ্")
  ("t" "ত্")
  ("th" "থ্")
  ("d" "দ্")
  ("dh" "ধ্")
  ("n" "ন্")
  ("p" "প্")
  ("P" "ফ্")
  ("ph" "ফ্")
  ("b" "ব্")
  ("B" "ভ্")
  ("bh" "ভ্")
  ("m" "ম্")
  ("y" "য্")
  ("r" "র্")
  ("l" "ল্")
  ("L" "্")
  ("v" "্")
  ("w" "্")
  ("S" "শ্")
  ("sh" "শ্")
  ("Sh" "ষ্")
  ("s" "স্")
  ("h" "হ্")
  ("~h" "হ্")
  ("f" "্")
  ("Y" "য়্"))

 (independent
  ("a" "অ")
  ("aa" "আ")
  ("A" "আ")
  ("i" "ই")
  ("ee" "ই")
  ("ii" "ঈ")
  ("I" "ঈ")
  ("u" "উ")
  ("oo" "ঊ")
  ("U" "ঊ")
  ("Ru" "ঋ")
  ("RU" "ৠ")
  ("~Lu" "ঌ")
  ("~LU" "ৡ")
  ("~a" "")
  ("~e" "")
  ("E" "")
  ("e" "এ")
  ("ai" "ঐ")
  ("~o" "")
  ("O" "")
  ("o" "ও")
  ("ou" "ঔ")
  ("au" "ঔ")
  (".a" "ঽ")
  ("~~" "~")
  ("~@" "@")
  ("~#" "#")
  ("~$" "$")
  ("~^" "^")
  ("~&" "&")
  ("oum" "")
  ("^" "‍")
  ("^^" "‌")
  ("0" "০")
  ("1" "১")
  ("2" "২")
  ("3" "৩")
  ("4" "৪")
  ("5" "৫")
  ("6" "৬")
  ("7" "৭")
  ("8" "৮")
  ("9" "৯"))

 (dependent
  ("@" (delete @-) "")
  ("#" (delete @-) "")
  ("~M" (delete @-) "ঁ")
  ("M" (delete @-) "ং")
  ("H" (delete @-) "ঃ")
  ("a" (delete @-) "")
  ("aa" (delete @-) "া")
  ("A" (delete @-) "া")
  ("i" (delete @-) "ি")
  ("I" (delete @-) "ী")
  ("u" (delete @-) "ু")
  ("U" (delete @-) "ূ")
  ("Ru" (delete @-) "ৃ")
  ("RU" (delete @-) "ৄ")
  ("Lu" (delete @-) "ৢ")
  ("LU" (delete @-) "ৣ")
  ("E" (delete @-) "")
  ("e" (delete @-) "ে")
  ("ai" (delete @-) "ৈ")
  ("~o" (delete @-) "")
  ("O" (delete @-) "")
  ("o" (delete @-) "ো")
  ("au" (delete @-) "ৌ")
  ("|" (delete @-) "।")
  (" " (delete @-) " ")
  ("    " (delete @-) " ")
  ("[" (delete @-) "[") 
  ("]" (delete @-) "]")
  ("{" (delete @-) "{")
  ("}" (delete @-) "}")
  ("(" (delete @-) "(")
  (")" (delete @-) ")")
  ("-" (delete @-) "-")
  ("+" (delete @-) "+")
  ("*" (delete @-) "*")
  ("/" (delete @-) "/")
  ("=" (delete @-) "=")
  (";" (delete @-) ";")
  (":" (delete @-) ":")
  ("." (delete @-) ".")
  ("," (delete @-) ",")
  ("\"" (delete @-) "\"")
  ("?" (delete @-) "?")
  ("!" (delete @-) "!")
  ("%" (delete @-) "%")
  ("\\" (delete @-) "\\")
  ("~" (delete @-) "~")
  ("_" (delete @-) "_")
  ("x" (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:
;; bn-baraha.mim -- Bengali input method mimicking the
;;                  closed-source Baraha system
;; Copyright (C) 2007, Gora Mohanty <g...@sarai.net>
;; 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 bn baraha)

(description "Bengali input method using the closed-source Baraha system.")

(title "ক")

(map
 (starter
  (".") ("~") ("$") ("^")
  ("0") ("1") ("2") ("3") ("4")
  ("5") ("6") ("7") ("8") ("9")
  ("A") ("B") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") ("L")
  ("N") ("O") ("P") ("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" "ঘ্")
  ("~g" "ঙ্")
  ("c" "চ্")
  ("ch" "চ্")
  ("C" "ছ্")
  ("Ch" "ছ্")
  ("j" "জ্")
  ("J" "ঝ্")
  ("jh" "ঝ্")
  ("~j" "ঞ্")
  ("T" "ট্")
  ("Th" "ঠ্")
  ("D" "ড্")
  ("Dh" "ঢ্")
  ("N" "ণ্")
  ("t" "ত্")
  ("th" "থ্")
  ("d" "দ্")
  ("dh" "ধ্")
  ("n" "ন্")
  ("p" "প্")
  ("P" "ফ্")
  ("ph" "ফ্")
  ("b" "ৰ")
  ("B" "ভ্")
  ("bh" "ভ্")
  ("m" "ম্")
  ("y" "য্")
  ("r" "র্")
  ("l" "ল্")
  ("L" "্")
  ("v" "ব্")
  ("w" "্")
  ("S" "শ্")
  ("sh" "শ্")
  ("Sh" "ষ্")
  ("s" "স্")
  ("h" "হ্")
  ("~h" "হ্")
  ("f" "্")
  ("Y" "য়্"))

 (independent
  ("a" "অ")
  ("aa" "আ")
  ("A" "আ")
  ("i" "ই")
  ("ee" "ই")
  ("ii" "ঈ")
  ("I" "ঈ")
  ("u" "উ")
  ("oo" "ঊ")
  ("U" "ঊ")
  ("Ru" "ঋ")
  ("RU" "ৠ")
  ("~Lu" "ঌ")
  ("~LU" "ৡ")
  ("~a" "")
  ("~e" "")
  ("E" "")
  ("e" "এ")
  ("ai" "ঐ")
  ("~o" "")
  ("O" "")
  ("o" "ও")
  ("ou" "ঔ")
  ("au" "ঔ")
  (".a" "ঽ")
  ("~~" "~")
  ("~@" "@")
  ("~#" "#")
  ("~$" "$")
  ("~^" "^")
  ("~&" "&")
  ("oum" "")
  ("^" "‍")
  ("^^" "‌")
  ("0" "০")
  ("1" "১")
  ("2" "২")
  ("3" "৩")
  ("4" "৪")
  ("5" "৫")
  ("6" "৬")
  ("7" "৭")
  ("8" "৮")
  ("9" "৯"))

 (dependent
  ("@" (delete @-) "")
  ("#" (delete @-) "")
  ("~M" (delete @-) "ঁ")
  ("M" (delete @-) "ং")
  ("H" (delete @-) "ঃ")
  ("a" (delete @-) "")
  ("aa" (delete @-) "া")
  ("A" (delete @-) "া")
  ("i" (delete @-) "ি")
  ("I" (delete @-) "ী")
  ("u" (delete @-) "ু")
  ("U" (delete @-) "ূ")
  ("Ru" (delete @-) "ৃ")
  ("RU" (delete @-) "ৄ")
  ("Lu" (delete @-) "ৢ")
  ("LU" (delete @-) "ৣ")
  ("E" (delete @-) "")
  ("e" (delete @-) "ে")
  ("ai" (delete @-) "ৈ")
  ("~o" (delete @-) "")
  ("O" (delete @-) "")
  ("o" (delete @-) "ো")
  ("au" (delete @-) "ৌ")
  ("|" (delete @-) "।")
  (" " (delete @-) " ")
  ("    " (delete @-) " ")
  ("[" (delete @-) "[") 
  ("]" (delete @-) "]")
  ("{" (delete @-) "{")
  ("}" (delete @-) "}")
  ("(" (delete @-) "(")
  (")" (delete @-) ")")
  ("-" (delete @-) "-")
  ("+" (delete @-) "+")
  ("*" (delete @-) "*")
  ("/" (delete @-) "/")
  ("=" (delete @-) "=")
  (";" (delete @-) ";")
  (":" (delete @-) ":")
  ("." (delete @-) ".")
  ("," (delete @-) ",")
  ("\"" (delete @-) "\"")
  ("?" (delete @-) "?")
  ("!" (delete @-) "!")
  ("%" (delete @-) "%")
  ("\\" (delete @-) "\\")
  ("~" (delete @-) "~")
  ("_" (delete @-) "_")
  ("x" (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:
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
IndLinux-group mailing list
IndLinux-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/indlinux-group

Reply via email to