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

Pavel Tsekov ptsekov at gmx.net
Fri Jul 8 15:01:08 UTC 2005


Hello,

On Fri, 8 Jul 2005, Leonard den Ottolander wrote:

> Hello Pavel,
>
> On Fri, 2005-07-08 at 16:28, Pavel Tsekov wrote:
> > > The problem is this check does not happen when the screen (say xterm) is
> > > being resized so we need it here as well.
> >
> > I don't understand what you are talking about. cons.saver is used only in
> > linux console and FreeBSD console. There is a check in slang_init() from slint.c
> > that kills MC on startup if the screen size is too large.
>
> Just think what would happen if the screen gets resized to a size larger
> than the current limit.

It will crash (eventually) because of the slang limitation. Even with the
check in console handler.




More information about the mc-devel mailing list