From: Yuriy <law@fm.com.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] кодировка при запуске через screen и init
Date: Fri, 02 Oct 2009 13:39:03 +0300
Message-ID: <4AC5D847.2080003@fm.com.ua> (raw)
In-Reply-To: <4AC4720E.2040906@fm.com.ua>
(((
никак низя решить?
Yuriy пишет:
> Gleb Kulikov пишет:
>> В сообщении от [30 сентября 2009 Yuriy] написал:
>>
>>> после загрузки оси (в Х-ах) открываю терминал и набираю screen -r
>>> - появляется окно rtorrent, но закачки с русским названием файлов
>>
>> screen -U при инициации сесии,
>> screen -U -r при восстановлении.
>>
>
> сделал так:
> ========
> d_start() {
> [ -d "${base}" ] && cd "${base}"
> stty stop undef && stty start undef
> su -c "screen -U -ls | grep -sq "\.${srnname}[[:space:]]" " ${user} ||
> su -c "
> screen -U -dm -S ${srnname} 2>&1 1>/dev/null" ${user} | tee -a
> "$logfile" >&2
> # this works for the screen command, but starting rtorrent below
> adopts screen
> session gid
> # even if it is not the screen session we started (e.g. running under
> an undes
> irable gid
> #su -c "screen -ls | grep -sq "\.${srnname}[[:space:]]" " ${user} ||
> su -c "sg
> \"$group\" -c \"screen -fn -dm -S ${srnname} 2>&1 1>/dev/null\""
> ${user} | tee
> -a "$logfile" >&2
> su -c "screen -U -S "${srnname}" -X screen -U rtorrent ${options} 2>&1
> 1>/dev/
> null" ${user} | tee -a "$logfile" >&2
> }
> ========
>
> запускаю screen -U -r
> - ситуация та же самая...
>
>
--
Система - 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
prev parent reply other threads:[~2009-10-02 10:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-30 11:07 Yuriy
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 [this message]
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=4AC5D847.2080003@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