~/.octaverc and OCTAVE_HISTSIZE

Francesco Potorti` Potorti at isti.cnr.it
Mon Mar 9 10:25:28 CDT 2009


>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

Have you looked in the manual?  For current Octave versions, this is the
command you should give either at Octave's command line or in ~/.octaverc:

history_size(20000);

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


More information about the Help-octave mailing list