Re: [SLUG] File names with spaces irritant

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Dec 29 2004 - 16:51:44 EST


On Wed, 29 Dec 2004, Chuck Hast wrote:

> > On Wed, 29 Dec 2004, Chuck Hast wrote:
> >
> > > I get a lot of files that have spaces in the name, on the company e-mail
> > > system.

> I am using firefox to read web mail

OK, so firefox is acting wrong. My guess is either it is relying on an
internal list mapping extension -> handler, or maybe a system-wide
mime.types list (might be in /etc). Or both, with the internal list
overriding the global one.

> So when I globally start firefox do I need to start it with the command
> below? or is this the command that will be called when it is going to
> attempt to open the file attachment?

My guess is that the caller (firefox in this case) gets the string

firefox %1

to open unidentified attachments, and replaces '%1' with the filename. For
filenames with spaces, the '%1' needs to be in quotes. To the user, there
would be no change (except that attachments with spaces would work).

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
              
           This message was created using recycled electrons.

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:45:58 EDT