[Comm] кодировка при запуске через screen и init

Yuriy law на fm.com.ua
Пт Окт 2 10:39:03 UTC 2009


(((

никак низя решить?

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


Подробная информация о списке рассылки community