ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yura Kalinichenko <yuk@kalina.in.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] ~/.mc/bindings и русские названия файлов и каталогов в mc
Date: Mon, 06 Oct 2008 21:35:54 +0300
Message-ID: <48EA5A8A.4070501@kalina.in.ua> (raw)
In-Reply-To: <20081006171843.0e546706@book.gusev.ru>

Владимир Гусев пишет:
> Приветствую!
>
> Настраиваю ~/.mc/bindings. Все хорошо, но кривая поддержка utf8 в mc
> дает о себе знать..
>   
Вообще-то mc здесь ни при чем. Попробуйте выполнять соотв. команды из 
шелла и посмотрите на результат. При этом даже не обязательно 
использовать кириллицу - достаточно наличия пробела в имени файла 
(поубивал бы - кто это придумал).

> # html
> regex/\.([sS]?[hH][tT][mM][lL]?)$
> 	Open=if test -n "$DISPLAY"; then (opera -notrayicon -style plastik %f >/dev/null 2>&1 &); else links %f 2>/dev/null || lynx -force_html %f || ${PAGER:-more} %f; fi
>   	View=%view{ascii} links -dump %f
>
> Вот как в разделе Open= сделать конвертацию названия %f? Или все это невозможно если названия на русском? Но они нужны..
>   
Конвертация не нужна. По крайней мере у меня opera и ff работают с 
указанными вами параметрами, и сами выполняют нужные преобразования URL. 
В опере при открытии видим 
file://localhost/home/yuk/tmp/aaa/Петр%20Струве.ИНТЕЛЛИГЕНЦИЯ%20И%20РЕВОЛЮЦИЯ.htm, 
а  в firefox - 
file:///home/yuk/tmp/aaa/%D0%9F%D0%B5%D1%82%D1%80%20%D0%A1%D1%82%D1%80%D1%83%D0%B2%D0%B5.%D0%98%D0%9D%D0%A2%D0%95%D0%9B%D0%9B%D0%98%D0%93%D0%95%D0%9D%D0%A6%D0%98%D0%AF%20%D0%98%20%D0%A0%D0%95%D0%92%D0%9E%D0%9B%D0%AE%D0%A6%D0%98%D0%AF.htm
Проблемы есть с симанкой, ну и бог с ней.

Да, opera-9.52-2091.gcc4.shared.qt3, firefox-2.0.0.15-alt0.M40.1.

-- 
SY, 
   Yura Kalinichenko



  reply	other threads:[~2008-10-06 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 13:18 Владимир Гусев
2008-10-06 18:35 ` Yura Kalinichenko [this message]
2008-10-06 21:08 ` Michael Shigorin
2008-10-07  6:43   ` Владимир Гусев

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=48EA5A8A.4070501@kalina.in.ua \
    --to=yuk@kalina.in.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