VPIX compatability questions

mareb at levels.sait.edu.au mareb at levels.sait.edu.au
Fri Jan 25 23:18:33 AEST 1991


In article <2546 at westmark.WESTMARK.COM>, dave at westmark.WESTMARK.COM (Dave Levenson) writes:
> 
>> Is there a way to detect you are running inside of VPix?
> 
> You could try to write to a file in the root filesystem.
> You'll be allowed if you're in real MS-DOS, and not if you're under
> VP/ix, unless VP/ix was invoked by root.
> 
> 
> Anybody know a better way?

My guess is you could spawn true(1), the UNIX command, under VP/ix but
not under DOS. Of course, there are many UNIX-commands-for DOS around so
it might be better to ensure you are using RUNUNIX.EXE (or whatever that
command is called) mechanism.

	b++ (Bob Buckley)



More information about the Comp.unix.msdos mailing list