FreeBSD, termcap & fancy terminals like Alacritty
I’ve started using Alacritty on my laptop again, but I kept getting error messages when using it with my FreeBSD machines. It seemed like the termcap profile is unknown to FreeBSD.
Normally I’d just cheat and tell Alacritty to pretend it’s a
xterm-256color
capable terminal, but here’s a slightly better
solution:
macbook $ infocmp -Cr > alacritty.termcap
macbook $ scp alacritty.termcap 1.2.3.4:~/
macbook $ ssh 1.2.3.4
1.2.3.4 $ cat alacritty.termcap >> ~/.termcap
Now I just have to do this on all computers I use. It will be fun.