www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/13/11:30:31

From: michael DOT mauch AT gmx DOT de (Michael Mauch)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: bash instead of COMMAND.COM: how I did it
Date: Fri, 13 Feb 1998 13:59:57 +0100
Organization: Gerhard-Mercator-Universitaet -GH- Duisburg
Lines: 22
Message-ID: <6c1g4d$i2j$2@news-hrz.uni-duisburg.de>
References: <6buoq1$1j0$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: ppp94.uni-duisburg.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 12 Feb 1998 12:09:37 GMT, Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin
Stromberg) wrote:

> Well, do you want to know how to get rid of COMMAND.COM and use bash directly?
> 
> Here the answer, subjectively. Feedback is welcome.

Nice - but how did you work around the problem with non-DJGPP programs
that try to spawn another shell? They usually call "%COMSPEC% /c ...",
but Bash doesn't like the "/c" (it wants "-c"). Is is possible to make
Bash accept "/c" as well? Or did you leave COMSPEC=c:\command.com?

Regards...
		Michael

P.S.: IMHO there's a little typo in your posting:

> Assign SHELL "C:\some\path\to\djgpp\executables\-bash.exe", or to quote
> "SHELL = C:\some\path\to\djgpp\executables\-bash.exe"

Shouldn't that be "SHELL=C:\some\path\to\djgpp\executables\-bash.exe"?
(The line is repeated at the end of your article.)

- Raw text -


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