[SOLVED] Midnight Commander in 14.2: problems with keys
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've upgraded a friends laptop from 14.1 to 14.2. Laptop is Acer Aspire with 8GB and 1.6GHz Ci5-8250U. All packages on all disksets were installed but did not install any from e,f,k,kde, t, and xfce.
Using fluxbox as desktop. Keyboard is US
Everything work just fine except for Midnight Commander.
There is a problem with the '*', '-' (dash) and the '+' (shift =) keys, they are allocated to the file selection dialogs.
Say you are typing something on the command line
of MC (mv -i file1 file2) as soon as you press the dash the 'unselect file' dialog pops up, similarly while typing if you press the '*' key all files are selected, and if you press the '+' you get the 'select files' dialog popup. The '-', '+' are not echoed on the MC command line.
I've never seen this before in any Slackware release even -current on another machine. I cannot find any thread related to this.
Note that the keypad +, -, and * work as expected.
I tried to fix by coping /etc/mc.default.keymap to ~/.config/mc such that:
Select = alt-plus becomes Select = kpplus
Unselect = alt-minus becomes Unselect = kpminus
SelectInvert = alt-asterisk becomes SelectInvert = kpasterisk
This doesn't fix problem.
Problem occurs in a vt (i.e. TERM=linux) as well as in X (TERM=xterm).
These are defined in xterm.
XTERM_LOCALE=en_US
XTERM_SHELL=/bin/bash
Unfortunately, I can't offer much help other than to say that this is definitely not a universal problem with 14.2, as it works fine here. Just as a shot in the dark, is the behavior changed at all if you switch to a different terminal emulator (in X)?
montagdude
Unfortunately, I can't offer much help other than to say that this is definitely not a universal problem with 14.2, as it works fine here. Just as a shot in the dark, is the behavior changed at all if you switch to a different terminal emulator (in X)?
The problem occurs in a regular VT, as well as xterm and rxvt
I agree it is not a universal problem with 14.2, I've never seen this before, and on my -current installation the problem does not occur. I'm looking for a way to redefine those keys in MC but don;t know how
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.