help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnuplot error


From: John W. Eaton
Subject: Re: gnuplot error
Date: Tue, 18 Nov 2008 10:49:22 -0500

On 18-Nov-2008, Robert Fong-tom wrote:

| I tried something different that worked. I put the line GNUTERM=x11  
| in a file called .profile. Why did I do this? In googling around I  
| saw references to a .profile file, but I don't understand the  
| differnce between .bash, .bashrc, and some other similar files which  
| I can't remember the name of right now. Does you or anyone out there  
| know the difference between these files?

Yes.  Read the INVOCATION section of the bash man page to get a fairly
complete explanation.

  $ man bash
  ...
  INVOCATION
         A  login shell is one whose first character of argument zero is a -, or
         one started with the --login option.

         An interactive shell is one started without  non-option  arguments  and
         without the -c option whose standard input and error are both connected
         to terminals (as determined by isatty(3)), or one started with  the  -i
         option.   PS1 is set and $- includes i if bash is interactive, allowing
         a shell script or a startup file to test this state.

         The following paragraphs describe how bash executes its startup  files.
         If  any  of  the files exist but cannot be read, bash reports an error.
         Tildes are expanded in file names as described below under Tilde Expan-
         sion in the EXPANSION section.

         [...]


jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]