Re: CINT: history size

From: Tim Welters (welters@physik.rwth-aachen.de)
Date: Tue Jan 25 2000 - 14:40:11 MET


Volker Boerchers wrote:
> 
> Hi,
> 
> is there a way to change (increase) the number of commands that CINT
> remembers in the command history?
> 
> Regards,
>   Volker
> --
> Volker B"orchers, Uni Bremen, NW1
>  mailto:boercher@physik.uni-bremen.de
>  http://www-nuclear.physik.uni-bremen.de/~boercher

Seems to be hardcoded, see file "C_Getline.c" in the source distribution:
---snip-------------------------------------
#ifndef HIST_SIZE
#define HIST_SIZE 100
#endif

static int      hist_pos = 0, hist_last = 0;
static char    *hist_buf[HIST_SIZE];
---snap-------------------------------------

which means you have to recompile...

Tim
------------------------------------------------------------------------
Tim Welters, III.Physikalisches Institut at the RWTH Aachen, Lehrstuhl B 
Room: H.116         Tel.: +49(241)80-6355          Fax: +49(241)8888-244
Postal Address:   Physikzentrum, RWTH Aachen, D-52056 Aachen
e-mail: welters@physik.rwth-aachen.de      or        Tim.Welters@cern.ch
------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET