termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.11k stars 3.01k forks source link

[Bug]: Midnight Commander F15-F16 HW keyboard #18280

Open 5A52 opened 12 months ago

5A52 commented 12 months ago

Problem description

Shift+F5 does not copy file, Shift+F6 does not rename file. Learn keys shows that shift+f5 corresponds to f17 (should be f15) and shift+f6 corresponds to f18 (should be f16). The whole shift+Fn are shifted by 2 position.

What steps will reproduce the bug?

1.Open mc, options>learn keys, check SHIFT+Fn 2.Open mc, set cursor on any file, press SHIFT+F5, SHIFT+F6 (be careful SHIFT+F6=SHIFT+F8)

What is the expected behavior?

SHIFT+F3=F13........SHIFT+F10=F20

System information

termux-info:

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__AM_SOCKET_SERVER_ENABLED=true
TERMUX_APP__APK_PATH=/data/app/~~32BUDy-QmepXuY5v_AjAjw==/com.termux-SdfX4xw_h13bidoYG2GSvw==/base.apk
TERMUX_APP__APK_RELEASE=GITHUB
TERMUX_APP__FILES_DIR=/data/user/0/com.termux/files
TERMUX_APP__IS_DEBUGGABLE_BUILD=true
TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false
TERMUX_APP__PACKAGE_MANAGER=apt
TERMUX_APP__PACKAGE_NAME=com.termux
TERMUX_APP__PACKAGE_VARIANT=apt-android-7
TERMUX_APP__PID=11114
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c69,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_APP__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c69,c257,c512,c768
TERMUX_APP__TARGET_SDK=28
TERMUX_APP__UID=10325
TERMUX_APP__USER_ID=0
TERMUX_APP__VERSION_CODE=118
TERMUX_APP__VERSION_NAME=0.118.0+8d18838
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0+8d18838
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main stable main
# root-repo (sources.list.d/root.list)
deb https://packages-cf.termux.dev/apt/termux-root root stable
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.39.1
Android version:
13
Kernel build information:
Linux localhost 4.9.219-xxTR-46.0 #11 SMP PREEMPT Mon Aug 14 05:58:38 +03 2023 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-N985F
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
twaik commented 11 months ago

I am pretty sure it is termux-app's bug, not termux-packages... @agnostic-apollo

5A52 commented 11 months ago

Not sure if this is mc or any dependency package bug, but 100% sure not a termux-app itself. As if you open any remote shell from termux app, remote mc works well. And vice versa, if you run termux mc in any other local terminal, x-term in termux-x11 for example, you can face the bug.