* [Comm] переход koi8-r -> cp1251 @ 2004-06-07 20:03 "Oleg K." 2004-06-07 21:11 ` Alexej Kryukov 2004-06-08 6:48 ` Alexander Leschinsky 0 siblings, 2 replies; 15+ messages in thread From: @ 2004-06-07 20:03 UTC (permalink / raw) ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] переход koi8-r -> cp1251 2004-06-07 20:03 [Comm] переход koi8-r -> cp1251 "Oleg K." @ 2004-06-07 21:11 ` Alexej Kryukov 2004-06-09 13:40 ` Re[2]: " "Oleg K." 2004-06-08 6:48 ` Alexander Leschinsky 1 sibling, 1 reply; 15+ messages in thread From: Alexej Kryukov @ 2004-06-07 21:11 UTC (permalink / raw) To: community On Tuesday 08 June 2004 00:03, Oleg K. wrote: > Здравствуйте. > > При установке Compact задал кодировку koi8-r. > Но с ней неудобно в плане совместимости с Windows(tm). Поосторожнее с такими мотивациями своих действий ;-) Хотя само по себе предпочтение CP1251 вполне оправдано, но сейчас ведь найдется двадцать человек, которые напишут, что используют koi8, и с совместимостью у них при этом всё в порядке. > Решил перейти на cp1251. > В ~/.i18n пишу: > LANG=ru_RU.CP1251 > LANGUAGE=ru_RU.CP1251 > SYSFONTACM=cp1251 > SYSFONT=UniCyr_8x16 > DICTIONARY=russian > MPAGE="-CCP1251" > export DICTIONARY MPAGE > В результате получаю крякобязы. Что я сделал не так? Насколько я вижу, всё правильно. А вот вопрос поставлен некорректно. Объяснять же надо, где именно и какие кракозябры. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re[2]: [Comm] переход koi8-r -> cp1251 2004-06-07 21:11 ` Alexej Kryukov @ 2004-06-09 13:40 ` "Oleg K." 2004-06-09 14:48 ` Alexej Kryukov 2004-06-09 14:50 ` [Comm] переход koi8-r -> cp1251 Alexey Morsov 0 siblings, 2 replies; 15+ messages in thread From: "Oleg K." @ 2004-06-09 13:40 UTC (permalink / raw) To: community Alexej Kryukov пишет: > On Tuesday 08 June 2004 00:03, Oleg K. wrote: > > Решил перейти на cp1251. > > В ~/.i18n пишу: [...] > > В результате получаю крякобязы. Что я сделал не так? > Насколько я вижу, всё правильно. А вот вопрос поставлен > некорректно. Объяснять же надо, где именно и какие > кракозябры. В консоли: с набором проблем нет, а вот обычные текстовые файлы в кодировке 1251 не читаются. Также наблюдаются "кракобязы" в интерфейсе, например, links1. В xterm: проблема как с чтением, так и набором. В остальных программах для X все в порядке. Вид у "кракобяз": кХМСЙЯ (Линукс). С уважением, Олег ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re[2]: [Comm] переход koi8-r -> cp1251 2004-06-09 13:40 ` Re[2]: " "Oleg K." @ 2004-06-09 14:48 ` Alexej Kryukov 2004-06-09 22:31 ` Re[4]: [Comm] переход koi8-r ->cp1251 "Oleg K." 2004-06-09 14:50 ` [Comm] переход koi8-r -> cp1251 Alexey Morsov 1 sibling, 1 reply; 15+ messages in thread From: Alexej Kryukov @ 2004-06-09 14:48 UTC (permalink / raw) To: community On Wednesday 09 June 2004 17:40, Oleg K. wrote: > > В консоли: с набором проблем нет, а вот обычные текстовые файлы > в кодировке 1251 не читаются. Также наблюдаются "кракобязы" в > интерфейсе, например, links1. > В xterm: проблема как с чтением, так и набором. > В остальных программах для X все в порядке. В консоли: в какой программе открываете текстовые файлы? В xterm: опять же, в какой программе? ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re[4]: [Comm] переход koi8-r ->cp1251 2004-06-09 14:48 ` Alexej Kryukov @ 2004-06-09 22:31 ` "Oleg K." 2004-06-10 6:41 ` Alexej Kryukov 0 siblings, 1 reply; 15+ messages in thread From: "Oleg K." @ 2004-06-09 22:31 UTC (permalink / raw) To: community Alexej Kryukov пишет: > On Wednesday 09 June 2004 17:40, Oleg K. wrote: > > В консоли: с набором проблем нет, а вот обычные текстовые файлы > > в кодировке 1251 не читаются. Также наблюдаются "кракобязы" в > > интерфейсе, например, links1. > > В xterm: проблема как с чтением, так и набором. > > В остальных программах для X все в порядке. > > В консоли: в какой программе открываете текстовые файлы? > В xterm: опять же, в какой программе? В обоих случаях в Vi. Конечно, Vi можно настроить на показ файлов в различных кодировках, но это не выход. Хочется все же перейти на cp1251 (к примеру, для того, чтобы иметь возможность воспользоваться утилитой cat :) без переустановки системы. С уважением, Олег ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re[4]: [Comm] переход koi8-r ->cp1251 2004-06-09 22:31 ` Re[4]: [Comm] переход koi8-r ->cp1251 "Oleg K." @ 2004-06-10 6:41 ` Alexej Kryukov 2004-06-10 6:52 ` Alexey I. Froloff 2004-06-10 21:58 ` Re[6]: [Comm] переход koi8-r -> cp1251 "Oleg K." 0 siblings, 2 replies; 15+ messages in thread From: Alexej Kryukov @ 2004-06-10 6:41 UTC (permalink / raw) To: community On Thursday 10 June 2004 02:31, Oleg K. wrote: > > > > В консоли: в какой программе открываете текстовые файлы? > > В xterm: опять же, в какой программе? > > В обоих случаях в Vi. > Конечно, Vi можно настроить на показ файлов в различных кодировках, > но это не выход. Хочется все же перейти на cp1251 (к примеру, для > того, чтобы иметь возможность воспользоваться утилитой cat :) без > переустановки системы. Не понял. Какая связь между переустановкой системы (!) и настройкой Vi? А дело в том, что Vi(m) в любом случае так и так нужно настраивать, ибо этот редактор изначально предназначен для работы с разными кодировками. Если он настроен на koi8 (что естественно), то Вы не получите в нем cp1251, если даже общесистемные параметры тому не препятствуют. Посему проверьте сначала, всё ли в порядке в *чистой* консоли и *чистом* xterm (хотя бы путем ввода русских символов прямо в командную строку и чтения существующих файлов той же утилитой cat). И если в порядке, значит, тему следует озаглавить "как мне настроить vim". И тогда, конечно, .vimrc в студию... ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re[4]: [Comm] переход koi8-r ->cp1251 2004-06-10 6:41 ` Alexej Kryukov @ 2004-06-10 6:52 ` Alexey I. Froloff 2004-06-10 21:58 ` Re[6]: [Comm] переход koi8-r -> cp1251 "Oleg K." 1 sibling, 0 replies; 15+ messages in thread From: Alexey I. Froloff @ 2004-06-10 6:52 UTC (permalink / raw) To: ALT Linux Community [-- Attachment #1: Type: text/plain, Size: 922 bytes --] * Alexej Kryukov <akrioukov@> [040610 10:42]: > > В обоих случаях в Vi. > > Конечно, Vi можно настроить на показ файлов в различных кодировках, > > но это не выход. Хочется все же перейти на cp1251 (к примеру, для > > того, чтобы иметь возможность воспользоваться утилитой cat :) без > > переустановки системы. > Не понял. Какая связь между переустановкой системы (!) и настройкой > Vi? А дело в том, что Vi(m) в любом случае так и так нужно настраивать, > ибо этот редактор изначально предназначен для работы с разными > кодировками. Если он настроен на koi8 (что естественно), то Вы не > получите в нем cp1251, если даже общесистемные параметры тому > не препятствуют. :help 'encoding' :help 'fileencoding' :help 'termencoding' :help ++enc -- Regards, Sir Raorn. ------------------- По дизайну и реализации apcupsd существенно хуже nut. Это примерно как wu-ftpd vs vsftpd. -- ldv in sisyphus@ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re[6]: [Comm] переход koi8-r -> cp1251 2004-06-10 6:41 ` Alexej Kryukov 2004-06-10 6:52 ` Alexey I. Froloff @ 2004-06-10 21:58 ` "Oleg K." 2004-06-10 22:32 ` Alexej Kryukov 1 sibling, 1 reply; 15+ messages in thread From: "Oleg K." @ 2004-06-10 21:58 UTC (permalink / raw) To: community Alexej Kryukov пишет: > On Thursday 10 June 2004 02:31, Oleg K. wrote: > > > В консоли: в какой программе открываете текстовые файлы? > > > В xterm: опять же, в какой программе? > > В обоих случаях в Vi. > > Конечно, Vi можно настроить на показ файлов в различных кодировках, > > но это не выход. Хочется все же перейти на cp1251 (к примеру, для > > того, чтобы иметь возможность воспользоваться утилитой cat :) без > > переустановки системы. > Не понял. Какая связь между переустановкой системы (!) и настройкой > Vi? Естественно, связи нет. Допустим, Vi я настрою. Как быть с утилитой cat? > Посему проверьте сначала, всё ли в порядке в *чистой* консоли и > *чистом* xterm (хотя бы путем ввода русских символов прямо в > командную строку и чтения существующих файлов той же утилитой cat). В консоли с вводом русских символов проблем не наблюдается, а вот в xterm -- "кракобязы". С чтением файлов с кодировкой 1251 утилитой cat есть проблемы как в чистой консоли, так и в xterm. С уважением, Олег ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Re[6]: [Comm] переход koi8-r -> cp1251 2004-06-10 21:58 ` Re[6]: [Comm] переход koi8-r -> cp1251 "Oleg K." @ 2004-06-10 22:32 ` Alexej Kryukov 2004-06-11 23:41 ` Re[8]: [Comm] переход koi8-r ->cp1251 "Oleg K." 0 siblings, 1 reply; 15+ messages in thread From: Alexej Kryukov @ 2004-06-10 22:32 UTC (permalink / raw) To: community On Friday 11 June 2004 01:58, Oleg K. wrote: > > Посему проверьте сначала, всё ли в порядке в *чистой* консоли и > > *чистом* xterm (хотя бы путем ввода русских символов прямо в > > командную строку и чтения существующих файлов той же утилитой cat). > > В консоли с вводом русских символов проблем не наблюдается, а вот в > xterm -- "кракобязы". > С чтением файлов с кодировкой 1251 утилитой cat есть проблемы как > в чистой консоли, так и в xterm. Ну, для xterm, скорее всего, просто надо правильный шрифт прописать. Допустим, в ~/.Xdefaults: xterm*font:-misc-fixed-medium-r-normal--20-200-75-75-c-100-microsoft-cp1251 А что у Вас в консоли, я не знаю. Можно попробовать проделать вручную контрольную последовательность команд, то есть: setfont UniCyr_8x16 mapscrn cp1251 loadkeys ru_что-нибудь_cp1251 Если после этого всё придет в норму, тогда разбирайтесь, что из перечисленного у Вас не загрузилось... ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re[8]: [Comm] переход koi8-r ->cp1251 2004-06-10 22:32 ` Alexej Kryukov @ 2004-06-11 23:41 ` "Oleg K." 0 siblings, 0 replies; 15+ messages in thread From: "Oleg K." @ 2004-06-11 23:41 UTC (permalink / raw) To: community Alexej Kryukov пишет: > Ну, для xterm, скорее всего, просто надо правильный шрифт прописать. > Допустим, в ~/.Xdefaults: > xterm*font:-misc-fixed-medium-r-normal--20-200-75-75-c-100-microsoft-cp1251 Не помогает. Пробовал другие шрифты из пакета XFree86-cyr_rfx-fonts-cp1251 -- то же самое. > А что у Вас в консоли, я не знаю. Можно попробовать проделать > вручную контрольную последовательность команд, то есть: > > setfont UniCyr_8x16 > mapscrn cp1251 > loadkeys ru_что-нибудь_cp1251 Заработало. > Если после этого всё придет в норму, тогда разбирайтесь, > что из перечисленного у Вас не загрузилось... Вот что обнаружил в /var/log/messages: loadkeys: Loading /usr/lib/kbd/keymaps/i386/qwerty/ruwin_ct_sh-KOI8-R.kmap.gz Нашел файл (/etc/sysconfig/keyboard), в котором это можно поменять. Заменил KBCHARSET=koi8-r KEYTABLE=ruwin_ct_sh-KOI8-R на KBCHARSET=cp1251 KEYTABLE=ruwin_ct_sh-CP1251 и проблема разрешилась. Спасибо за наводку! С уважением, Олег ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] переход koi8-r -> cp1251 2004-06-09 13:40 ` Re[2]: " "Oleg K." 2004-06-09 14:48 ` Alexej Kryukov @ 2004-06-09 14:50 ` Alexey Morsov 2004-06-09 18:03 ` [Comm] переход koi8-r ->cp1251 Alexej Kryukov 2004-06-09 22:31 ` Re[2]: [Comm] переход koi8-r -> cp1251 "Oleg K." 1 sibling, 2 replies; 15+ messages in thread From: Alexey Morsov @ 2004-06-09 14:50 UTC (permalink / raw) To: community Oleg K. wrote: > Alexej Kryukov пишет: > >>On Tuesday 08 June 2004 00:03, Oleg K. wrote: >> >>>Решил перейти на cp1251. >>>В ~/.i18n пишу: > > [...] > >>>В результате получаю крякобязы. Что я сделал не так? >> >>Насколько я вижу, всё правильно. А вот вопрос поставлен >>некорректно. Объяснять же надо, где именно и какие >>кракозябры. > > > В консоли: с набором проблем нет, а вот обычные текстовые файлы > в кодировке 1251 не читаются. Также наблюдаются "кракобязы" в MC умеет смотреть cp1251 - когда смотришь файл жми Ctrl-T - и выбирай cp1251... > интерфейсе, например, links1. links настраиваеться > В xterm: проблема как с чтением, так и набором. Это проблема не xterm а шрифта который он использует > В остальных программах для X все в порядке. > > Вид у "кракобяз": кХМСЙЯ (Линукс). > > С уважением, > Олег > _______________________________________________ > Community mailing list > Community@altlinux.ru > https://lists.altlinux.ru/mailman/listinfo/community > -- Всего наилучшего, Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ" Алексей Морсов http://www.ricom.ru http://www.fondmarket.ru ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] переход koi8-r ->cp1251 2004-06-09 14:50 ` [Comm] переход koi8-r -> cp1251 Alexey Morsov @ 2004-06-09 18:03 ` Alexej Kryukov 2004-06-09 22:31 ` Re[2]: [Comm] переход koi8-r -> cp1251 "Oleg K." 1 sibling, 0 replies; 15+ messages in thread From: Alexej Kryukov @ 2004-06-09 18:03 UTC (permalink / raw) To: community On Wednesday 09 June 2004 18:50, Alexey Morsov wrote: > > > > В консоли: с набором проблем нет, а вот обычные текстовые файлы > > в кодировке 1251 не читаются. Также наблюдаются "кракобязы" в > > MC умеет смотреть cp1251 - когда смотришь файл жми Ctrl-T - и > выбирай cp1251... О чем Вы? При перечисленных настройках cp1251 должна показываться по умолчанию. Так что достоинство mc применительно к данному случаю заключается, наоборот, в том, что он умеет показывать koi8 ;-) ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re[2]: [Comm] переход koi8-r -> cp1251 2004-06-09 14:50 ` [Comm] переход koi8-r -> cp1251 Alexey Morsov 2004-06-09 18:03 ` [Comm] переход koi8-r ->cp1251 Alexej Kryukov @ 2004-06-09 22:31 ` "Oleg K." 1 sibling, 0 replies; 15+ messages in thread From: "Oleg K." @ 2004-06-09 22:31 UTC (permalink / raw) To: community Alexey Morsov пишет: > MC умеет смотреть cp1251 - когда смотришь файл жми Ctrl-T - и > выбирай cp1251... Я не пользуюсь mc. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] переход koi8-r -> cp1251 2004-06-07 20:03 [Comm] переход koi8-r -> cp1251 "Oleg K." 2004-06-07 21:11 ` Alexej Kryukov @ 2004-06-08 6:48 ` Alexander Leschinsky 2004-06-09 13:42 ` Re[2]: " "Oleg K." 1 sibling, 1 reply; 15+ messages in thread From: Alexander Leschinsky @ 2004-06-08 6:48 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 353 bytes --] Hello Oleg, On Tue, 08 Jun 2004 00:03:12 +0400 (08.06.2004 2:03 my local time), you wrote, at least in part: > В результате получаю крякобязы. "Я угодаю с одного предложения"... Проблемы при монтровании виндовых разделов? > Что я сделал не так? Не RTFM "man mount", если моя догадка верна -- Best regards, Alexander Leschinsky [-- Attachment #2: Type: application/pgp-signature, Size: 201 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re[2]: [Comm] переход koi8-r -> cp1251 2004-06-08 6:48 ` Alexander Leschinsky @ 2004-06-09 13:42 ` "Oleg K." 0 siblings, 0 replies; 15+ messages in thread From: "Oleg K." @ 2004-06-09 13:42 UTC (permalink / raw) To: community Alexander Leschinsky пишет: > "Я угодаю с одного предложения"... Проблемы при монтровании виндовых > разделов? нет ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2004-06-11 23:41 UTC | newest] Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-06-07 20:03 [Comm] переход koi8-r -> cp1251 "Oleg K." 2004-06-07 21:11 ` Alexej Kryukov 2004-06-09 13:40 ` Re[2]: " "Oleg K." 2004-06-09 14:48 ` Alexej Kryukov 2004-06-09 22:31 ` Re[4]: [Comm] переход koi8-r ->cp1251 "Oleg K." 2004-06-10 6:41 ` Alexej Kryukov 2004-06-10 6:52 ` Alexey I. Froloff 2004-06-10 21:58 ` Re[6]: [Comm] переход koi8-r -> cp1251 "Oleg K." 2004-06-10 22:32 ` Alexej Kryukov 2004-06-11 23:41 ` Re[8]: [Comm] переход koi8-r ->cp1251 "Oleg K." 2004-06-09 14:50 ` [Comm] переход koi8-r -> cp1251 Alexey Morsov 2004-06-09 18:03 ` [Comm] переход koi8-r ->cp1251 Alexej Kryukov 2004-06-09 22:31 ` Re[2]: [Comm] переход koi8-r -> cp1251 "Oleg K." 2004-06-08 6:48 ` Alexander Leschinsky 2004-06-09 13:42 ` Re[2]: " "Oleg K."
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