Harry Putnam <rea...@newsguy.com> [17-02-17 04:20]:
> 
> In make menuconfig, under:
>  Device Drivers → Graphics support → Console display driver support
>     (700)   Scrollback Buffer Size (in KB)
> 
> I think the default was 64 but I like a big scrollback buffer.
> 
> As you see I set 700 but really didn't have much of an idea what that
> would be in lines.
> 
> Can any one offer a close guestimate what 700 kb would be in lines.
> 
> That is pretty close to 1 mb isn't it?... but still what is that in
> lines?  I'm guessing 1 MB might be around 10,000 lines.  Is that even
> roughly close... if so I probably should have went higher.
> 
> 

Hi Harry,

Depends a little, what base you choose. Commandlines tends to be
shorter than for example lines printed with the dmesg command.

To get you an idea, how much "much" is:

# supposing that you have command history enabled with you shell
# prints the bytes count and the number of lines . You only need to
# devide one by the other
> history -1000 | dd | wc -l 

# for the other estimation you can do this
> dmesg | dd | wc -l


HTH!
Cheers
Meino



Reply via email to