lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Overriding mime types


From: Thomas Dickey
Subject: Re: lynx-dev Overriding mime types
Date: Fri, 22 Mar 2002 13:15:28 -0500
User-agent: Mutt/1.2.5i

On Fri, Mar 22, 2002 at 02:39:23PM +0100, Danny Ayers wrote:
> 
> >who's rob partington?  i know thomas dickey all right, but that guy??
> 
> A quick search of the list archives shows a lot of posts from Rob Partington
> around 1995-96 time, so I guess he was active in the development then.
> 
> How do you override mime types?

not having been down that way, I spent a few minutes and grep'd through
the source - from src/HTInit.c where most of the MIME stuff is mapped,
I see a pointer to something called "personal_extension_map", which
is read from lynx.cfg:

.h2 GLOBAL_EXTENSION_MAP
.h2 PERSONAL_EXTENSION_MAP
# The global and personal EXTENSION_MAP files allow you to assign extensions
# to MIME types which will override any of the suffix maps in this (lynx.cfg)
# configuration file, or in src/HTInit.c.  See the example mime.types file
# in the samples subdirectory.
#
# Unix:
# ====
#GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
# VMS:
# ===
#GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
#
#       Unix (sought in user's home directory):
#PERSONAL_EXTENSION_MAP:.mime.types
#       VMS (sought in user's sys$login directory):
#PERSONAL_EXTENSION_MAP:mime.types


-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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