www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/17/08:32:51

Date: Wed, 17 Jan 2001 13:56:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: mike friedrichs <mike_fr1 AT txucom DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: bash-2.04
In-Reply-To: <94360j$lgc@atlas.lcc.net>
Message-ID: <Pine.SUN.3.91.1010117135547.18768U-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 16 Jan 2001, mike friedrichs wrote:

> does this mean that bash 2.04 will run from dos(real mode) or dos (protected
> mode).

I don't understand the question.  DOS always runs in real mode.  All
DJGPP programs switch the CPU to protected mode in the startup code,
and switch it back to real mode when a DOS function is called.

> once you are in bash how do you do a directory; is it 'ls' or 'dir'.
> 
> I tried using 'ls' and 'dir' after running 'bash'. neither worked.

These commands are not built into Bash.  You need to install the port
of Fileutils (v2gnu/fil316b.zip) which has both `ls' and `dir'.

> i believe that bash actually calls 'command.com'; is this correct.

No, of course not.  Bash is a separate shell, it only calls
command.com if you need to run a batch file.

- Raw text -


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