From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Stepin Igor Organization: iStudio.Ru To: community@altlinux.ru Subject: Re: [Comm] cyrillic input in wine Date: Tue, 29 Apr 2003 20:31:56 +0500 User-Agent: KMail/1.5 References: <1050519499.5108.8.camel@svintuss.voxnet.ru> <200304172143.40303.is-lists@istudio.ru> <200304172306.34275.akrioukov@kengu.ru> In-Reply-To: <200304172306.34275.akrioukov@kengu.ru> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_srpr+fURNkIwJkY" Message-Id: <200304292031.56018.is-lists@istudio.ru> Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru X-Reply-To: is-lists@istudio.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --Boundary-00=_srpr+fURNkIwJkY Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline В сообщении от 18 Апрель 2003 00:06 Alexej Kryukov написал: > Не совсем понял, чтО не работает. Мое предложение по > правке файла? Да. Вводит не те русские буквы. > К сожалению, не могу протестировать на текущей версии > wine, т. к. там имеет место bug 1212, из-за которого > не отображаются шрифты в одном критически важном > приложении. Поэтому я вынужден использовать последнюю > версию, где этого глюка не было, а именно 20020904. Попробуйте патч. На нескольких последних cvs версиях работает. -- С уважением, Степин Игорь. --Boundary-00=_srpr+fURNkIwJkY Content-Type: text/x-diff; charset="koi8-r"; name="keyboard_cp1251.diff" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="keyboard_cp1251.diff" diff -ur wc/dlls/x11drv/keyboard.c wn/dlls/x11drv/keyboard.c --- wc/dlls/x11drv/keyboard.c 2003-04-24 08:58:34 +0500 +++ wn/dlls/x11drv/keyboard.c 2003-04-09 14:40:54 +0500 @@ -406,6 +406,16 @@ "<>" /* the phantom key */ }; +/*** Russian keyboard layout cp1251 (phantom key version) */ +static const char main_key_RU_cp1251_phantom[MAIN_LEN][4] = +{ + "`~","1!","2@","3#","4$","5%","6^","7&","8*","9(","0)","-_","=+", + "qQИи","wWЖж","eEСс","rRЙй","tTЕе","yYМм","uUЦц","iIЬь","oOЫы","pPГг","[{Уу","]}Зз", + "aAТт","sSШш","dDБб","fFЮю","gGОо","hHПп","jJНн","kKКк","lLДд",";:Фф","'\"Щщ","\\|", + "zZЪъ","xXВв","cCЯя","vVЛл","bBХх","nNРр","mMЭэ",",<Аа",".>Чч","/?", + "<>" /* the phantom key */ +}; + /*** Russian keyboard layout KOI8-R */ static const char main_key_RU_koi8r[MAIN_LEN][4] = { @@ -702,6 +712,7 @@ {"Belarusian keyboard layout", 1251, &main_key_BY, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"Russian keyboard layout", 20866, &main_key_RU, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"Russian keyboard layout (phantom key version)", 20866, &main_key_RU_phantom, &main_key_scan_qwerty, &main_key_vkey_qwerty}, + {"Russian keyboard layout cp1251 (phantom key version)", 1251, &main_key_RU_cp1251_phantom, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"Russian keyboard layout KOI8-R", 20866, &main_key_RU_koi8r, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"Ukrainian keyboard layout KOI8-U", 20866, &main_key_UA, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"Spanish keyboard layout", 28605, &main_key_ES, &main_key_scan_qwerty, &main_key_vkey_qwerty}, --Boundary-00=_srpr+fURNkIwJkY--