delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/11/23:15:07

From: "Ian" <Ian AT junk DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: DOS to Bash
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <whLla.11526$id.690750@news20.bellglobal.com>
Date: Fri, 11 Apr 2003 23:00:22 -0400
NNTP-Posting-Host: 64.230.33.75
X-Complaints-To: abuse AT sympatico DOT ca
X-Trace: news20.bellglobal.com 1050116316 64.230.33.75 (Fri, 11 Apr 2003 22:58:36 EDT)
NNTP-Posting-Date: Fri, 11 Apr 2003 22:58:36 EDT
Organization: Bell Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
    I need to be straightened out on how to start Bash from win98.  What I
do is to click on a shortcut to a DOS bat file which sets up a few needed
paths and other stuff and eventually gives the command "bash -i".  That
seemed to work well but I'm wondering now that I'm doing more with bash if
it's correct?

    For example my _bash_login is not executed only _bashrc.  According to
the O'Reilly book .bash_profile (or .bash_login) should be executed and
.bashrc when subshells are needed.  So I'm wondering if I'm running bash as
a subshell of DOS and not as the main shell.  Does it matter?

        Regards Ian.


- Raw text -


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