delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/31/15:59:01

Message-Id: <3.0.1.16.19980731155709.27173536@shadow.net>
Date: Fri, 31 Jul 1998 15:57:09
To: "Ian Chapman" <Ian DOT Chapman DOT ichapman AT nt DOT com>
From: Ralph Proctor <ralphgpr AT shadow DOT net>
Subject: BASH installation (was: Bash info and man)
Cc: djgpp AT delorie DOT com
In-Reply-To: <915C65C50371D11187AD0000F881B9A44B4839@bcarua62.ca.nortel.
com>
Mime-Version: 1.0

At 03:01 PM 7/31/98 -0400, you wrote:

>Hi Ralph,
>	I was missing less.exe and I've pulled over the zip and I'll give
>that a try.  I do have bash.1 in info.  I'd like to see your autoexec.bat
>and config.sys files to get a fast start into bash once I read up on how to
>run bash.
>
>	That will be wonderful, Regards Ian.

Hi Ian:

Okay, remember when you are working over command.com, you do nothing--you
just hit bash [RET]

Now, if you want to use BASH instead of command.com you do this:

Everything must go into the config.sys file.  The autoexec.bat file is
ignored. I only have a "dummy" autoexec.bat so that my bootup program
(bootcamp) has something to see.

So in my autoexec.bat file I have--

My "bootcamp" renames these to autoexec.bat and config.sys when I
bootup--you can do it manually by renaming if you want.

BASHCOM.BAT

@ECHO OFF
@ECHO Configuration: BASHCOM
@ECHO You are now running in the COMMAND.COM shell.

I would only see these messages if I exited BASH. Suggestion: Don't exit BASH.
Remember the  autoexcec.bat has nothing to do with the BASH
installation--you can ignore it if you want.

Now, the config.sys file is very important. You cannot use this device:
SET PATH=C:\DJGPP\BIN;%PATH%
Everything must go in the path--no " %PATH%" stuff (sigh)

So here is what I came up with. The order was determined by stepping
throught the boot-up with F8, but that is not essential, but the "SHELL=
......." must be last--whatever DOS-F8 does on boot-up.

BASHCOM.SYS

DOS=UMB
DOS=HIGH
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE RAM
DEVICE=C:\FORTE16\DRIVERS\CDMKE.SYS /D:MSCD0001 /P:630
BUFFERS=3,0
FILES=20
LASTDRIVE=E
FCBS=1,0
STACKS=9,256
SET
PATH=C:\DJGPP\BIN;C:\DJGPP\GNU\EMACS\BIN;C:\DOS;C:\MOUSE;C:\LIST;C:\VIM-5.1
SET DJGPP=C:\DJGPP\DJGPP.ENV
SET ALLEGRO=C:\DJGPP\ALLEGRO
SET TMPDIR=D:/
DEVICEHIGH=C:\DOS\RAMDRIVE.SYS 4096 /E
SET BLASTER=A220 I5 D1 T4
SET GALAXY=A220 I5 D1 K10 P530 T6
SET SOUND=C:\FORTE16
SET lmouse=c:\mouse
INSTALLHIGH=C:\DOS\MSCDEX.EXE /D:MSCD0001 /M:30 /E
INSTALLHIGH=C:\DOS\SMARTDRV.EXE 2048 256
INSTALLHIGH=C:\FORTE16\UTILITY\EMUTSR.EXE
INSTALL=C:\MOUSE\CLOAKING.EXE
INSTALLHIGH=c:\mouse\mouse.exe
SHELL=C:\DJGPP\BIN\bash.exe

Of course, this is just to give you an idea--the file would be different
with your needs.

Can you see where you have to use DEVICE and where you use INSTALL? This is
hard to explain.

This is working good for me. To tell you the truth, I probably will use
BASH with command.com mostly until I get more knowledgeable, but I have
found no problem yet in using BASH in place of command.com

Oh, and I don't want you to think I did this on my own. Martin Str|mberg
taught me how to go about it.

Ralph

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019