Skip to content

Instantly share code, notes, and snippets.

@jpwiedekopf
Last active August 28, 2024 16:00
Show Gist options
  • Save jpwiedekopf/8aed995d6f3e7912f815d0e7546b7f0d to your computer and use it in GitHub Desktop.
Save jpwiedekopf/8aed995d6f3e7912f815d0e7546b7f0d to your computer and use it in GitHub Desktop.
Setup Terminfo for the foot terminal.

Some linux distros don't ship a version of ncurses-term that have terminfo files for the foot terminal, this sucks. Install ncurses-term, then run the below script.

wget https://gist.githubusercontent.com/jpwiedekopf/8aed995d6f3e7912f815d0e7546b7f0d/raw/eeca3bba34e60dec54ae57fad42faad76310cd44/setup-terminfo-foot && chmod +x setup-terminfo-foot && ./setup-terminfo-foot && rm -v ./setup-terminfo-foot
#!/bin/bash
tid="/usr/share/terminfo/f"
sudo wget -O $tid/foot https://f003.backblazeb2.com/file/script-junk/terminfo/foot
sudo wget -O $tid/foot+base https://f003.backblazeb2.com/file/script-junk/terminfo/foot%2Bbase
sudo wget -O $tid/foot-direct https://f003.backblazeb2.com/file/script-junk/terminfo/foot-direct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment