Skip to content
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

[Bug-Candidate]: no back color support for terminal screen.xterm-256color #1135

Open
rappie opened this issue Oct 31, 2023 · 9 comments
Open

Comments

@rappie
Copy link

rappie commented Oct 31, 2023

Describe the issue:

This happens very rarely at random moments. No way to reproduce.

Might be similar to the earlier "cups" error I kept getting in the past.

Version:

Latest 2.2.1 master built with nix-env.

Relevant log output:

echidna: no back color support for terminal screen.xterm-256color
CallStack (from HasCallStack):
  error, called at src/Graphics/Vty/Output/TerminfoBased.hs:127:32 in vty-5.38-Dbd4gS2zkOy8uP4PqnkPG0:Graphics.Vty.Output.TerminfoBased
@rappie
Copy link
Author

rappie commented Nov 6, 2023

Possibly related:

echidna: user error (Terminal does not define required capability "sgr0")

@ggrieco-tob
Copy link
Member

Is this solved in 2.2.3?

@rappie
Copy link
Author

rappie commented Mar 5, 2024

I have not had these TERM related errors for a while now since updating to the latest version

@ggrieco-tob
Copy link
Member

Great, let's close. Feel free to reopen if you see these again.

@rappie
Copy link
Author

rappie commented Mar 6, 2024

echidna: user error (Terminal does not define required capability "clear")

Just had this one. Should we reopen it or create a new issue?

@arcz arcz reopened this Mar 6, 2024
@arcz
Copy link
Member

arcz commented Mar 6, 2024

Let's reopen, I'm not sure what can be the cause but we will be updating terminal-related dependencies soon (#1198) so it might get resolved.

@elopez
Copy link
Member

elopez commented Mar 6, 2024

@rappie if you're able to reproduce it, can you check if running stty sane or tput reset on the terminal help fix it?

@rappie
Copy link
Author

rappie commented Mar 7, 2024

I've only had it once so far, but I regularly get a situation where CTRL+C is not working anymore after running Echidna. If I press it, the ^C character appears but it does not stop/cancel anything, it is just a character that I can remove with backspace.

To fix it, I do reset. I assume this is the same as tput reset?. I will try your commands next time.

@rappie
Copy link
Author

rappie commented Mar 18, 2024

echidna: no back color support for terminal screen.xterm-256color
CallStack (from HasCallStack):
  error, called at src/Graphics/Vty/Output/TerminfoBased.hs:127:32 in vty-5.38-t4uBxudScr4gwaMP3IHWw:Graphics.Vty.Output.TerminfoBased

Just had the exact same error as mentioned in the original issue. It is very rare now though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants