ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexej Kryukov <akrioukov@kengu.ru>
To: community@altlinux.ru
Subject: Re: [Comm] cyrillic input in wine
Date: Thu, 17 Apr 2003 23:21:50 +0400
Message-ID: <200304172321.50351.akrioukov@kengu.ru> (raw)
In-Reply-To: <200304172151.31292.is-lists@istudio.ru>

On Thursday 17 April 2003 20:53, Stepin Igor wrote:

> В сообщении от 16 Апрель 2003 23:58 Alex Khroustalev написал:
> > Каким образом можно научить wine вводить русские символы при
> > системной локали cp1251? А то при нажатии клавиши "п" отображается
> > "О" и т.п.
>
> Как завещал
>
> В сообщении от 17 Апрель 2003 00:18 Alexej Kryukov:
> > А для себя я эту проблему решаю правкой исходников:
> > в файле dlls/x11drv/keyboard.c надо
>
> добавить
>
> /*** 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 */
> };

А, теперь понял. С этой таблицей вообще-то имеет место очень странное
колдовство. Она, конечно, явно в koi8. Поэтому с моей стороны первым
же движением было перегнать ее в cp1251. Но после этого wine вообще
отказался находить русскую раскладку: говорил, что будет вместо нее
брать не то болгарскую, не то белорусскую (тоже cp1251). Хотя фактически
эта раскладка всё равно была русской (видать, болгаризация там кривая).
Методом проб и ошибок удалось установить, что достаточно только
тех исправлений, которые я указал в предыдущем письме.


>
> и
>
> {"Russian keyboard layout cp1251 (phantom key version)", 1251,
> &main_key_RU_cp1251_phantom, &main_key_scan_qwerty,
> &main_key_vkey_qwerty},
>
> в соответствующих местах (например, после похожих записей про
> koi8-r).



      reply	other threads:[~2003-04-17 19:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16 18:58 Alex Khroustalev
2003-04-16 19:18 ` Alexej Kryukov
2003-04-17 16:52   ` Stepin Igor
2003-04-17 19:06     ` Alexej Kryukov
2003-04-29 15:31       ` Stepin Igor
2003-04-16 19:20 ` Vitaly Lipatov
2003-04-16 21:40 ` Maksim Otstavnov
2003-04-17  7:22   ` Roman Savelyev
2003-04-17 14:39     ` Re[2]: " Maksim Otstavnov
2003-04-17 16:53 ` Stepin Igor
2003-04-17 19:21   ` Alexej Kryukov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304172321.50351.akrioukov@kengu.ru \
    --to=akrioukov@kengu.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git