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

FS#3404 - zsh: cannot backspace when connected from openssh in tmux #8261

Closed
openwrt-bot opened this issue Oct 24, 2020 · 1 comment
Closed
Labels
core packages pull request/issue for core (in-tree) packages flyspray

Comments

@openwrt-bot
Copy link

openwrt-bot commented Oct 24, 2020

dianlujitao:

Supply the following if possible:

  • Device problem occurs on: NETGEAR WNDR4300
  • Software versions of OpenWrt/LEDE release, packages, etc.
    • OpenWrt 19.07.4 r11208-ce6496d796
    • zsh - 5.6.2-2
  • Steps to reproduce
    1. Start a tmux session on Linux PC
    2. Use ssh to connect to OpenWRT router, where the user uses zsh instead of zsh (i.e. the config in /etc/passwd looks like this root:x:0:0:root:/root:/usr/bin/zsh)
    3. Type arbitrary words and delete them by pressing Backspace key
  • Expected behavior
    The chars are deleted
  • Actual behavior
    A whitespace was appended to the char instead, as if we're typing the space key, but it's deleted internally: when pressing Enter to execute the command, what's been executed is the original command minus the deleted part

Note that I don't have the issue when:

  1. connecting to a normal Linux computer (the user's shell is zsh ofc)
  2. using the default busybox ash
  3. executing ssh outside tmux, e.g. a normal Konsole terminal session
@aparcar aparcar added the core packages pull request/issue for core (in-tree) packages label Feb 22, 2022
@jow-
Copy link
Contributor

jow- commented Apr 26, 2022

Fixed by 917126f

@jow- jow- closed this as completed Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray
Projects
None yet
Development

No branches or pull requests

3 participants