[Pkg-zsh-devel] Bug#1070808: zsh(1) changes behavior of the keypad Enter key and didn't restore it on exiting

WHR whr at rivoreo.one
Thu May 9 15:13:00 BST 2024


Package: zsh
Version: 5.9-6
Severity: normal
X-Debbugs-Cc: bmy001 at gmail.com, whr at rivoreo.one


Hello.

I actually don't use zsh myself, but sometimes when I comes to collaborate
with others in tmux(1), where their login shell is zsh, or I just need to test
something in zsh, I always encounters this annoying bug.

First, zsh changes the behavior of the keypad Enter key, so this key didn't
work in zsh at all; this is already very inconvenient for me, as I'm very used
to pressing this Enter key on the keypad. To make it worse, zsh didn't revert
this change on exiting, so even I exited zsh(1), the Enter key is still
non-functional in my parent shell (bash(1) in this case), and I have to
reset(1) the terminal to recover.

To reproduce:
1, Run zsh from bash
   (once in zsh, the keypad Enter key is no longer functional)
2, Exit zsh by using 'exit' command or pressing ^D
   (the keypad Enter key remains non-functional even in bash)



-- Package-specific info:

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-===================================
ii  systemd        254.5-1      ppc64        system and service manager
ii  udev           254.5-1      ppc64        /dev/ and hotplug management daemon

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64

Kernel: Linux 4.19.271-rivoreo-powerpc64-largepage (SMP w/176 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=zh_TW:zh_CN:zh:en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages zsh depends on:
ii  debianutils  5.17
ii  libc6        2.37-15.1
ii  libcap2      1:2.66-5
ii  libtinfo6    6.4+20240414-1
ii  zsh-common   5.9-6

Versions of packages zsh recommends:
ii  libc6         2.37-15.1
ii  libgdbm6      1.23-3
ii  libncursesw6  6.4+20240414-1
ii  libpcre2-8-0  10.42-4

Versions of packages zsh suggests:
pn  zsh-doc  <none>

-- no debconf information



More information about the Pkg-zsh-devel mailing list