Ticket #4002 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

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:1 Changed 5 years ago by metux

This also happens when pasting a text starting with minus or plus.

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.

Version 0, edited 5 years ago by andrew_b (next)

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:4 Changed 5 years ago by andrew_b

See also #3947.

comment:5 Changed 5 years ago by andrew_b

  • Component changed from mc-core to mc-tty

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 ?

Last edited 5 years ago by andrew_b (previous) (diff)

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.

comment:8 Changed 5 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone Future Releases deleted
Note: See TracTickets for help on using tickets.