lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] No extension->MIME mapping in Gopher


From: Dario Niedermann
Subject: [Lynx-dev] No extension->MIME mapping in Gopher
Date: Mon, 15 Oct 2012 23:40:49 +0200
User-agent: Heirloom mailx 12.5 7/5/10

Lynx 2.8.7rel.2 (21 Jun 2010) does not map user-defined file
extensions to MIME types in Gopher menus. The ChangeLog does
not mention this, so I guess more recent versions contain no
fix to this issue.

The fact that it maps extensions correctly in FTP listings
seems to indicate that the configuration is OK.


-----BEGIN /usr/local/etc/lynx.cfg EXCERPT-----
GLOBAL_EXTENSION_MAP:/usr/local/etc/mime.types
#PERSONAL_EXTENSION_MAP:.mime.types
SUFFIX_ORDER:PRECEDENCE_OTHER
PREFERRED_MEDIA_TYPES:SYSTEM
-----END /usr/local/etc/lynx.cfg EXCERPT-----


~> ls ~/.mime.types
ls: cannot access /home/dnied/.mime.types: No such file or directory
Exit 2
~> ls -l /usr/local/etc/mime.types
-rw-r----- 1 root users 3637 2012-10-15 19:45 /usr/local/etc/mime.types
~> groups
users root floppy audio video cdrom games apache plugdev
~>

-----BEGIN /usr/local/etc/mime.types EXCERPT-----
application/pdf                                         pdf
image/png                                               png
-----END /usr/local/etc/mime.types EXCERPT-----


-----BEGIN GOPHER SCREENSHOT EXCERPT-----
                                      Moon Pictures and Other Things/ (p3 of 3)
 (IMG) MOON_ET_RUINS_ON_DARK_SIDE_55.jpg
(UNKN) NASA_Announces_Forbidde.pdf
(UNKN) Volcano on the moon's far side -- Printout -- TIME.pdf
(UNKN) lunar, surface, apollo, 18, 19, 20, 21, ufo, ufos, sighting, sightings, N
ASA, dome, crater, real, destination truth, alien, aliens, ET, daily1.png
-----END GOPHER SCREENSHOT EXCERPT-----


-----BEGIN FTP SCREENSHOT EXCERPT-----
Current directory is /Users/dnied/Public/test

   Up to Public
Apr  8  2011  image/png        DSCN2145.png  1355Kb
Oct 31  2002  pdf              Guide.pdf  619Kb
Apr  8  2011  image/jpeg       Tiger.jpg  343Kb


ftp://address@hidden/Users/dnied/Public
-----END FTP SCREENSHOT EXCERPT-----

~> uname -a
Linux localhost 2.6.24.5-smp #1 SMP Wed Apr 30 13:18:13 CDT 2008 i686 AMD 
Turion(tm) 64 Mobile Technology MK-36 AuthenticAMD GNU/Linux
~>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]