Author Topic: mc + ncurses-6.1  (Read 7027 times)

cdrw

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
mc + ncurses-6.1
« on: Thu Apr 05 18:37:59 2018 »
I noticed that midnight commander does not work correctly with the ncurses-6.1 package. Returned to version 6.0. Everything turned out well.

cdrw

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Re: mc + ncurses-6.1
« Reply #1 on: Fri Apr 06 15:03:29 2018 »
To enable the mode 256 colors had to recompile midnight commander with the option

--with-screen=ncurses

on the option

...
# Depends on: pcre glib gpm perl
...
--with-screen=slang

fanch

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: mc + ncurses-6.1
« Reply #2 on: Sun Apr 08 08:16:21 2018 »
hello cdrw,

with this new option, do you recompile mc with ncurses 6.1 ?


cdrw

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Re: mc + ncurses-6.1
« Reply #3 on: Sun Apr 08 18:52:36 2018 »
The order of installation of packages like this.
In the Midnight Commander window the mouse biter didn't work.
I replaced the ncurses version from 6.1 to 6.0.
The mouse began to work. But Midnight Commander did not understand the color schemes of 256 colors.
I installed Slang and recompiled Midnight Commander with the --with-screen=slang option.
After that, Midnight Commander works as I need.

cdrw

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Re: mc + ncurses-6.1
« Reply #4 on: Sun May 27 11:15:49 2018 »
Installed Nutyx-10.2. The error with ncurses is the same. Recompiled mc with the - slang option.


Thierry

  • Administrator
  • Hero Member
  • *****
  • Posts: 706
  • Karma: +13/-0
  • Gender: Male
    • NuTyX distribution
Re: mc + ncurses-6.1
« Reply #5 on: Sun May 27 20:11:42 2018 »
Thanks a lot for your feedback.

I finally commit as you recommended, you can test it on development branch

cdrw

  • Newbie
  • *
  • Posts: 44
  • Karma: +0/-0
Re: mc + ncurses-6.1
« Reply #6 on: Thu May 31 15:27:35 2018 »
I was convinced that Pkgfiles was to blame. I copied a package from Slackware64, it works. I will look further.