From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_WEB autolearn=no version=3.2.5 Message-ID: <4AC4720E.2040906@fm.com.ua> Date: Thu, 01 Oct 2009 12:10:38 +0300 From: Yuriy User-Agent: Thunderbird 2.0.0.21 (X11/20090430) MIME-Version: 1.0 To: ALT Linux Community general discussions References: <4AC33BEC.9090801@fm.com.ua> <200910011007.07607.glebus@asd.iao.ru> In-Reply-To: <200910011007.07607.glebus@asd.iao.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ridgeline.websitewelcome.com X-AntiAbuse: Original Domain - lists.altlinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fm.com.ua Subject: Re: [Comm] =?koi8-r?b?y8/EydLP18vBINDSySDawdDV08vFIN7F0sXaIHNjcmVl?= =?koi8-r?b?biDJIGluaXQ=?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 09:11:25 -0000 Archived-At: List-Archive: List-Post: 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