Re: cons.saver limit on the maximum number of lines/columns



Hello Pavel,

On Fri, 2005-07-08 at 17:01, Pavel Tsekov wrote:
> It will crash (eventually) because of the slang limitation. Even with the
> check in console handler.

As long as it doesn't write into unallocated memory mc will not crash. I
believe there are similar checks in other places. This check will make
mc die if the limit is exceeded, but that is not the same thing as
crashing.

Indeed this limit should be increased to 512, but as I've pointed out
before that is sadly not a one place fix.

How does ncurses handle such a situation (screen resize beyond limits)?
Will it automatically reallocate the necessary screen buffer, or does it
work completely different?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]