From: Hans Ecke Newsgroups: comp.os.msdos.djgpp Subject: Running programs from inside bash Date: Thu, 16 Oct 1997 17:26:01 +0100 Organization: TU Freiberg Lines: 65 Message-ID: NNTP-Posting-Host: coffee.geophysik.tu-freiberg.de Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi! 1.) What I want I want to run the DJGPP-tools on my computer. Especially bash and GNU-tools. 2.) My configuration on the beginning OpenDOS 7.02 - should be the same as NovellDOS 7 Stacker 4 (e:/stacvol.dsk maps to c:) DJGPP 2.01 bash 1.14.7 3.) problems I could solve myself # OpenDOS has a DPMI bug that you can't run DJGPP-programs with ODOS's DPMI server -> switched to 386MAX (Qualitas Inc) version 8.03 which provides a working DPMI server # OpenDOS DPMI as well as CWSDPMI (also QEMM) are DPMI 0.9 compliant and can't run 32 bit and 16 bit code in one VM. I want to run i.e. Borland Pascal's IDE (16 bit) inside bash (32 bit). Fortunately, 386MAX knows about DPMI 1.0 which allows this. 4.) Remaining problems Most of the programs I want to run inside of bash don't work. I really don't know why - not a guru in this field. Follows a list of programs with their respective reactions. The lines of the form "[exited with ]" come from bash. >mem (from OpenDOS) Parameter not recognized. [exited with 4] >bp (Borland Pascal IDE) Borland Pascal Version 7.0 Copyright (c) 1983,92 Borland International Internal error 254 at 0001:4873. [exited with 1] ...same happens with turbo, the Turbo Pascal IDE >nc (Norton Commander) Unable to read message file >ls,grep,gcc,... ...all fine >nwcache /s (OpenDOS disk cacher - show statistics) ...fine >edit (OpenDOS editor) ...fine >dir (c:/stacker/dir.com) Stacker SDIR-program not found. [exited with 1] ...calls stacker`s c:/stacker/sdir.exe >diskedit (Norton Utilities diskeditor) ...fine >ncd (Norton Utilities fast directory changer) ...needs long to load, much harddiskaccess in this time ...in full-screen-mode : works fine, but coldboots computer after exit ...in command-line-mode: says, that it works, but nothing happens. No boots. All programs are called from c:/ and all directories are in the path. I would be _really_ gratefull for help. I love Unix, but DOS too and running DOS-programs as well as GNU-tools in an Unix-like environment would be very near to the perfect computer environment(IMHO). E-mail would be better than news, but either would be great. Hans Ecke ecke AT coffee DOT geophysik DOT tu-freiberg DOT de