So I just installed the st(1) terminal emulator,
but I didn't bother with the
Terminfo entry it ships with. For
some reason I was kind of allergic to the idea of modifying
/usr/share/misc/terminfo. I felt like I could wipe something out
Well it turns out you don't ever need to touch
On NetBSD at least, you can maintain a private terminfo database in your
home directory. Here's what I did to get st(1)'s terminfo working without
st(1) is the only terminal emulator I use which needs its own terminfo entry that does not ship with the system, so I just copied the
st.infofile from st(1)'s tarball to
~/.terminfo(that's a file, not a directory).
Run tic(1) over it:
$ tic ~/.terminfo
This generates a cdb(5) database to
~/.terminfo.cdb. That's a feature specific to NetBSD.
.bashrcI added this:
Done! Now tmux's split windows actually look good.
And my DEL and DELETE
keys behave! (Edit: I swear my forward delete worked, now it
And if I ever needed to add another terminfo entry then I would append
~/.terminfo and run tic(1) again.