-
Notifications
You must be signed in to change notification settings - Fork 2
Unknown TERM: /usr/share/terminfo/x/xterm #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
you are using a debian based distro it seems |
I'm getting this too, and I'm using a distribution (Void Linux) with a fully populated /usr/share/terminfo. But I'm only getting it happen when I start x4 under tmux. Under dvtm or mtm it's fine; I haven't tried screen. I'm using the x86_64-musl variant of void, if that makes a difference. The message I get is
which is strange, because my TERM is set to 'tmux-256color' (although the same message pops up whatever I set it to). |
Ah.. it turns out that tmux is setting TERM_PROGRAM_VERSION to 3.3a. If I unset this, x4 starts up just fine. Which implies that envcmp is only comparing the prefix of a name, not ensuring that they're both the same length. I fixed it by changing envcmp to
but I'm certain there's a more elegant way to do that and avoid nested conditionals. |
I need to fix that bug, i discovered my environment compares were matching xyzzy if i searched for xyz which is wrong :) |
x4 doesn't understand my terminals. I get the following messages:
kde konsole:
scherrey@satriani:~/projects/forth/x4$ ./x4
Unknown TERM: /usr/share/terminfo/x/xterm
Au Revoir!
rxvt:
scherrey@satriani:~/projects/forth/x4$ ./x4
Unknown TERM: /usr/share/terminfo/r/rxvt
Au Revoir!
This is running on a Kubuntu 14.04 host:
scherrey@satriani:~/projects/forth/x4$ uname -a
Linux satriani 4.9.119-first-custom #1 SMP Mon Aug 13 18:33:19 +07 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: