ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: lleo <lleo@aha.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Смена системной кодировки в ALC3
Date: Wed, 16 Aug 2006 00:01:33 +0400
Message-ID: <200608160001.33314.lleo@aha.ru> (raw)
In-Reply-To: <44E2252F.6050101@mail.nnov.ru>

В сообщении от Вт 15 Август 2006 23:49 Sergey написал(a):
> Здавствуйте.
> Поставил недавно Alt Linux Compact 3.0. При установке не спрашивалось
> какая должна быть кодировка системы по умолчанию, и поставилась utf8, а
> хотелось бы koi8-r.
> Отсюда вопрос: как сменить во всей системе кодировку по умолчанию на
> koi8-r? В
>  "К" -> Настройки -> Alt Linux -> Региональные настройки" кодировка
> меняется только у того пользователя который ее меняет, это так и должно
> быть?

В директории /home/user есть малоприметный файлик ".i18n", сделай его таким:

=== .i18n ===
LANG=ru_RU.KOI8-R
LANGUAGE=ru_RU.KOI8-R
SYSFONTACM=koi8-r
SYSFONT=UniCyr_8x16
DICTIONARY=russian
MPAGE="-CKOI8-R"
export DICTIONARY MPAGE
==========


PS: Кстати о кодировках: почему mcedit от Midnight Commander в новом Compact 
3.0 в режиме редатора не отображает разные кодировки - это большой вопрос. В 
режиме вьювера прекрасно отображает. А уж как бахвалится...

[lleo@lleo]$ mcedit -V
GNU Midnight Commander, версия 4.6.1
Виртуальная файловая система: tarfs, extfs, cpiofs, ftpfs, fish, undelfs
Со встроенным редактором
С установленной в системе библиотекой S-Lang с базой данных terminfo
C поддержкой внутренней командной оболочки
С поддержкой фоновых операций
С поддержкой мыши в xterm и консоли Linux
С поддержкой интернационализации
С поддержкой многих кодировок

---
c уважением, Леонид Каганов
сайт автора http://lleo.aha.ru

  parent reply	other threads:[~2006-08-15 20:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15 19:49 ` Sergey
2006-08-15 19:53   ` Andrey Rahmatullin
2006-08-15 20:01   ` lleo [this message]
2006-08-16  7:40     ` Sergey Vlasov
2006-08-16 11:21     ` Yuriy Al. Shirokov
2006-08-16 12:10       ` Michael Shigorin

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=200608160001.33314.lleo@aha.ru \
    --to=lleo@aha.ru \
    --cc=community@lists.altlinux.org \
    /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