[Rpcemu] HostFS problem

Robert Sprowson webpages at sprow.co.uk
Fri Aug 7 02:35:43 PDT 2015


In article <38554A42-FBD8-4E63-91CB-10C8A51CD05E at hollypops.co.uk>,
   Gerald Holdsworth <gerald at hollypops.co.uk> wrote:
> Anyone else have this issue, or any solutions?

It looks like an asymmetry in the HostFS part of rpcemu conspiring with Mac
OS X:

In function name_host_to_riscos() there's a case which exchanges soft spaces
on the host to hard spaces on RISC OS. However, function
riscos_path_to_host() doesn't do the opposite translation.

On Windows (what I use) this doesn't cause a problem as any soft spaces
appear to RISC OS as hard spaces, and hard spaces are hard spaces, so all is
good.

Sounds like Mac OS X is escaping the hard space into %A0, like you would a
URL for a web page. Is that an option you can turn off in Mac OS X? Otherwise
it sounds like HostFS would either need to
a) look for %A0 and unmangle them
b) map hard to soft space when going RISC OS -> host

Sprow.




More information about the Rpcemu mailing list