On Fri, Sep 08, 2006 at 07:10:08PM +0200, Michelle Konzack wrote:
> As you can see, my version is compiled with ncurses support.
> Maybe, it is a history of libslang?

perhaps not.  For quite a while gpm was built with a bogus linkage to
ncurses to appease some applications which abused the ncurses interface. 
More recently, both gpm (package) and ncurses (upstream) have changes
to eliminate this linkage.

MC "could" be built with ncurses, but its maintainers have been not
much interested in maintaining that configuration(*).  When built with
slang, mc has additional code (built-in - not based on slang) using
select() to allow using the mouse to drag/scroll.

Usually MC is built with a bundled (and separately maintained) copy
of slang, so it is not readily apparent that it is using slang.
But you can easily check this by doing a "strings" on the binary.
For instance, on my (testing), I see this:

SLsmg_printf
SLsmg_Display_Eight_Bit
SLutf8_enable
SLtt_beep
SLang_getkey
SLsmg_write_string
SLsmg_write_char

I don't recall seeing any comments (or package diffs) for MC that make
it use MC.

(*) equally, since MC for quite a while used gcc-specific code which would
    not compile with an ANSI C compiler, I was uninterested in wasting much
    time with it.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpuDUgryPfeD.pgp
Description: PGP signature

Reply via email to