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



Hello,

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

> On Fri, 2005-07-08 at 15:20, Pavel Tsekov wrote:
> > Well, currently the limit has been raised so it should be reflected here
> > too.
>
> I think the limit used in mc is to restrict memory consumption and does
> not indicate a slang limit. Screens that can represent more than 512 x
> 512 characters are still seldom, so I don't think we need to increase
> that default yet.

Reading the list indicates that screens with size greater than 255 x ???
do exist though. In the case of a screen this large cons.saver would just
exit. It would be good if we could get some feedback from Jakub regarding
this issue.

> > I think however that this check might be redundant since MC exits if
> > it detects that the screen is larger than what SLang allows.
>
> 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.



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