delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/08/22:33:40

From: elric AT wheel DOT dcn DOT davis DOT ca DOT us (Jeffrey Taylor)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: BASH startup
Date: 8 Jan 1997 20:31:34 GMT
Organization: Davis Community Network - Davis, California, USA
Lines: 26
Message-ID: <5b1076$nb0$1@mark.ucdavis.edu>
References: <5b0thq$g5e$1 AT mark DOT ucdavis DOT edu>
NNTP-Posting-Host: wheel.dcn.davis.ca.us
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jeffrey Taylor (elric AT wheel DOT dcn DOT davis DOT ca DOT us) wrote:
: I am trying to switch to BASH.  My personal login file is run (~/_profile)
: or sourced, but none of the sets in it had any effect.  I put an echo in
: it to make sure it ran and that showed up on the console, but no variables
: were set.  What am I doing wrong?
: 
: Jeff T

I found part of the problem, I was using "set LFN=n" instead of "LFN=n".
I expected set with no arguments to show these variable values, but it
doesn't.  However, "echo $LFN" does show the value I expect.  Another
example, I did:

PS1=$HISTCMD\$

and it does what I expect.  However set shows:

PS1=bash\$

Also gcc can't find the standard include files, even though I've done:

DJGPP=c:/djgpp_v2.01/djgpp.env

Any help would be appreciated.

Jeff T

- Raw text -


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