* [Comm] Проблемы с mc
@ 2007-06-10 6:57 pavel
2007-06-10 8:42 ` Michael Shigorin
0 siblings, 1 reply; 14+ messages in thread
From: pavel @ 2007-06-10 6:57 UTC (permalink / raw)
To: ALT Linux Community
Тема прошлого месяца
ALT Linux 3.0 Compact
После исправления в /etc/bashrc.d/mc.sh
alias mc='reset; mc'
глюки исчезли, но когда запускаю mc от root'а - не отображаются русские
буквы. Подскажите, пожалуйста, решение проблемы.
С уважением, Павел
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Проблемы с mc
2007-06-10 6:57 [Comm] Проблемы с mc pavel
@ 2007-06-10 8:42 ` Michael Shigorin
2007-06-10 14:16 ` pavel
0 siblings, 1 reply; 14+ messages in thread
From: Michael Shigorin @ 2007-06-10 8:42 UTC (permalink / raw)
To: ALT Linux Community
On Sun, Jun 10, 2007 at 09:57:48AM +0300, pavel wrote:
> глюки исчезли, но когда запускаю mc от root'а - не отображаются
> русские буквы. Подскажите, пожалуйста, решение проблемы.
Сравните ~/.i18n у пользователя и root.
Достаточно перетащить LC_CTYPE и LC_COLLATE, кажется.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Проблемы с mc
2007-06-10 8:42 ` Michael Shigorin
@ 2007-06-10 14:16 ` pavel
2007-06-10 14:24 ` Roman Savochenko
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: pavel @ 2007-06-10 14:16 UTC (permalink / raw)
To: shigorin, ALT Linux Community
>>глюки исчезли, но когда запускаю mc от root'а - не отображаются
>>русские буквы. Подскажите, пожалуйста, решение проблемы.
>>
>>
>
>Сравните ~/.i18n у пользователя и root.
>
>Достаточно перетащить LC_CTYPE и LC_COLLATE, кажется.
>
>
Нету у пользователя .i18n, а у root:
LANGUAGE=POSIX
LANG=POSIX
eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf-8)$' /etc/sysconfig/i18n| sed
's,LANG=.*,NEED_UNICODE=1,'` ||:
Как быть? :-\
С уважением, Павел
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Проблемы с mc
2007-06-10 14:16 ` pavel
@ 2007-06-10 14:24 ` Roman Savochenko
2007-06-10 15:31 ` pavel
2007-06-10 14:46 ` [Comm] Проблемы с mc Motsyo Gennadi aka Drool
2007-06-10 18:33 ` Michael Shigorin
2 siblings, 1 reply; 14+ messages in thread
From: Roman Savochenko @ 2007-06-10 14:24 UTC (permalink / raw)
To: ALT Linux Community
pavel пишет:
>>> глюки исчезли, но когда запускаю mc от root'а - не отображаются
>>> русские буквы. Подскажите, пожалуйста, решение проблемы.
>> равните ~/.i18n у пользователя и root.
>>
>> Достаточно перетащить LC_CTYPE и LC_COLLATE, кажется.
> ету у пользователя .i18n, а у root:
>
> LANGUAGE=POSIX
> LANG=POSIX
>
> eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf-8)$' /etc/sysconfig/i18n| sed
> 's,LANG=.*,NEED_UNICODE=1,'` ||:
>
> Как быть? :-\
>
Гляньте здесь:
http://www.freesource.info/wiki/AltLinux/Sisyphus/DistrRelProt/ALTLinux3
С уважением, Роман
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Проблемы с mc
2007-06-10 14:24 ` Roman Savochenko
@ 2007-06-10 15:31 ` pavel
2007-06-10 16:16 ` Roman Savochenko
0 siblings, 1 reply; 14+ messages in thread
From: pavel @ 2007-06-10 15:31 UTC (permalink / raw)
To: ALT Linux Community
Roman Savochenko пишет:
>>>>глюки исчезли, но когда запускаю mc от root'а - не отображаются
>>>>русские буквы. Подскажите, пожалуйста, решение проблемы.
>>>>
>>>>
>>>сравните ~/.i18n у пользователя и root.
>>>
>>>Достаточно перетащить LC_CTYPE и LC_COLLATE, кажется.
>>>
>>>
>>Нету у пользователя .i18n, а у root:
>>
>>LANGUAGE=POSIX
>>LANG=POSIX
>>
>>eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf-8)$' /etc/sysconfig/i18n| sed
>>'s,LANG=.*,NEED_UNICODE=1,'` ||:
>>
>>Как быть? :-\
>>
>>
>>
>Гляньте здесь:
>http://www.freesource.info/wiki/AltLinux/Sisyphus/DistrRelProt/ALTLinux3
>
>
>
Спасибо! Разобрался с вашей помощью.
Сменил LANG=POSIX на LANG=ru_RU.UTF-8
...правда пришлось убрать из /etc/bashrc.d/mc.sh
alias mc='reset; mc'
сейчас:
alias mc='mc'
?или нужно как-то по-другому?
С уважением, Павел
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Проблемы с mc
2007-06-10 15:31 ` pavel
@ 2007-06-10 16:16 ` Roman Savochenko
2007-06-12 6:35 ` [Comm] Кодировка в 4 алте Васюк Максим
0 siblings, 1 reply; 14+ messages in thread
From: Roman Savochenko @ 2007-06-10 16:16 UTC (permalink / raw)
To: ALT Linux Community
pavel пишет:
>>>>> глюки исчезли, но когда запускаю mc от root'а - не отображаются
>>>>> русские буквы. Подскажите, пожалуйста, решение проблемы.
>>>> равните ~/.i18n у пользователя и root.
>>>>
>>>> Достаточно перетащить LC_CTYPE и LC_COLLATE, кажется.
>>> ету у пользователя .i18n, а у root:
>>>
>>> LANGUAGE=POSIX
>>> LANG=POSIX
>>>
>>> eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf-8)$' /etc/sysconfig/i18n| sed
>>> 's,LANG=.*,NEED_UNICODE=1,'` ||:
>>>
>>> Как быть? :-\
>> ляньте здесь:
>> http://www.freesource.info/wiki/AltLinux/Sisyphus/DistrRelProt/ALTLinux3
> пасибо! Разобрался с вашей помощью.
> Сменил LANG=POSIX на LANG=ru_RU.UTF-8
> ...правда пришлось убрать из /etc/bashrc.d/mc.sh
> alias mc='reset; mc'
> сейчас:
> alias mc='mc'
> ?или нужно как-то по-другому?
>
Мне хватило добавления строки "export LC_CTYPE=ru_RU.UTF-8" в /root/.bashrc.
С уважением, Роман
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Comm] Кодировка в 4 алте
2007-06-10 16:16 ` Roman Savochenko
@ 2007-06-12 6:35 ` Васюк Максим
2007-06-12 6:49 ` Eugene Ostapets
2007-06-12 6:52 ` Roman Savochenko
0 siblings, 2 replies; 14+ messages in thread
From: Васюк Максим @ 2007-06-12 6:35 UTC (permalink / raw)
To: ALT Linux Community
Здрасте!
У меня алт4 бета
Когда устанавливаешь Мастер 2.4 при установке есть выбор кодировки.
В установке 4 алта я такого не увидел.
По умолчанию ставиться utf8
Так что получается в 4 алте кодировку править тока ручками через i18n?
И меня опять терзают сомнения на какой кодировке быть. Или utf8 нынче
рульная весч? fedora core 6 по умолчанию ставит тоже utf8.
Подскажите по какому пути пойти. Хочется стандарта.
Заранее спасибо!!!
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Кодировка в 4 алте
2007-06-12 6:35 ` [Comm] Кодировка в 4 алте Васюк Максим
@ 2007-06-12 6:49 ` Eugene Ostapets
2007-06-12 7:53 ` Michael Shigorin
2007-06-12 6:52 ` Roman Savochenko
1 sibling, 1 reply; 14+ messages in thread
From: Eugene Ostapets @ 2007-06-12 6:49 UTC (permalink / raw)
To: ALT Linux Community
12.06.07, Васюк Максим<m_vasyuk mail.ru> написал(а):
> Здрасте!
> Так что получается в 4 алте кодировку править тока ручками через i18n?
Зачем ручками? Для этого есть alterator
>
> И меня опять терзают сомнения на какой кодировке быть. Или utf8 нынче
> рульная весч? fedora core 6 по умолчанию ставит тоже utf8.
Все дистрибутивы(кроме, кажется мандривы) из коробки ставят utf8 и это
нынче стандарт.
--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Кодировка в 4 алте
2007-06-12 6:49 ` Eugene Ostapets
@ 2007-06-12 7:53 ` Michael Shigorin
2007-06-12 7:54 ` Eugene Ostapets
0 siblings, 1 reply; 14+ messages in thread
From: Michael Shigorin @ 2007-06-12 7:53 UTC (permalink / raw)
To: ALT Linux Community
On Tue, Jun 12, 2007 at 09:49:47AM +0300, Eugene Ostapets wrote:
> > Так что получается в 4 алте кодировку править тока ручками через i18n?
> Зачем ручками? Для этого есть alterator
Жень, alterator-i18n выбросили. Я собирался подобрать и
доработать, но до этого и ещё пачки альтераторовых дел
просто не добираюсь.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Кодировка в 4 алте
2007-06-12 7:53 ` Michael Shigorin
@ 2007-06-12 7:54 ` Eugene Ostapets
2007-06-12 9:25 ` Michael Shigorin
0 siblings, 1 reply; 14+ messages in thread
From: Eugene Ostapets @ 2007-06-12 7:54 UTC (permalink / raw)
To: ALT Linux Community
12.06.07, Michael Shigorin<mike osdn.org.ua> написал(а):
> On Tue, Jun 12, 2007 at 09:49:47AM +0300, Eugene Ostapets wrote:
> > > Так что получается в 4 алте кодировку править тока ручками через i18n?
> > Зачем ручками? Для этого есть alterator
>
> Жень, alterator-i18n выбросили.
Опять?
> Я собирался подобрать и доработать, но до этого и ещё пачки
> альтераторовых дел просто не добираюсь.
Хм... А на чем он написан? Может я его захакаю?
--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Кодировка в 4 алте
2007-06-12 7:54 ` Eugene Ostapets
@ 2007-06-12 9:25 ` Michael Shigorin
0 siblings, 0 replies; 14+ messages in thread
From: Michael Shigorin @ 2007-06-12 9:25 UTC (permalink / raw)
To: ALT Linux Community; +Cc: Stanislav Ievlev
On Tue, Jun 12, 2007 at 10:54:57AM +0300, Eugene Ostapets wrote:
> > > > Так что получается в 4 алте кодировку править тока ручками через i18n?
> > > Зачем ручками? Для этого есть alterator
> > Жень, alterator-i18n выбросили.
> Опять?
Не опять, а в первый раз. :) То из инсталера 3.0 выбрасывали.
Причём Стас по доброте душевной грохнул и git, и пакет в сизифе
(начисто, даже не в obsolete).
У меня тут есть 0.4:
http://fly.osdn.org.ua/~mike/RPM/SRPMS/alterator-i18n-0.4-alt1.src.rpm
> > Я собирался подобрать и доработать, но до этого и ещё пачки
> > альтераторовых дел просто не добираюсь.
> Хм... А на чем он написан? Может я его захакаю?
Scheme (килобайт семь) и bash (полкило).
Есть мысль, что он же мог бы заниматься iocharset/locale
в /etc/fstab и ещё парой мест... что и собирался допилить.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Кодировка в 4 алте
2007-06-12 6:35 ` [Comm] Кодировка в 4 алте Васюк Максим
2007-06-12 6:49 ` Eugene Ostapets
@ 2007-06-12 6:52 ` Roman Savochenko
1 sibling, 0 replies; 14+ messages in thread
From: Roman Savochenko @ 2007-06-12 6:52 UTC (permalink / raw)
To: ALT Linux Community
Васюк Максим пишет:
> У меня алт4 бета
>
> Когда устанавливаешь Мастер 2.4 при установке есть выбор кодировки.
> В установке 4 алта я такого не увидел.
> По умолчанию ставиться utf8
>
> Так что получается в 4 алте кодировку править тока ручками через i18n?
>
> И меня опять терзают сомнения на какой кодировке быть. Или utf8 нынче
> рульная весч? fedora core 6 по умолчанию ставит тоже utf8.
>
> Подскажите по какому пути пойти. Хочется стандарта.
>
Лично у меня ни каких проблем с utf8 на ALT4 не возникло, разве что
может потребоваться локаль на koi8 для старого софта вроде фидошного, но
это, обычно, решается в локальном порядке без смены общей локали
системы. Следовательно менять на koi8 нет ни каких причин, как минимум
для меня.
С уважением, Роман
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Проблемы с mc
2007-06-10 14:16 ` pavel
2007-06-10 14:24 ` Roman Savochenko
@ 2007-06-10 14:46 ` Motsyo Gennadi aka Drool
2007-06-10 18:33 ` Michael Shigorin
2 siblings, 0 replies; 14+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-06-10 14:46 UTC (permalink / raw)
To: ALT Linux Community
pavel пишет:
>>> глюки исчезли, но когда запускаю mc от root'а - не отображаются
>>> русские буквы. Подскажите, пожалуйста, решение проблемы.
>>>
>>>
>> Сравните ~/.i18n у пользователя и root.
>>
>> Достаточно перетащить LC_CTYPE и LC_COLLATE, кажется.
>>
>>
> Нету у пользователя .i18n, а у root:
>
> LANGUAGE=POSIX
> LANG=POSIX
>
> eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf-8)$' /etc/sysconfig/i18n| sed
> 's,LANG=.*,NEED_UNICODE=1,'` ||:
>
> Как быть? :-\
У меня так:
cat ~/.i18n
LANG=ru_RU.CP1251
LANGUAGE=ru_RU.CP1251
SYSFONTACM=cp1251
SYSFONT=UniCyr_8x16
DICTIONARY=russianw
MPAGE="-CCP1251"
export DICTIONARY MPAGE
Подставьте свою локаль.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [Comm] Проблемы с mc
2007-06-10 14:16 ` pavel
2007-06-10 14:24 ` Roman Savochenko
2007-06-10 14:46 ` [Comm] Проблемы с mc Motsyo Gennadi aka Drool
@ 2007-06-10 18:33 ` Michael Shigorin
2 siblings, 0 replies; 14+ messages in thread
From: Michael Shigorin @ 2007-06-10 18:33 UTC (permalink / raw)
To: ALT Linux Community
On Sun, Jun 10, 2007 at 05:16:45PM +0300, pavel wrote:
> >>глюки исчезли, но когда запускаю mc от root'а - не отображаются
> >>русские буквы. Подскажите, пожалуйста, решение проблемы.
> >Сравните ~/.i18n у пользователя и root.
> >Достаточно перетащить LC_CTYPE и LC_COLLATE, кажется.
> Нету у пользователя .i18n, а у root:
>
> LANGUAGE=POSIX
> LANG=POSIX
>
> eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf-8)$' /etc/sysconfig/i18n| sed
> 's,LANG=.*,NEED_UNICODE=1,'` ||:
>
> Как быть? :-\
У меня так:
home:~> cat .i18n
LANG=ru_RU.KOI8-R
LANGUAGE=ru_RU.KOI8-R:uk_UA.KOI8-U
LC_CTYPE=uk_UA.KOI8-U
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=uk_UA.KOI8-U
LC_MONETARY=C
LC_MESSAGES=C
SYSFONT=UniCyr_8x16
SYSFONTACM=koi8-u
Посмотрите тогда /etc/sysconfig/i18n ещё.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-06-12 9:25 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-10 6:57 [Comm] Проблемы с mc pavel
2007-06-10 8:42 ` Michael Shigorin
2007-06-10 14:16 ` pavel
2007-06-10 14:24 ` Roman Savochenko
2007-06-10 15:31 ` pavel
2007-06-10 16:16 ` Roman Savochenko
2007-06-12 6:35 ` [Comm] Кодировка в 4 алте Васюк Максим
2007-06-12 6:49 ` Eugene Ostapets
2007-06-12 7:53 ` Michael Shigorin
2007-06-12 7:54 ` Eugene Ostapets
2007-06-12 9:25 ` Michael Shigorin
2007-06-12 6:52 ` Roman Savochenko
2007-06-10 14:46 ` [Comm] Проблемы с mc Motsyo Gennadi aka Drool
2007-06-10 18:33 ` Michael Shigorin
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