[Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Giorgio Garabello via Ql-Users
>From the QL Forum: "I have had a report of a problem with my IP Network driver. But the symptoms suggest to me that its an operating system problem. If you set up a network of two stations NET 2, and NET 3 On NET 2 you run the file server FSERVE, and it has a directory WIN1_PRG_ On NET 3 you use

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Marcel Kilgus via Ql-Users
Giorgio Garabello via Ql-Users wrote: > From the QL Forum: Copy of my answer: The problem is that QL filenames always include the directory paths and the usual substitution devices like DEV only redirect the OPEN call, after that the channel is maintained by the other driver, so the result of DIR

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Giorgio Garabello via Ql-Users
and can not this problem be corrected? Now that the network is also available for emulators, it is a very heavy limitation Giorgio 2018-07-26 10:45 GMT+02:00 Marcel Kilgus via Ql-Users < ql-users@lists.q-v-d.com>: > Giorgio Garabello via Ql-Users wrote: > > From the QL Forum: > > Copy of my answ

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Jan Bredenbeek via Ql-Users
This has always been the problem with substitution devices. One solution would be to rewrite the io.fstrg/fs.headr/etc code to substitute the filenames read as well (essentially chop off the directory path substituted). In case of io.fstrg this means checking if the channel is opened for directory

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Marcel Kilgus via Ql-Users
Jan Bredenbeek via Ql-Users wrote: > This has always been the problem with substitution devices. One solution > would be to rewrite the io.fstrg/fs.headr/etc code to substitute the > filenames read as well (essentially chop off the directory path > substituted). In case of io.fstrg this means check

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Tobias.Froeschle--- via Ql-Users
e aliasing happens (and DIR opens the directory with the unaliased name - which makes it rather impossible for the driver to handle this properly). Tobias. -Original-Nachricht- Betreff: Re: [Ql-Users] Odd behavour of the DIR command? Datum: 2018-07-26T13:24:44+0200 Von: "Marce

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Jan Bredenbeek via Ql-Users
On 26 July 2018 at 13:24, Marcel Kilgus via Ql-Users < ql-users@lists.q-v-d.com> wrote: > > Has anybody got the source code to the SUB device? It does this kind > of substitutions. > I remember having done a disassembly some years ago. Will look when the temperature here drops to non-tropical lev

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Marcel Kilgus via Ql-Users
Tobias.Froeschle--- via Ql-Users wrote: > When you want to solve this on device driver level, the driver has > to _know_ a directory has been opened with an aliased name. In the > DIR case, I firmly believe it doesn't (but please do correct me if > I'm wrong). Depends on which driver are you speak

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Marcel Kilgus via Ql-Users
Jan Bredenbeek via Ql-Users wrote: >> Has anybody got the source code to the SUB device? It does this kind >> of substitutions. > I remember having done a disassembly some years ago. Will look when the > temperature here drops to non-tropical levels (it's now 35C :( ). Thanks, but it's so small I

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread pjwitte via Ql-Users
On 26/07/2018 14:50, Jan Bredenbeek via Ql-Users wrote: What we really need, is a new file system! :) I like the way DOS_DRIVE/NFA_DRIVE work in QPC2/SMSQmulator. You can "root" the device DOS/NFA anywhere in the host's filing system. The result is transparent to the rest of the system. This w

Re: [Ql-Users] Odd behavour of the DIR command?

2018-07-26 Thread Giorgio Garabello via Ql-Users
I think it's a very demanding job for a single person. Of course if someone organized a work group … 2018-07-26 16:06 GMT+02:00 pjwitte via Ql-Users : > On 26/07/2018 14:50, Jan Bredenbeek via Ql-Users wrote: > > What we really need, is a new file system! :) > > I like the way DOS_DRIVE/NFA_DRIVE