help-octave
[Top][All Lists]
Advanced

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

Re: environment variable


From: Henry F. Mollet
Subject: Re: environment variable
Date: Sat, 10 Sep 2005 19:58:36 -0700
User-agent: Microsoft-Entourage/11.1.0.040913

octave:2> history
Will give history. 

octave:1> history_size
history_size = 1024
Default can be overridden by the environmental variable OCTAVE_HISTSIZE
according to manual but I don't know how do do it either. I've tried
octave:3> OCTAVE_HISTSIZE=512
OCTAVE_HISTSIZE = 512
octave:4> history_size
history_size = 1024

I also tried OCTAVE_HISTSIZE = 512 in .octaverc but that did not work
either. I guess I'm staying with 1024.

[~] -bash-2.05b 521$ ls -a
CUT
.octave_hist                    octave-core
.octaverc                       untitled
CUT
Henry

on 9/10/05 4:39 AM, Søren Hauberg at address@hidden wrote:

> Hi,
> I'm not quite sure if this is what you're looking for, but Octave has
> two functions called getenv and putenv, which might be helpful
> 
> /Søren
> 
> roberto wrote:
>> hi all
>> does anyone know how to change an environment variable like "OCTAVE_HISTSIZE"
>> ?
>> can it be changed via the usual way in Unix-like OSes, that is using
>> 'echo' command and so on?
>> 
>> thank you 
>> 
>> bye
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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