From: Aleksey Novodvorsky <aen@logic.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] XKB & cp1251 Date: Sun May 13 12:42:00 2001 Message-ID: <3AFE1491.BF0B9B29@logic.ru> (raw) In-Reply-To: <01051313343300.03115@crazystation.localdomain> Alex Yemelyanov wrote: > On Saturday 12 May 2001 18:49, you wrote: > > Hello > > > Alex Yemelyanov wrote: > > > Hello all, > > > > > > давно хотел узнать, как правильно прикрутить cp1251 ввод к XFree через > > > xkb. > > > > > > Я попросту подправил файл ../symbols/ru. Но с новой версией XFree > > > приходится копировать туда файлик - неужели до сих пор не включили в X > > > описание cp1251 раскладки или никому не нужна эта поддержка ? > > > > Вы неправильно ставите вопрос. Раскладки xkb не зависят от кодировки, они > > состоят из keysyms -- названий клавиш. А код вводимого символа опредеяется > > в зависимости от текущей locale. > > Да, спасибо, я предполагал, что именно так. > Но я имел ввиду возможность ввода символов в cp1251 и koi8-r одновременно. Одновременно в одном приложении? Я что-то затрудняюсь представить этому применение. А в разных -- можно. В принципе, можно сделать иконки на столе, при перемещении на которые приложение запускается в соответствующей locale. > > > > То есть, если Вы запустите приложение с LANG=ru_RU.CP1251, то вводится > > будут симовлы именно в этой кодировке, если в ru_RU, то ввод будет в 8859-5 > > etc. > > > > Rgrds, AEN > > В принципе нормально, тогда будем делать скриптик для программ требующих > cp1251. #! /bin/sh unset LANGUAGE LANG=ru_RU.CP1251 $@ Rgrds, AEN
next prev parent reply other threads:[~2001-05-13 12:42 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-05-12 18:53 Alex Yemelyanov 2001-05-12 19:33 ` Aleksey Novodvorsky 2001-05-13 10:28 ` Alex Yemelyanov 2001-05-13 12:42 ` Aleksey Novodvorsky [this message] 2001-05-14 11:12 ` Mikhail Zabaluev
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=3AFE1491.BF0B9B29@logic.ru \ --to=aen@logic.ru \ --cc=mandrake-russian@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