Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MC mouse is not working anymore #3258

Closed
gielie opened this issue Mar 26, 2018 · 7 comments
Closed

MC mouse is not working anymore #3258

gielie opened this issue Mar 26, 2018 · 7 comments

Comments

@gielie
Copy link

gielie commented Mar 26, 2018

Setup

_Package Name:_midnight commander
_Package Version:_4.8.20

_NAS Model:_415play
_NAS Architecture:_evansport (x86)
_DSM version:_6.2

Expected behavior

before the update i was able to select files with the mouse and go to directories

Actual behavior

The mouse is not working at all

Steps to reproduce

_1._reinstalled mc, no luck

@ymartin59
Copy link
Contributor

Is there any chance it depends on your terminal emulator capabilities? Do you run mc inside tmux or screen? Please report echo $TERM to know more about it

@gielie
Copy link
Author

gielie commented Mar 29, 2018

I tried both.

ash-4.3# echo $TERM
xterm-256color

after export TERM=xterm

ash-4.3# echo $TERM
xterm

when i do a TERM=screen-256color resulting in

ash-4.3# echo $TERM
screen-256color

i can use the wheel of the mouse, when i start with mc -x my mouse is working again.
there must be something in the .profile but i don't know what

I have 2 different synology's and the one i updated version of mc doesn't have mouse support, the older version of mc works fine. I also tried putty on pc and terminal on osx with the same result.

@ymartin59
Copy link
Contributor

So you run screen, is that right? Have you without starting screen.
If mc -x works, trouble comes from your "terminal emulation" context: http://midnight-commander.org/wiki/doc/faq
Latest package runs properly with mouse support from a linux terminal emulator, so issue is not in package/application itself.

@hgy59
Copy link
Contributor

hgy59 commented Mar 30, 2018

@gielie maybe this is related to the DSM version.
After update to DSM 6.1.6-15266 I can not reproduce this behavior.
I remember to have the mouse problem too, i.e. when clicking the mouse, some ESC-sequences appeared on the commandline, and the home key had a delay of about 2 seconds.

  • May be related to the DSM 6.2 beta version?
  • Or may be the evansport arch? (works for me now with DSM 6.1.6 on apollolake and armada370)

@hgy59
Copy link
Contributor

hgy59 commented Apr 14, 2018

just found that the mouse works find with regular admin user. But when running with sudo mc the mouse does not work and the home key has the delay as mentioned above.
But strange is, that when running sudo mc I got a $ prompt instead of a # prompt on the mc command line. (On other systems there is a # prompt when running sudo mc).
@gielie please verify whether this behavior is the same for yours.

@ymartin59
Copy link
Contributor

@gielie Please also compare with separate sudo -s and then use of mc.

@gielie
Copy link
Author

gielie commented Apr 19, 2018

After the latest DSM update (DSM 6.1.6-15266 Update 1) my mc is working normal, i can start mc with sudo or with -s -c all variations work normally

hgy59 added a commit to hgy59/spksrc that referenced this issue Dec 30, 2019
- SynoCommunity#3834 add sftp support and hence add cross/libssh2
- SynoCommunity#3783/ SynoCommunity#3258 fix mouse handling
- replace usage of ncurses by slang
- add patch to fix subshell for /bin/sh shell linked to /bin/bash (subshell for /bin/sh is not supported)
- add new mc icon
- update synocli-file with reworked mc
ymartin59 pushed a commit that referenced this issue Jan 4, 2020
* Rework mc (midnight commander)
- #3834 add sftp support and hence add cross/libssh2
- #3783/ #3258 fix mouse handling
- replace usage of ncurses by slang
- add patch to fix subshell for /bin/sh shell linked to /bin/bash (subshell for /bin/sh is not supported)
- add new mc icon
- update synocli-file with reworked mc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants