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

Re: MIME support



On Mon, 1 Apr 1996, Brian C. White wrote:

> > There exists a 'test' clause in the mailcap syntax. To my knowledg
> > only NCSA Mosaic does not implement it (Look at the mailcap example
> > from Lynx!),  but that can be handled if the X11 entries come first!
> 
> Hey, that's even better!  I'd written a program that would call different
> programs based on the context under which it ran, but this would be a
> better solution.
> 
> By the way, does anybody know if comments ("# comment") are allowed at
> the end of of the lines?

I don't think they are allowed. But there is a note directive that acts
like a comment in mailcap entries. Meaning you can write something like

text/plain; cat %s; note=This string will be ignored; test=test -z $DISPLAY

and the note=foo; bit will... be ignored. At least, that's what the mailcap
manpage says.

    Christian

PS When the update update-mailcap script is released, wouldn't it be useful
to have it put the name of the Debian package on which a mailcap entry
depends in the 'notes' directive?



Reply to: