delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/14/18:07:19

Message-Id: <199701142254.HAA17390@mail.st.rim.or.jp>
From: "Daisuke Aoyama" <jack AT st DOT rim DOT or DOT jp>
To: <djgpp AT delorie DOT com>, <elric AT wheel DOT dcn DOT davis DOT ca DOT us>
Subject: Re: BASH startup
Date: Wed, 15 Jan 1997 07:44:48 +0900
MIME-Version: 1.0

>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\$

This command stores fixed value and $ as is.
If you need countable number, use \! instead and quote it like this:
  PS1='\!\$ '

See also PROMPTING section in bash.1. (You can view by typing
'less -p ^PROMPTING $DJDIR/info/bash.1'.)

>Also gcc can't find the standard include files, even though I've done:
>
>DJGPP=c:/djgpp_v2.01/djgpp.env

Need export attribute for child process. Simple solution is like this:
  export DJGPP=c:/djgpp_v2.01/djgpp.env

Daisuke Aoyama
jack AT st DOT rim DOT or DOT jp

- Raw text -


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