Dear Dosemuers,

this is my second try to understand the basic setup of dosemu.
I have Debian 2.0, dosemu 0.66.7.

I have configured keyboard and mouse and both work under the default Debian
setup (which provides an hdimage.first in /var/lib/dosemu).

Now, I'd like to let dosemu show me my real DOS (IBM dos) which resides
in /c and is r/w  (see fstab below) under C: and the hdimage as h:.
I'd like dosemu to be able to work on /c (read-write), but not on linux
directories, except, at a later stage, on /tmp (for file transfers only).
This is an elementary use of dosemu, I think, and the setup should be fairly
easy.

As far as I understand, I'll need to have the dhimage (i.e., h:) only in the
path so that exitemu and unix.com will work (I do not think I need anything
else).

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>                 <dump> <pass>
/dev/hda1       /c              msdos   defaults                    0      2
/dev/hda2           /                   ext2    defaults,errors=remount-ro  0      1
/dev/hda3       none            swap    sw                          0      0
/dev/fd0        /dosfloppy      msdos   user,noauto                 0      0
/dev/fd0        /ext2floppy     ext2    user,noauto                 0      0
proc            /proc           proc    defaults                    0      0

I have already generated a new hdimage.first by editing config.sys
andautoexec.bat from /usr/lib/dosemu/commands and starting setup-dosemu.
In this way, I managed to see my dos under d (no lredir, just
c:\emufs /c, I am quoting by heart since I am not in Linux now): but there
is a "bad command ..." message (maybe from my real DOS's autoexec.bat?), the
programs do work nevertheless, but the path is not there, doskey is not
started, ..., ad it is not clear whether the config.sys and the autoexec.bat
on /c (i.e., of my real DOS) are executed or not.
They (real CONFIG.SYS and AUTOEXC.BAT) contain statements which should be
ignored when running dosemu: e.g., everything referring to the IBM MWave
modem, everything referring to CDROM which I do not need under dosemu): how
is this done?

Basic questions: (please DO NOT ANSWER "read the docs": I read them and also
found several examples in the WWW, but they are contradictory, to say the
least. In several places you can read: "the two files must be identical",
but no two files are mentioned; somewhere I read "the file must be
identical" (to what?); also: "lredir does not work with ..."; lredir.exe is
mentioned, but in the system I have lredir.com; ...)

[1] Do I have to modify /usr/lib/dosemu/commands/config.sys and
    /usr/lib/dosemu/commands/autoexec.bat and run
    /usr/lib/dosemu/setup-dosemu (as I have already done)?
[2] Do I have to modify my real DOS's config.sys and autoexec.bat?
[3] Are they executed at all?

Thank you for any help, even in the form of a YES or NO (but clear and
definitive) to each question.

Remo
 ___________________________________________________________________
| Dr. Remo   |    __ _   Debian User      | Paul Scherrer Institute |
|     Badii  |   / /(_)_ __  _   ___  __  | CH-5232 Villigen        |
| Nonlinear  |  / / | | '_ \| | | \ \/ /  | Switzerland             |
| Dynamics & | / /__| | | | | |_| |>  <   |                         |
| Stochastic | \____/_|_| |_|\__,_/_/\_\  | badii "at" psi.ch       |
| Processes  |                            | www1.psi.ch/~badii      |
|____________|____________________________|_________________________|

Reply via email to