Arrow keys for command recall don't work correctly ssh'ed on remote hosts running bash
To reproduce:
ssh to another host running bash. try to up arrow through your command history and it will either immediately print the escape characters like "[A" for up arrow or it will work initially and then start doing that later or intermittently.
Terminfo/termcap is correct for xterm on these systems.
ash and ksh are problematic too
@tastle73 Which build are you on? (press Windows Key + R, type “winver” into the Run dialog, and press Enter.) There have been a bunch of fixes for some issues involving the arrow keys, but I (and @richturn) want to double check to see if they're in your build yet or if they're an unrelated issue.
1511 14342.001
seems to work here for history, though not in some other apps. 1511 14342.1001 see #425
FWIW It works fine on the local session. If I ssh to another system, it sporadically works and other times I just get the escape code on the command line. I wonder if it's related to the tset/tput issue with vi?
Thanks for the discussion.
Closing this issue since:
- This issue is old and has likely been fixed since it was opened. If not, please post a new issue in the Console GitHub Repo
- This is the WSL issues repo, but this is an issue in Console which has its own Console GitHub Repo
- GitHub doesn't allow issues to be moved between repos, preserving posters' identity :(
If you have further asks/issues, please file new issues on our Console GitHub Repo.
I think the fix for #425 fixed this issue as well.