Scrolling back with pause/break key

Where is written the max number of lines the console remember when I want to scroll back using break key?

How to set it to higher value?

Ok I have recompiled the kernel and now it works fine

Isn't it possible to change SC_HISTORY_SIZE without having to recompile it? For example, by editing a config file.
Not that I know of. script(1) may be handy though, although it does require it to be started before you begin.