From: Mike Little Newsgroups: comp.os.msdos.djgpp Subject: Re: Install bash as DOS 6.22 shell Date: Sun, 24 Nov 1996 13:21:33 GMT Organization: Ampersoft & Lines: 50 Message-ID: <646020287wnr@amprsoft.demon.co.uk> References: <574ef8$5dk AT nexp DOT crl DOT com> <01bbd8e8$2f3c16a0$010200c0 AT weiqigao> Reply-To: MikeL AT amprsoft DOT demon DOT co DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article: <01bbd8e8$2f3c16a0$010200c0 AT weiqigao> "Weiqi Gao" writes: > > Weiqi Gao wrote in article <574ef8$5dk AT nexp DOT crl DOT com>... > > I just downloaded the new port of bash from simtelnet. I'm extremely > > impressed by it (and all the other DJGPPish ports). Watch out for the bug I found! If you are in the middle of a reverse search up your history list (Ctrl-r) and then press TAB, it locks! Make sure you have the test utils, file utils and shell utils to get the full benefit. > > > > I'm planning on installing it as the default DOS shell for my DOS 6.22 > > machine. I know I could experiment, but if there is a recommended way > > of doing this, I would be glad to know. > > > > Questions: > > 1. How would this affect the memory configuration of the system? > > Would I have more/less/same amount of memory for running POD (Plain > > Old DOS) programs (the 640K thing)? > > 2. How would this affect the environment space specified by DOS? > > Would the PS1/HOME/SYSROOT/etc setting go into the 1K DOS Environment > > space? What about aliases? > > 3. Is there a general rule for where to put things? (AUTOEXEC.BAT, > > CONFIG.SYS, ~/.bash_profile/, etc.) > > Well, I did experiment and came out with the following problems: > 1. If I specify SHELL=D:\PATH\BASH.EXE in CONFIG.SYS, DOS 6.22 will > complain about "No DPMI" and then "Your command processor is no good". It > falls back to COMMAND.COM . > 2. If I fire up bash from the DOS command line, it will eat up a big > chunck of my DOS memory (409K -> 312K). But everything else works fine. > 3. I don't have any DPMI server that I can (or know how to) load before > the SHELL= command in CONFIG.SYS . You could always try: install=c:\djgpp\bin\cwsdpmi.exe -p before the SHELL= line Be warned I haven't tried this!!! sig ====================================================================== Mike Little http://www.amprsoft.demon.co.uk PGPID:1024/8936BCF9 Fngrprnt:66 01 0E 95 31 20 CA 1B-E5 21 DB 31 ED E1 EC 6B PGPID: 512/FA2EE3BB Fngrprnt:C0 40 ED FF D0 E8 57 D7-B0 66 DB B8 31 14 32 12 PGP public keys at http://www.amprsoft.demon.co.uk/MikeL.html