Skip to content

Instantly share code, notes, and snippets.

@klaygomes
Last active January 26, 2026 11:09
Show Gist options
  • Select an option

  • Save klaygomes/d843228d466db81702353f51615e118e to your computer and use it in GitHub Desktop.

Select an option

Save klaygomes/d843228d466db81702353f51615e118e to your computer and use it in GitHub Desktop.
Configure Ghost terminal info on netbsd

In order to fix the error:

Welcome to NetBSD!

No entry for terminal type "xterm-ghostty";
using dumb terminal settings.

Create the database on your machine

$ infocmp -x xterm-ghostty > /tmp/ghostty.ti

Copy to the server

$ scp  /tmp/ghostty.ti user@ip.local:~

Log in on the server

$ ssh user@ip.local

On the server

$ tic -x ghostty.ti
$ mv ghostty.ti.cdb ~/.terminfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment