Re[3]: Status of MC



Hello!

> I'm a bit puzzled now... The reason is that a flag called 'console_flag'
> is not set. I've grepped the code but found that it is set only in linux
> specific files and in rxvt.c. There is also no description what this
> flag should contain - obviously anything different than zero will do.

1 is SCO, 3 is Linux console, 4 is rxvt with rxvt extensions.  
console_flag means that mc can save and restore parts of the screen, so
that the option "output lines" in Configuration->layout can be enabled.

I think you need xterm_flag, which means that the screen can be saved and
restored as a whole only.  It is set on xterm and rxvt, even without rxvt
extensions.

> It seem that this is not related to Cygwin but to some decision made at
> some point that only Cygwin and rxvt support terminal != "dumb".
> 
> Or am I dumb ?! :)

No, dumb was whoever introduced two flags instead of one and gave them so
confusing names.

I'll have a look, but probably only after 4.6-pre1.  I'm mostly waiting
for last-minute issues and running mc in Valgrind.  I also want to test it
with FreeBSD.  I think I'll release 4.6-pre1 tomorrow if I find time to
recheck everything and write the release notes.

-- 
Regards,
Pavel Roskin




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