I just stumbled upon a weird problem. When I SSH into my server (centos, zsh) and I type some stuff and hit backspace It looks like a space - but internally it really deleted the characters.
ls -l a
Note that the space between
a is actually when I hit backspace. When I now hit return
ls -a gets executed. This is only in zsh, in bash it works fine.
Hope anyone has an idea what this is all about and how to fix this.
Update: Only happens when using tmux/screen
I also cannot clear the screen:
helium:~% echo $TERM screen-256color helium:~% clear 'screen-256color': unknown terminal type.