ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Antonio <obidos@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] ~/.mc/ext
Date: Wed, 18 Dec 2002 14:34:54 +0300 (MSK)
Message-ID: <Pine.LNX.4.44.0212181429390.683-100000@tony.localnet> (raw)
In-Reply-To: <200212181259.55403.community@netaddres.ru>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 18 Dec 2002, Konstantin wrote:

> Создал файл ~/.mc/ext
> < cut>
> # video
> regex/\.(mpe?g|MPE?G|Mpe?g)$
>         Open=mplayer %f &
> regex/\.(avi|AVI|Avi|mov|MOV|Mov)$
>         Open=mplayer %f &
> <cut>

Я написал так (нечитаемо, зато больше форматов) ;-)

regex/\.([Aa][Vv][Ii]|[Mm][Pp][Ee][Gg]|[Mm][Pp][GgAa]|[Aa][Ss][Ff]|[Ww][Mm][Vv]|[Mm][Oo][Vv])
	View=mplayer -vo xv -fs %f &

Смотрим avi, mpeg, mpg, mpa, asf, wmv, mov в любых регистрах
символов. Open я не ставлю из-за того, что иногда попадаются
фильмы с правом выполнения, а снимать его лень.

> Однако выполняются действия не из ~/.mc/ext а из
> /usr/lib/mc/mc.ext ! Как заставить mc читать файл из домашнего
> каталога? Выход\запуск mc ничего не дал. MC версии 4.5.55

У меня это ~/.mc/bindings

- -- 
Best regards,
	Tony.			mailto:obidos@mail.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+AF1h2gaLrWRbr5URAvbHAJ4yWCosaQfyCX1MYKaV8cv10eJpjwCcDPMA
+lGoNZ1fAgi272ig5k5W3rY=
=kz0/
-----END PGP SIGNATURE-----




  reply	other threads:[~2002-12-18 11:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-18 10:59 Konstantin
2002-12-18 11:34 ` Antonio [this message]
2002-12-18 11:41 ` Andrew Borodin
2002-12-18 11:44   ` Andrew Borodin
2002-12-18 17:15     ` Konstantin
2002-12-19  6:38       ` Andrew Borodin

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=Pine.LNX.4.44.0212181429390.683-100000@tony.localnet \
    --to=obidos@mail.ru \
    --cc=community@altlinux.ru \
    /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