On Tue, 21 Sep 2004, Claudia Neumann wrote:

> This fails because unix changes to /home/user

It doesn't change to there, it simply isn't aware of the current DOS
directory. /home/user would be the directory you were in when you started
DOSEMU.

> and leaves unzip looking for
> file.zip in /home/user instead of /home/user/dosemu/freedos/tmp. How can I
> change the behavior of the command "unix" so that it remains in the current
> DOSemu directory?

"unix" would have to do some funny tricks, borrowing from MFS to translate
the DOS dirname to a Linux dirname. It would not always work either -- how
about
unix ls c:foo d:bar
Because unix can't parse DOS command lines reliably.

That said, there exists a workaround, uchdir.

uchdir /home/user/dosemu/freedos/tmp
unix unzip file.zip

does the job.

Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to