Hello John, Note, that I didn't read the whole backlog. From what I gathered, your zsh is misbehaving inside of tmux. I can guess what might be going on. Maybe I'm onto something or maybe not. I guess we'll only know if you try. ;)
John Long wrote: [...] > Yes, correct. And only with zsh. In bash backspace works as expected. Okay. Bash uses the readline library for input handling. Zsh does not. It has its own line editor implementation (zle: man zshzle). So, generally, if bash works that doesn't mean anything for zsh. Now several things could be going on here. My first and foremost guess is, that you're actually using vi-mode without realising it. You can find out by issuing this: bindkey -lL main If that returns "bindkey -A viins main" you're in vi-mode. Zsh chooses the default input mode by looking at $EDITOR and $VISUAL. If the value looks like "vi" or "vim" or something like that it chooses vi-mode per default. If you really want emacs mode, you can force that by doing this: bindkey -e In any case, you can find out the current binding of a key or key sequence in the "main" keymap by doing this: bindkey '^?' bindkey '^h' If you do want vi-mode, we have to look at its default bindings. The default binding in vi-mode is "^h -> vi-backward-delete-char". There is no default binding for "^?" in the viins table (at least not according to the manual). So, if your terminal sends "^?" for backspace, you'd have to do this: bindkey -M viins '^?' vi-backward-delete-char I hope some of this helps. Regards, Frank ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users