ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuriy <law@fm.com.ua>
To: "Community@lists.altlinux.org" <Community@lists.altlinux.org>
Subject: [Comm] кодировка при запуске через screen и init
Date: Wed, 30 Sep 2009 14:07:24 +0300
Message-ID: <4AC33BEC.9090801@fm.com.ua> (raw)

Здравствуйте,

Запускаю rtorrent через screen при загрузке системы через init.d
скрипт запуска взял тут: 
http://libtorrent.rakshasa.no/raw-attachment/wiki/R.../rtorrentInit.sh 
(прилагаю в файле rtorrent.init.txt)

после загрузки оси (в Х-ах) открываю терминал и набираю screen -r
- появляется окно rtorrent, но закачки с русским названием файлов 
показываются крякозябликами.
- выхожу из screen rtorrent (Ctrl+D) и запускаю rtorrent сам по себе - 
без скрина - та же история, крякозяблики. проверяю локаль:
[albatross@localhost torrents]$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
[albatross@localhost torrents]$

Закрываю это окно c терминалом, открываю новое - там нормальная локаль
[albatross@localhost ~]$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
[albatross@localhost ~]

[albatross@localhost ~]$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=
[albatross@localhost ~]
и соответственно rtorrent всё нормально показывает.
Подскажите пожалуйста, где рыть чтоб исравить это дело?

screen устанавливал через apt.

-- 
Система -  ALTD 5.0 (прототип)
- apt настроен на
rpm ftp://ftp.linux.kiev.ua/pub/Linux/ALT/5.0/branch/ i586 classic
rpm ftp://ftp.linux.kiev.ua/pub/Linux/ALT/5.0/branch/ noarch classic



             reply	other threads:[~2009-09-30 11:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30 11:07 Yuriy [this message]
2009-09-30 11:12 ` Yuriy
2009-10-01  3:07 ` Gleb Kulikov
2009-10-01  9:10   ` Yuriy
2009-10-02 10:39     ` Yuriy

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=4AC33BEC.9090801@fm.com.ua \
    --to=law@fm.com.ua \
    --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