From help-request at octave dot org Sat Sep 10 22:01:22 2005 Subject: Re: environment variable From: "Henry F. Mollet" To: S=?ISO-8859-1?B?+A==?=ren Hauberg , CC: Octave_post Date: Sat, 10 Sep 2005 19:58:36 -0700 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 soren at hauberg dot org 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 -------------------------------------------------------------