slang-users mailing list

[2001 Date Index] [2001 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Half-baked initialization for TERM=linuxfoo


Pavel Roskin <proski@xxxxxxx> wrote:
>Exactly. That's much better than what MC used to do. It would crash after
>attempting to allocate -2 bytes for something because SLang initialization
>was "successful", but the screen size remained unknown.

I believe that this is still something that MC is going to have to
cope with.  That is, there is nothing that prevents the user from doing:

    # stty rows 0 columns 0
    # mc

The easiest method for dealing with this is to exit if the number of
rows and colums is 0.

Thanks,
--John


[2001 date index] [2001 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]