Debian Bug report logs - #50732
mc: "non-standard" file associations in /etc/mc/mc.ext

version graph

Package: mc; Maintainer for mc is Dmitry Smirnov <onlyjob@debian.org>; Source for mc is src:mc (PTS, buildd, popcon).

Reported by: Oskar Liljeblad <osk@hem.passagen.se>

Date: Sat, 20 Nov 1999 15:18:04 UTC

Severity: normal

Found in version 4.5.40-4

Done: "Martin Bialasinski" <martin@internet-treff.uni-koeln.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Michael Bramer & Martin Bialasinski <mc-debian@internet-treff.uni-koeln.de>:
Bug#50732; Package mc. (full text, mbox, link).


Acknowledgement sent to Oskar Liljeblad <osk@hem.passagen.se>:
New Bug report received and forwarded. Copy sent to Michael Bramer & Martin Bialasinski <mc-debian@internet-treff.uni-koeln.de>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Oskar Liljeblad <osk@hem.passagen.se>
To: submit@bugs.debian.org
Subject: mc: "non-standard" file associations in /etc/mc/mc.ext
Date: Sat, 20 Nov 1999 13:34:43 +0100
Package: mc
Version: 4.5.40-4
Severity: normal

There are alot of non-standard viewer associations in /etc/mc/mc.ext.
For example, `eeyes' is used for most image formats, where `run-mailcap'
or `see' from mime-support could be used instead.

I have included a patch that corrects most of the viewers in
/etc/mc/mc.ext below.

Oskar Liljeblad (osk@hem.passagen.se)

-- System Information
Debian Release: potato
Kernel Version: Linux oskar 2.2.13 #2 SMP Fri Oct 22 15:40:51 CEST 1999 i686 unknown

Versions of the packages mc depends on:
ii  libc6           2.1.2-10       GNU C Library: Shared libraries and timezone
ii  libglib1.2      1.2.6-1        The GLib library of C routines
ii  libgpmg1        1.17.8-10      General Purpose Mouse Library [libc6]
ii  libncurses4     4.2-3.4        Shared libraries for terminal handling
ii  libpam0g        0.71-1         Pluggable Authentication Modules library
ii  mc-common       4.5.40-4       Common files for mc and gmc
ii  e2fsprogs       1.18-2         The EXT2 file system utilities and libraries
	^^^ (Provides virtual package libcomerr2)
ii  e2fsprogs       1.18-2         The EXT2 file system utilities and libraries
	^^^ (Provides virtual package libext2fs2)

-- Patch for /etc/mc/mc.ext
--- /etc/mc/mc.ext	Sun Oct 31 16:57:00 1999
+++ mc.ext	Sat Nov 20 13:29:53 1999
@@ -292,9 +292,9 @@
 	Icon=s.xpm
 
 shell/.dvi
-	Open=xdvi %f
+	Open=run-mailcap application/x-dvi:%f
 	Icon=binary.xpm
-	View=xdvi %f
+	View=run-mailcap application/x-dvi:%f
 	Convert file to Postscript=dvips %f
 
 shell/.tex
@@ -375,73 +375,73 @@
 	Icon=core.xpm
 
 type/PostScript
-	Open=gv %f
+	Open=run-mailcap application/postscript:%f
 	Icon=postscript.xpm
 	View with GhostView=gv %f
 
 type/GIF\ image
-	Open=eeyes %f
+	Open=run-mailcap image/gif:%f
 	Icon=gif.xpm
 	Include=image-options
 	
 type/GIF\ picture
-	Open=eeyes %f
+	Open=run-mailcap image/gif:%f
 	Icon=gif.xpm
 	Include=image-options
 	
 type/JPEG\ picture
-	Open=eeyes %f
+	Open=run-mailcap image/jpeg:%f
 	Icon=jpeg.xpm
 	Include=image-options
 
 type/PC\ bitmap
-	Open=eeyes %f
+	Open=see %f
 	Icon=bitmap.xpm
 	Include=image-options
 
 type/PNG\ image
-	Open=eeyes %f
+	Open=run-mailcap image/png:%f
 	Icon=gif.xpm
 	Include=image-options
 
 type/JPEG\ image
-	Open=eeyes %f
+	Open=run-mailcap image/jpeg:%f
 	Icon=jpeg.xpm
 	Include=image-options
 	
 type/TIFF\ file
-	Open=eeyes %f
+	Open=run-mailcap image/tiff:%f
 	Icon=tiff.xpm
 	Include=image-options
 	
 type/PBM
-	Open=eeyes %f
+	Open=run-mailcap image/x-portable-bitmap:%f
 	Icon=pbm.xpm
 	Include=image-options
 	
 type/PGM
-	Open=eeyes %f
+	Open=run-mailcap image/x-portable-graymap:%f
 	Icon=pgm.xpm
 	Include=image-options
 	
 type/PPM
-	Open=eeyes %f
+	Open=run-mailcap image/x-portable-pixmap:%f
 	Icon=ppm.xpm
 	Include=image-options
 
 shell/.xbm
-	Open=bitmap %f
+	Open=run-mailcap image/x-xbitmap:%f
 	Icon=xbm.xpm
 
 shell/.xpm
-	Open=eeyes %f
+	Open=run-mailcap image/x-xpixmap%f
 	View=sxpm %f
 	Include=image-options
 	Icon=xpm.xpm
 
 include/image-options
 	Set root window to this image=background-properties --setwallpaper %f &
-	Display this file=eeyes %f &
+	Display this file=see %f &
 
 # Sound files
 shell/.mod
@@ -470,7 +470,7 @@
 	Icon=makefile.xpm
 
 type/PDF
-	Open=xpdf %f
+	Open=run-mailcap application/pdf:%f
 
 # Executables
 type/executable
@@ -484,7 +484,7 @@
 
 # MPegs
 regex/\.mpe?g$
-	Open=mpeg_play %f &
+	Open=run-mailcap video/mpeg:%f
 	View (big)=mpeg_play -dither 2x2 %f &
 	View (gray)=mpeg_play -dither gray %f &
 
@@ -511,7 +511,7 @@
 
 # wav
 regex/\.(wav|WAV)$
-       Open=vplay %f
+       Open=run-mailcap audio/x-wav:%f
        Icon=wav.xpm
 
 # wav22
@@ -527,11 +527,13 @@
 # Microsoft Word Document
 regex/\.(doc|DOC)$
 #       View=%view{ascii} catdoc -w %f
-       View=%view{ascii} word2x -f text %f -
+#       View=%view{ascii} word2x -f text %f -
+       View=run-mailcap application/msword:%f
        Icon=word.xpm
 type/Microsoft Word Document
 #       View=%view{ascii} catdoc -w %f
-       View=%view{ascii} word2x -f text %f -
+#       View=%view{ascii} word2x -f text %f -
+       View=run-mailcap application/msword:%f
        Icon=word.xpm
  
 # cpio rules
@@ -555,8 +557,8 @@
 	Icon=cpio.xpm
 
 shell/.mp3
-	Open=mpg123 %f
-	View=mpg123 %f
+	Open=run-mailcap audio/mpeg:%f
+	View=run-mailcap audio/mpeg:%f
 	Icon=sound.xpm
 
 regex/\.trpm$




Reply sent to "Martin Bialasinski" <martin@internet-treff.uni-koeln.de>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Oskar Liljeblad <osk@hem.passagen.se>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 50732-done@bugs.debian.org (full text, mbox, reply):

From: "Martin Bialasinski" <martin@internet-treff.uni-koeln.de>
To: 48003-done@bugs.debian.org, 50210-done@bugs.debian.org, 50732-done@bugs.debian.org
Subject: Bug fixed in mc_4.5.40-5
Date: 30 Nov 1999 21:22:29 +0100
Hi,

the bugs have been closed in the recent upload of mc_4.5.40-5

Theanks for reporting the issues.

Ciao,
	Martin


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Mar 29 11:59:18 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.