Restatement of Initialization lines

View: New views
4 Messages — Rating Filter:   Alert me  

Restatement of Initialization lines

by Mad_Scientist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just installed GNU Octave 3.2.0 on my windows machine.  When i select the octave program it loads up  but each time i enter a line it comes up with this:

Octave-3.2.0.exe:1:.......(this ...... is the location of the a bin file for 3.2.0_gcc-4.3.0)
>a=1
a = 1
Octave-3.2.0.exe:1:.......
>b=2
b = 2
Octave-3.2.0.exe:2:.......
>c=a+b
c = 3
Octave-3.2.0.exe:3:.......
>

how do i get it such that the Octave-3.2.0.exe:1:....... doesn't keep coming up"

Thanks!
MT

Re: Restatement of Initialization lines

by Rob Mahurin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jun 19, 2009, at 11:11 AM, Mad_Scientist wrote:

> I just installed GNU Octave 3.2.0 on my windows machine.  When i  
> select the
> octave program it loads up  but each time i enter a line it comes  
> up with
> this:
>
> Octave-3.2.0.exe:1:.......(this ...... is the location of the a bin  
> file for
> 3.2.0_gcc-4.3.0)
>> a=1
> a = 1
> Octave-3.2.0.exe:1:.......
>> b=2
> b = 2
> Octave-3.2.0.exe:2:.......
>> c=a+b
> c = 3
> Octave-3.2.0.exe:3:.......
>>
>
> how do i get it such that the Octave-3.2.0.exe:1:....... doesn't  
> keep coming
> up"


Type "help PS1"

Rob

--
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at: Oak Ridge National Laboratory 865 207 2594
        Oak Ridge, Tennessee rob@...




_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: Restatement of Initialization lines

by Mad_Scientist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How do i save my PS1 configuration such that it defaults to it each time?

Rob Mahurin wrote:
On Jun 19, 2009, at 11:11 AM, Mad_Scientist wrote:
> I just installed GNU Octave 3.2.0 on my windows machine.  When i  
> select the
> octave program it loads up  but each time i enter a line it comes  
> up with
> this:
>
> Octave-3.2.0.exe:1:.......(this ...... is the location of the a bin  
> file for
> 3.2.0_gcc-4.3.0)
>> a=1
> a = 1
> Octave-3.2.0.exe:1:.......
>> b=2
> b = 2
> Octave-3.2.0.exe:2:.......
>> c=a+b
> c = 3
> Octave-3.2.0.exe:3:.......
>>
>
> how do i get it such that the Octave-3.2.0.exe:1:....... doesn't  
> keep coming
> up"


Type "help PS1"

Rob

--
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at: Oak Ridge National Laboratory 865 207 2594
        Oak Ridge, Tennessee rob@utk.edu




_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: Restatement of Initialization lines

by Benjamin Lindner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mad_Scientist wrote:
> How do i save my PS1 configuration such that it defaults to it each time?
>

create a file ".octaverc" in your home drive (determined by either the
environment variable HOME or the environment variables HOMEDRIVE and
HOMEPATH).

This file will be read and executed once octave starts up, so put your
PS1 configuration there.

benjamin


_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave