Hi,
hmm, my (and I believe almost everybody's) .root_hist contains the last 400..499 commands. You can adjust these sizes in clib/src/Getline.c:
#ifndef HIST_SIZE #define HIST_SIZE 500 #endif #ifndef HIST_SAVE #define HIST_SAVE 400 #endif
It will add up to HIST_SIZE lines; once that's reached, it will remove the oldest ones, until it's back down to HIST_SAVE lines.
Cheers, Axel.
OKUMURA, Akira wrote:
> Hello Rene,
>
> I would like to store more than 100 commands.
>
>>You can use the up and down arrow at the command line, to access the
>>commands are recorded in the history file $HOME/.root_hist. It contains
>>file, and you can edit, cut, and paste from it.
>> What do you mean by "record size of root_hist" ? >> There is no such concept. >> What is the problem? >> >> Rene Brun >> >> OKUMURA, Akira wrote: >>> Hello ROOTers, >>> >>> Can I change the record size of root_hist ? >>> >>> If I have to recompile that part of ROOT, >>> could you tell me where I need to edit ? >>> >>> Sincerely, >>> >>> OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp >>> Institute for Cosmic Ray Research, University of Tokyo >>> 5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan >>> Phone/Fax : +81 4-7136-3153 >>> Skype : okumura.akira >> >>
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET