I'm using xst
which is a fork of st
. this fork reads .Xresources
for certain terminal settings.
! xst settings
st.termname: xst
This results in an error when running certain scripts:
$ ufetch
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
tput: xst: terminal not listed in terminfo database
\\`-______,----__ dave hackbox
\\ __,---`_ OS NetBSD amd64
\\ `.____ KERNEL 9.2_STABLE Jul 28 2021
\\-______,----`- MACHINE ThinkPad X230
\\ UPTIME 1:30
\\ PACKAGES 266
\\ SHELL ksh
\\ WM sdorfehs
\\ BATTERY 27% Charging
\\ COLORS ▅▅▅▅▅▅▅▅▅▅▅▅
$
The solution was to set it to xterm-256color
like I have for XTerm
. However, I am trying to figure out how to add xst
to the terminfo
database, which I cannot seem to locate on NetBSD
Another thing I cant figure out it, xprop
shows no window id:??? I need this so I can use this output in the fetch script to output term: xst
using xprop -id
$ xprop
WM_STATE(WM_STATE):
window state: Normal
icon window: 0x0
WM_LOCALE_NAME(STRING) = "en_AU.UTF-8"
WM_CLASS(STRING) = "xterm-256color", "xterm-256color"
WM_HINTS(WM_HINTS):
Client accepts input or input focus: True
WM_NORMAL_HINTS(WM_SIZE_HINTS):
program specified size: 654 by 422
program specified minimum size: 22 by 31
program specified resize increment: 8 by 17
program specified base size: 14 by 14
WM_CLIENT_MACHINE(STRING) = "hackbox"
_NET_WM_NAME(UTF8_STRING) = "xst"
WM_NAME(UTF8_STRING) = "xst"
_NET_WM_PID(CARDINAL) = 29180
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
$