ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] etcskel .mailcap
@ 2002-09-28 17:26 at
  2002-09-30  6:58 ` [sisyphus] " Artem K. Jouravsky
  2002-09-30 10:29 ` Michael Shigorin
  0 siblings, 2 replies; 5+ messages in thread
From: at @ 2002-09-28 17:26 UTC (permalink / raw)
  To: sisyphus

То, что предлагается в /etc/skel*/.mailcap, абсолютно неработоспособно,
причем сразу по нескольким причинам! Предлагаю заменить на вариант,
который будет работать:

application/msword; file=%s\; dir=${file\%/*}\; doc=${file##*/}\; html="$doc".html\; cd "$dir"\; wvHtml "$doc" "$html"\; links "$dir/$html"\; rm -f "$html" 

Кроме того, возможно, стоит добавить вот это:

text/html; links %s
application/x-gzip; less %s
application/x-bzip2; less %s
application/octet-stream; less %s



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [sisyphus] Re: etcskel .mailcap
  2002-09-28 17:26 [sisyphus] etcskel .mailcap at
@ 2002-09-30  6:58 ` Artem K. Jouravsky
  2002-09-30 10:29 ` Michael Shigorin
  1 sibling, 0 replies; 5+ messages in thread
From: Artem K. Jouravsky @ 2002-09-30  6:58 UTC (permalink / raw)
  To: sisyphus

On Sat, Sep 28, 2002 at 09:26:13PM +0400, at@turbinal.org wrote:
> 
> То, что предлагается в /etc/skel*/.mailcap, абсолютно неработоспособно,
> причем сразу по нескольким причинам! Предлагаю заменить на вариант,
> который будет работать:
> 
> application/msword; file=%s\; dir=${file\%/*}\; doc=${file##*/}\; html="$doc".html\; cd "$dir"\; wvHtml "$doc" "$html"\; links "$dir/$html"\; rm -f "$html" 
А почему не catdoc?

> Кроме того, возможно, стоит добавить вот это:
> 
> text/html; links %s
> application/x-gzip; less %s
zcat?
> application/x-bzip2; less %s
bzcat?
> application/octet-stream; less %s
cat?

-- 
Best wishes,
Artem K. Jouravsky,
iFirst Ltd, System Administrator.
-----------------------
Находясь в здравом уме и некоторой памяти...


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [sisyphus] Re: etcskel .mailcap
  2002-09-28 17:26 [sisyphus] etcskel .mailcap at
  2002-09-30  6:58 ` [sisyphus] " Artem K. Jouravsky
@ 2002-09-30 10:29 ` Michael Shigorin
  2002-10-20  0:38   ` at
  1 sibling, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2002-09-30 10:29 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

On Sat, Sep 28, 2002 at 09:26:13PM +0400, at@turbinal.org wrote:
> То, что предлагается в /etc/skel*/.mailcap, абсолютно неработоспособно,

Если кто будет фиксить -- предложу и свой вариант
(http://osdn.org.ua/~mike/muttrc-20020703_mike.tar.bz2 #.mailcap-mike)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] Re: etcskel .mailcap
  2002-09-30 10:29 ` Michael Shigorin
@ 2002-10-20  0:38   ` at
  2002-10-21 10:22     ` Michael Shigorin
  0 siblings, 1 reply; 5+ messages in thread
From: at @ 2002-10-20  0:38 UTC (permalink / raw)
  To: sisyphus

On Mon, Sep 30, 2002 at 01:29:21PM +0300, Michael Shigorin wrote:
> On Sat, Sep 28, 2002 at 09:26:13PM +0400, at@turbinal.org wrote:
> > То, что предлагается в /etc/skel*/.mailcap, абсолютно неработоспособно,
> 
> Если кто будет фиксить -- предложу и свой вариант
> (http://osdn.org.ua/~mike/muttrc-20020703_mike.tar.bz2 #.mailcap-mike)

Признавайтесь, у кого ещё в ~/.mutt/bind есть

bind pager <tab> next-unread
bind index <tab> next-unread

?

Я думаю, что это стоит включить в etcskel, хотя бы в закомментированном
виде.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [sisyphus] Re: etcskel .mailcap
  2002-10-20  0:38   ` at
@ 2002-10-21 10:22     ` Michael Shigorin
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Shigorin @ 2002-10-21 10:22 UTC (permalink / raw)
  To: sisyphus

On Sun, Oct 20, 2002 at 04:38:42AM +0400, at@turbinal.org wrote:
> Признавайтесь, у кого ещё в ~/.mutt/bind есть

:-)

> Я думаю, что это стоит включить в etcskel, хотя бы в
> закомментированном виде.

Умгумс.  Вообще там есть еще что сделать в плане дальнейших
улучшений (хотя и не очень много), и вообще -- зреют
наполеоновские планы на тему {dotfiles,hardware}.alt -- надо
кого-то спровоцировать, бо сам все не доберусь почистить свое от
"локализмов" :-)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-10-21 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-28 17:26 [sisyphus] etcskel .mailcap at
2002-09-30  6:58 ` [sisyphus] " Artem K. Jouravsky
2002-09-30 10:29 ` Michael Shigorin
2002-10-20  0:38   ` at
2002-10-21 10:22     ` Michael Shigorin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git