Skip to content

docs: mention invalid TERM ncurses error #485

Open
raravind007 wants to merge 1 commit into
Syllo:masterfrom
raravind007:docs/ncurses-term-troubleshooting
Open

docs: mention invalid TERM ncurses error #485
raravind007 wants to merge 1 commit into
Syllo:masterfrom
raravind007:docs/ncurses-term-troubleshooting

Conversation

@raravind007

Copy link
Copy Markdown

What changed:

  • Added a troubleshooting note for ncurses failures when $TERM is unset or invalid.

Why:

  • nvtop may exit with "ncurses: cannot initialize terminal type" in sandboxed or minimal terminals when $TERM is unset or invalid.
  • Setting $TERM to a valid terminal type, such as xterm-256color, resolves this.

Testing:

  • Built nvtop locally on Fedora 44.
  • Verified the error occurred with TERM=unknown and was resolved with TERM=xterm-256color locally.

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

Successfully merging this pull request may close these issues.

1 participant