-
Notifications
You must be signed in to change notification settings - Fork 129
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
TCell $TERM not recognised #15
Comments
Having the same issue with tmux-256color. |
Do I understand it correctly, that the result is you're getting an error message I'm also kinda confused now, given that the tcell issue seems to claim it's resolved :/ why did they write so, if the issue still happens? I seem to be using a very new version of tcell :/ |
Yup, sorry for the unclear report. I'm happy to alias, and having uncommon I think that TCell's solution may have been to just hardcode a bunch of |
Would it make any sense if I checked internally if TERM is set, and if not, then set it to some fixed value? Should it be |
@akavel in most cases TERM is set. The problem is that it seems to not recognize some of the TERM, or at least TCell is not able to. |
Same here with |
Hmm; from gdamore/tcell#225 and a comment block in tcell/terminfo/terminfo.go, I gather that support for some terminals is distributed only with tcell sources, as gzipped helper files. That feels like a somewhat weird choice for me at the moment; I wonder why it's not parsed dynamically from OS-provided data for unknown TERMs? It seems like termbox is doing that; I wonder if its code could be adapted somehow to provide support for tcell... or is such dynamic parsing already available somewhere in tcell? edit: Some research on the topic from tcell repo & linked issues in other repos: gdamore/tcellRecognizing more terminals · Issue #118 · gdamore/tcell (Sep 1, 2016 comment by gdamore)
More terms by joshuarubin · Pull Request #136 · gdamore/tcell (Sep 10, 2017 comment by gdamore)
fixes #167 Break up the database by gdamore · Pull Request #168 · gdamore/tcell
zyedidia/microterminal entry not found · Issue #20 · zyedidia/micro
Terminal entry not found · Issue #1093 · zyedidia/micro
Wikipedia
Summary as of now:
|
I've added a detailed error message, outlining suggested steps that can be taken in order to try and mitigate the issue. I don't currently have good ideas how to resolve this in a better way. If you have some, I'm open to discussion. Thanks, and I'm sorry I couldn't find a better way for now. |
Thanks for adding that error message @akavel. That's already quite helpful for someone who doesn't understand the inner workings of this terminal stuff; unfortunately I'm trying to figure out what to do about a missing
The URLs in the error message don't seem to exist anymore. I realize this may be a case of RTFM, but is there a way to substitute those fixed URLs with some basic information on what's going on and what kind of file(s?) we're trying to retrieve and stick in our |
@masaeedu not sure if this helps, but searching that repo for 'xterm' comes up with |
TCell seems to need to recognise the value of
$TERM
. There's an issue over at the TCell repo, but it's pretty old. This means thatup
won't work for many people using less-popular terminals (Kitty for me).A workaround at the moment is to alias:
Is there some way to bypass this from the
up
side?The text was updated successfully, but these errors were encountered: