Ticket #386 (closed defect: fixed)

Opened 16 years ago

Last modified 12 months ago

mc doesn't handle Shift+F[1-4]

Reported by: snizovtsev Owned by: slavazanko
Priority: minor Milestone:
Component: mc-tty Version: master
Keywords: commited-master Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

I've tested mc on Ubuntu 8.10, 9.04 and Debian Lenny. Shift+F[1-4] keys doesn't work in gnome-terminal and xterm.
Shift+F1 = ^[O1;2P
Shift+F2 = ^[O1;2Q
Shift+F3 = ^[O1;2R
Shift+F4 = ^[O1;2S
Shift+F5 = ^[[15;2~ (works)

Attachments

mc_shift_fn.patch (1.4 KB) - added by snizovtsev 16 years ago.
This helps me

Change History

comment:1 follow-up: ↓ 2 Changed 16 years ago by ossi

this sounds conceptually a lot like my ticket 367

comment:2 in reply to: ↑ 1 Changed 16 years ago by snizovtsev

Replying to ossi:

this sounds conceptually a lot like my ticket 367

This bug isn't depends on ncurses or slang and these keys are working in the linux console.

Changed 16 years ago by snizovtsev

This helps me

comment:3 Changed 16 years ago by angel_il

maybe include this in mc.lib

comment:4 Changed 16 years ago by slavazanko

  • Blocking 367 added

(In #367) After applying patch from #386 need to check reaction on specified functional keys under ncurses

comment:4 Changed 16 years ago by slavazanko

  • Blocking 367 removed
  • Blocked By 347 added

comment:5 Changed 16 years ago by slavazanko

  • Blocking 367 added

comment:6 Changed 16 years ago by slavazanko

  • Blocked By 347 removed

comment:8 Changed 16 years ago by slavazanko

  • Status changed from new to accepted
  • Keywords review added
  • Owner set to slavazanko

created branch 386_handle_shift_fx_keys (parent: master)
Initial commit: changeset:3bf0ca4258f1b110aa3e8e2d3299714fcc48e20b

On my Fedora this patch was fix problem (in gnome-terminal and in xterm F[1-4] keys works correctly).

Who have debian/ubuntu: please, test this patch.

comment:9 follow-up: ↓ 10 Changed 16 years ago by slavazanko

  • Version changed from 4.6.2 to master

Ops, sorry.
Initial commit: changeset:1e258ee250c9795aae6abbeef181ba1c7ce37036

To ticketstarter: please, try to get mc from git-repo.

comment:10 in reply to: ↑ 9 Changed 16 years ago by snizovtsev

Replying to slavazanko:

To ticketstarter: please, try to get mc from git-repo.

I've tested your branch on ubuntu 9.04. Shift+Fn works in gnome-terminal, but still not work in xterm. See the first part of my attachment to explain why.

comment:11 Changed 16 years ago by slavazanko

new initial commit after rebase: changeset:43c99a14dae3e5aa8562022cbd6441cac8e24edc

review& test, please.

comment:12 Changed 16 years ago by slyfox

  • Keywords vote-slyfox added

Those help my box (evdev multimedia keyboard)


e[1\;2P

e[1\;2Q

e[1\;2R

e[1\;2S

My vote.

comment:13 Changed 16 years ago by andrew_b

  • Keywords vote-andrew_b aproved added

comment:14 Changed 16 years ago by snizovtsev

  • Keywords vote-snizovtsev added

comment:15 Changed 16 years ago by slavazanko

  • Status changed from accepted to testing
  • Keywords commited-master added; review vote-slyfox vote-andrew_b aproved vote-snizovtsev removed
  • Resolution set to fixed
  • Blocking 367 removed

comment:16 Changed 16 years ago by slavazanko

  • Status changed from testing to closed

comment:17 Changed 12 months ago by andrew_b

  • Component changed from mc-core to mc-tty
  • Branch state set to no branch
  • Milestone 4.7 deleted
Note: See TracTickets for help on using tickets.