Mail Archives: djgpp/1998/03/17/06:25:35
Hello,
I would like to use djgpp under dosemu, however I have a problem: whenever I run
bash, it hanges on without any warning or error message (seems as the keyboard
is locked) and I have to kill dosemu from other terminal. Could someone give me
some advice on it. Please reply to my e-mail address (thanh AT fi DOT muni DOT cz), as I'm
not subscribed to this mailing list. Many thanks in advance.
Regards,
Thanh
PS: I'm using Linux RedHat 5.0 kernel 2.0.32 i586, dosemu-0.66.7 with Caldera
DR-OpenDOS 7.02. Configuration files are appended below.
-------------------------------
config.sys
~~~~~~~~~~
device=c:\dosemu\ems.sys
devicehigh=c:\dosemu\cdrom.sys
lastdrive=g
files=50
shell=c:\command.com c:\ /e:2048 /p
-------------------------------
autoexec.bat
~~~~~~~~~~~~
@echo off
echo "Welcome to dosemu 0.66!"
PATH=c:\dosemu;d:\utils
mscdex /d:mscd0001 /l:e
lredir f: linux\fs\${home}
lredir g: linux\fs/
set DJGPP=d:\djgpp\djgpp.env
set TMPDIR=d:/tmp
set GO32TMP=d:/tmp
set LFN=n
set PATH=d:\bin;d:\djgpp\bin;%PATH%
set TEXMFCNF=/home/tex/config/djgpp
vc
-------------------------------
dosemu.conf
~~~~~~~~~~~
debug { off }
dosbanner on
timint on
terminal { charset ibm updatefreq 4 color on }
X { updatefreq 8 title "DOS in a BOX" icon_name "xdos" }
mathco on ## Math coprocessor valid values: on off
cpu 80586 ## CPU emulation valid values: 80[345]86
xms 16384 ## XMS size in K, or "off"
ems 4096 ## EMS size in K, or "off"
ifdef h_oddhost.hell.com
abort "this host is not allowed to use dosemu"
endif
ifdef guest
define restricted ## force restricted setting
define c_dexeonly ## forbid any other use than DEXE execution
keyboard { layout us keybint on rawkeyboard off }
HogThreshold 1
video { vga }
sound_emu off
else
keyboard { layout us keybint on rawkeyboard off }
HogThreshold 0
ttylocks { directory /var/lock namestub LCK.. }
video { vga console graphics chipset s3 memsize 2048 }
ifndef restricted
endif
sound_emu off
endif ## guest
ifdef restricted
define c_normal
secure on
dexe { secure }
ifndef guest
ifndef c_dexerun
disk { image "/var/lib/dosemu/hdimage" }
endif
endif
dpmi off
speaker emulated
ipxsupport off
printer { options "%s" command "lpr" timeout 20 }
else
secure off
dexe { allowdisk }
ifndef vbootfloppy
bootC ## Startup drive valid values: bootA bootC
ifndef c_dexerun
disk { image "/var/lib/dosemu/hdimage" } ## use diskimage file.
endif
endif
disk { partition "/dev/hda2" }
ifndef vbootfloppy
floppy { device /dev/fd0 threeinch }
else
bootA
floppy { heads 2 sectors 18 tracks 80 threeinch file /var/lib/dosemu/diskimage }
endif
dpmi 16384 ## DPMI size in K, or "off"
irqpassing off ## this disables IRQ monitoring
speaker native ## or "off" or "emulated"
ipxsupport off
printer { options "%s" command "lpr" timeout 20 }
endif
ifdef restricted
undef c_all
ifdef guest
undef c_normal
define c_dexe
define c_nice
define c_x
endif
endif
-------------------------------
dosemu.users
~~~~~~~~~~~
thanh c_normal
root c_all # root is allowed to do all weird things
nobody guest # variable 'guest' is checked in /etc/dosemu.conf
# to allow only DEXE execution
guest guest # login guest treated as 'nobody'
all restricted # all other users have normal user restrictions
- Raw text -