[Portland] RE: First xdg-utils beta release

Bastian, Waldo waldo.bastian at intel.com
Mon Jun 26 05:39:26 PDT 2006


Hi Rich,

Thanks for your feedback. I'll try to incorporate it where feasible.

>It would be nice if you had the option of passing the body via stdin.
>
>The attach file method should let you specify the name of the
>attachment. This could be useful (for example) if the user has asked
>to attach a file that is in a remote location (eg. via a KIO URL). In
>such situations you would want to be able to give the name of a
>temporary file which would not reflect the 'real' name of the file.

The problem with this is is that the apps on the backend (kmail,
evolution, etc..) don't really support this. So we would need to hack
around that and essentially cat stdin / copy the file into a tempfile of
our own, at which point it seems to me that an application/script that
actually needs this can just as well do that itself. It will come down
to making a temp dir and putting the file in there with the desired
name.

Cheers,
Waldo


More information about the Portland mailing list