All combinations Shift+F1 to Shift+F8 don't work on mc in console (tty) mode, on konsole (gui) mode works normally

Bug #653436 reported by Murz on 2010-10-02
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mc (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: mc

I have use Kubuntu with KDE GUI. In konsole when I load mc - combination Shift+F6 work normally - renames file.
But if I go to tty (ctrl+alt+F1) and starts mc in command line mode, Shift+F6 removes the file!
I try to launch mc learn keys and detect that all my presses Shift+F1-F8 mc detects as F13-F20 keys!

How I can solve this issue?

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: mc 3:4.7.0.6-1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sat Oct 2 10:08:41 2010
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mc

Murz (murznn) wrote :
SabreWolfy (sabrewolfy) wrote :

Shift-F6 in a screen/byobu session also returns F18 key as noted in this discussion (https://answers.launchpad.net/byobu/+question/127610). Shift-F6 in a non-screen sessions works as expected. I have tested this in gnome-terminal and xterm in Lucid Lynx (GNOME).

We need to confirm if this behaviour is related to screen or Midnight Commander.

Yury V. Zaytsev (zyv) wrote :

Works for me on Hardy / 4.7.0.9 in tty both for screen and raw sessions. I can't check on Lucid / Maverick yet, but since it works perfectly on Hardy I already suspect it has nothing to do with mc per se.

Changed in mc (Ubuntu):
status: New → Incomplete
Murz (murznn) wrote :

I can reproduce this bug with Ubuntu Maverick LiveCD image and in Ubuntu fresh install (without any changes)! So this issue is exist in current Ubuntu and must be fixed.
How to reproduce:
1. Load Ubuntu (from livecd or other versions)
2. Install mc
3. Go to full-screen console (Press "Alt+F1"), load mc
4. Point in mc panel to some file, press "Shift+F6" and you will see "Delete" confirmation dialog instead of file rename dialog!

And same problem with other Shift+F1 to Shift+F8 combinations.

If you load console and mc from GUI (xorg, gnome, kde) and press "Shift+F6", all works normally.

So the problem is only in full-screen terminal mode.

Changed in mc (Ubuntu):
status: Incomplete → Confirmed
Felix Miata (mrmazda) wrote :

https://bugzilla.novell.com/show_bug.cgi?id=400552 is the same problem in openSUSE and http://mail.gnome.org/archives/mc-devel/2011-May/msg00001.html is some mc-devel discussion on the subject.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.