~fd/ersei.net

aa2960478ce380f866487443da883aae65d12d8d — 9p4 3 months ago 7555f92
(Grav GitSync) Automatic Commit from 9p4
1 files changed, 23 insertions(+), 0 deletions(-)

A pages/04.notes/30.terminfo-considered-harmful/item.en.md
A pages/04.notes/30.terminfo-considered-harmful/item.en.md => pages/04.notes/30.terminfo-considered-harmful/item.en.md +23 -0
@@ 0,0 1,23 @@
---
title: 'Terminfo Is Useless and Outdated'
feed:
  limit: 10
page-toc:
  active: false
publish_date: '2024-09-02 11:59'
date: '2024-09-02 11:59'
twig_first: true
visible: false
sitemap: {}
url: https://twoot.site/@bean/113056942625234032
summary:
  enabled: true
  format: short
  size: 0
---

It takes literal decades to add capabilities to terminfo—the database that stores terminal compatibility.

I ran into a problem like this myself, and ended up checking if a file exists in the terminfo database, then setting TERM to xterm-256color, because Purdue macbines have a sufficiently old version of terminfo that it doesn't know what Foot is (the terminal I use) and that makes Vim mad.

There's gotta be a better way, right?