Mail Archives: djgpp-workers/2000/05/07/05:14:23
According to Eli Zaretskii:
> > From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> > Date: Sat, 6 May 2000 12:11:56 +0200 (MET DST)
> >
> > How easy would it be to add the UNC functionality by mapping
> > \\host\share\file to /dev/net/host/share/file and back?
>
> On plain DOS or on Windows?
>
> If the latter, then you don't have to do anything, except to take care
> to pass the \\host\share\file UNC to the functions of Int 21h, and
> Windows will do the rest. The problem is that some of the library
> functions do destructive things to such UNCs, but that's all you need
> to take care of to get the UNCs supported.
Perhaps you misunderstand me? The idea is to use
/dev/net/... internally to avoid this destructiveness, and map
\\host\ to /dev/net/host on entry to the C library and then map it
back to \\host just before calling *DOZE.
> If you want to support UNCs on DOS, then mapping to /dev/net/whatever
> will not really help, since some machinery needs to communicate to the
> network redirector so that it understands the /dev/net/ stuff.
Again these /dev/net wouldn't be seen by the network redirector. Or
are you saying that WINDOZE already understands /dev/net!?
I was primarily thinking of WINDOZE, but if it'd work on DOZE too it'd
be a bonus.
Right,
MartinS
- Raw text -