windows file dialogs with unix file path
Francois Gouget
fgouget at free.fr
Sat Apr 23 05:10:37 CDT 2005
On Sat, 22 Apr 2005, Vincent Béron wrote:
> Le ven 22/04/2005 à 20:09, Francois Gouget a écrit :
>> On Sat, 23 Apr 2005, Andrew Neil Ramage wrote:
>>
>>> What about writing Unix paths like an URL ? So you would have
>>> unix://path/to/file
>>
>> Why not write Unix paths as 'z:/path/to/file'. It's just one letter
>> instead of four so it would be even easier. Implementation's trivial
>> too, we would create a symbolic link to '/' called 'z:' in dosdevices...
>
> People wanting access to unix paths in Wine want a "normal" unix path,
> ie /path/to/file instead of z:/path/to/file (or z:\path\to\file). The z:
> part is not unix, and that breaks the integration (use of a drive letter
> while on unix).
Sorry, my message was ironic but apparently the irony was missed. You
say the 'z:' part is not Unix but neither is the 'unix:' part. 'unix:'
may be easier to remember but it plays exactly the same role as 'z:' and
is fundamentally no different. If users want to be able to just type a
normal Unix path and find 'z:/...' too cumbersome, then I don't see how
they could be happy to type 'unix:/...'.
Steven has a point in that 'unix:' could let us make this 'drive' case
sensitive. Case sensitivity was selectable on a per-drive basis in the
past and if we add it back for the 'unix:' drive then I don't see why
other drives could not have the same option.
> The other thing is if/when z: doesn't map to / anymore... how do you add
> it back from within winecfg?
The same way you create any other drive in winecfg today.
Finally, if a 'unix:' drive is implemented it should be optional because
probably not everyone wants it. This means we get back to the problems
of 'but what happens if the unix: drive is missing'. Well, the user is
the one who wants it so then he should make sure it is enabled.
>> Hmm, I feel like I've seen that before. Where???
>
> No idea. Maybe you should submit a patch to Wine :)
Obviously I was refering to the current drive implementation...
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Good judgment comes from experience, and experience comes from bad judgment
-- Barry LePatner
More information about the wine-devel
mailing list