~/.octaverc and OCTAVE_HISTSIZE

Mike Miller mbmiller+l at gmail.com
Mon Mar 9 09:44:37 CDT 2009


I have done a lot of searching but I come up relatively empty-handed.  I 
would have thought there would be a sample .octaverc somewhere out there, 
or some clear instruction on what sorts of things can go in the octaverc.

I want to set OCTAVE_HISTSIZE to some value.  I tried this in the 
~/.octaverc file but I think it was not doing what I want:

OCTAVE_HISTSIZE=20000

This worked from the bash command line:

export OCTAVE_HISTSIZE=20000

But I would prefer not to have to include that in the ~/.bashrc because it 
is octave-specific.  I think it should go on ~/.octaverc, but I don't know 
how that is supposed to be done.  So what's the trick?  Thanks in advance.

Mike


More information about the Help-octave mailing list