Modify

Opened 5 years ago

Closed 19 months ago

#9786 closed defect (moved_to_github)

mc can't use wide ncurses

Reported by: bas@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc: luka

Description

This changeset here: https://dev.openwrt.org/changeset/27719/

completely disables use of wide char in mc.

That's a wrong assumption that mc is not used with wide ncurses - i use it on Ben NanoNote with wide character display.

The problem that mc picks up ncursesw must be solved in another way, the above mentioned changeset is invalid.

Attachments (1)

mc-ncursesw.patch (1.1 KB) - added by bas@… 5 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 5 years ago by bas@…

Just a fast look at ./configure --help of mc yields --with-screen=LIB, where LIB is one of the following: ncurses, ncurserw, slang.

+PACKAGE_libncursesw:libncursesw +PACKAGE_libncursesw:libncurses will go to DEPENDS,
$(if $(CONFIG_PACKAGE_libncursesw),--with-screen=ncursesw,--with-screen=ncurses) goes to CONFIGURE_ARGS.

Not tested.

comment:2 Changed 5 years ago by jogo

Ah, good hint. Somehow must have missed this.

The proper solution is probably doing something similar to "Enable IPv6 support in packages" but for wide char support, then link (and depend) accordingly (there are quite a lot of packages using ncurses(w), and they probably should use the same version, if possible.

comment:3 Changed 5 years ago by anonymous

Would someone please update mc Makefile to support unicode as suggested earlier or revert the commit that completely disables unicode, please?

Changed 5 years ago by bas@…

comment:4 Changed 5 years ago by bas@…

Please accept the patch

comment:5 Changed 5 years ago by aleksey.komlyk@…

This patch doesn't help

comment:6 Changed 5 years ago by bas@…

This comment doesn't help

comment:7 Changed 4 years ago by anonymous

This thread doesn't help

comment:8 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:9 Changed 19 months ago by jogo

  • Resolution set to moved_to_github
  • Status changed from new to closed

Midnight Commander is now maintained here: https://github.com/openwrt/packages.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.