Ticket #4002 (closed defect: invalid)
input: can't enter '-' and '+' on command line
Reported by: | metux | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-tty | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
The normal minus/plus keys are misinterpreted as the ones on keypad, thus always trigger file (de)selection.
Happens on xterm/xfce-terminal as well as on console.
Last known working version is 4.8.18 (debian).
Change History
comment:2 Changed 5 years ago by andrew_b
- Milestone changed from 4.8.24 to Future Releases
always trigger file (de)selection.
Cannot confirm. Work as expected for me.
comment:3 follow-up: ↓ 6 Changed 5 years ago by andrew_b
Ran cat.
Press +, then keypad +.
In both cases + is printed. Thus there is no way to distinguish these keys.
The same for -, * and /.
comment:6 in reply to: ↑ 3 ; follow-up: ↓ 7 Changed 5 years ago by metux
Replying to andrew_b:
Ran cat.
Press +, then keypad +.
In both cases + is printed. Thus there is no way to distinguish these keys.
The same for -, * and /.
Did a little bit deeper digging. The problem seems to be the setting
only_leading_plus_minus, that somehow got messed up after the upgrade and flipped to zero.
Maybe a side effect of commit [8b14798cc48bdb8b74a35c5b8b542f37ea4bd9d9].
BTW: i've also observed other config settings got broken. Was there any config layout change in recent releases ?
comment:7 in reply to: ↑ 6 Changed 5 years ago by andrew_b
Replying to metux:
Maybe a side effect of commit [8b14798cc48bdb8b74a35c5b8b542f37ea4bd9d9].
Highly likely.
Was there any config layout change in recent releases ?
No.
This also happens when pasting a text starting with minus or plus.