Ticket #386 (closed defect: fixed)
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
Change History
comment:2 in reply to: ↑ 1 Changed 15 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.
comment:8 Changed 15 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 15 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 15 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 15 years ago by slavazanko
new initial commit after rebase: changeset:43c99a14dae3e5aa8562022cbd6441cac8e24edc
review& test, please.
comment:12 Changed 15 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:15 Changed 15 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:17 Changed 11 months ago by andrew_b
- Component changed from mc-core to mc-tty
- Branch state set to no branch
- Milestone 4.7 deleted
this sounds conceptually a lot like my ticket 367