On Tue, 09 Mar 2004, Mikhael Goikhman wrote: Hi Mikhael,
> > Please give me some time (I am very busy now), I will add the > option you want. This does probably mean, that there is no need for me to try again I think? > I am not very happy with the patch. It should parse > ~/.mime.types or /etc/mime.types files. And if, instead, we use > your hardcoded approach to include file extentions in the script > itself (disallowing users to affect them), then Perl has hashes > for this, something like: > > my $extension_mime_types = { zip => 'application/zip', cpio => > 'application/x-cpio', ... }; > of course it was silly to compare all those 'chunks of text' -- how I did it, compared to this solution. I see so... :) > > The next problem would be to decide what icons to use for what > > programs/mime-types. > > > Getopt::Long(3) gives a possibility for this elegant syntax: > > --mime-icon text/html=html.png --mime-icon text/plain=text.png > I see .. > I will add --mime-icon and --mime-exec (working similarly) > later, together with --use-mailcap. > ok, thanks a lot .. ! please let me know when I can help anywhere anyway .... marco candrian -- calmar (o_ GNU/Linux is GREAT //\ V_/_ http://www.calmar.ws -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]