3 ms·
> since my FreeBSD servers don't have a termcap file for alacritty, when I ssh into my FreeBSD servers my backspace key doesn't work (along with a lot of other
by bacon_waffle 6y ago
> since my FreeBSD servers don't have a termcap file for alacritty, when I ssh into my FreeBSD servers my backspace key doesn't work (along with a lot of other things).
A hack I've got in .zshrc for this problem:
function ssh {
if [[ "${TERM}" = alacritty ]]; then
env TERM=xterm-256color /usr/bin/ssh "$@"
else
/usr/bin/ssh "$@"
fi
}
- ac29 6y agoInstalling the terminfo also works: https://github.com/alacritty/alacritty/blob/master/INSTALL.md#terminfo https://github.com/alacritty/alacritty/blob/master/INSTALL.m...
- fiddlerwoaroof 6y agoYeah, I create a .terminfo directory in my home folder on any box I ssh to and make sure it has the terminfo for the terminal I use.