Re: Drive letters

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

 



On Mon, 10 Dec 2001 11:02:21 -0500 (EST), lawson_whitney@juno.com
wrote:

>On Mon, 10 Dec 2001, Rein Klazes wrote:
>
>> On Mon, 10 Dec 2001 00:56:09 +0100, in comp.emulators.ms-windows.wine
>> Oliver Sampson <olsam@quickaudio.com> wrote:
>>
>> > Howdy,
>> > In my continuing effort to get Agent up and as functional as possible,
>> > I'm now looking into launching applications.
>> >
>> > For example, if I have a .jpg file attached to an email, double
>> > clicking it should be able to open an application (like gimp) to view
>> > the attachment.
>> >
>> > Or have I found my first wine development projects?
>>
>> I sent in such a patch in Jan 2000, nearly 2 year ago. I don't know
>> why it was never committed or whether it was rejected.
>> If you are interested:
>> http://www.xs4all.nl/~rklazes/tmp/UnixProc.diff
>>
>> it needs of course some (perhaps a lot of) work to get it working on
>> the current wine.
>> If you feel like doing that, please do.
>>
>> Rein.
>>
>My guess is he'd rather see that functionality in a shell (or
>perl) script (call it <wine>/tools/defenestrate, please :-), or even a
>Winelib program (programs/defenestrate).  Or don't windose apps
>configure that way?

No, I don't think a script is what's called for here.  It seems that
it's a fundamental thing on how Windows apps communicate with the
native linux system.  For example Agent when calling a native unix app
correctly launches the correct app (the communication between the Win
app and the Linux environment has been accounted for and translated
correctly) but the command line arguments to the launched app aren't
parsed correctly.

In this case:
o drive letters aren't mapped back to the Linux hierarchy
o "\" isn't mapped to "/"
o file names with spaces don't have escapes put into them.
o and the concept of whichever the current local directory is for the
Win app isn't translated into the Linux path (or to however it is that
Linux keeps track of it's current working directory.)

====================================================
Oliver Sampson                  
olsam@quickaudio.com
http://www.oliversampson.com


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux