No color when programming ncurses on linux when connected via putty.

When you login via putty then your TERM is set to 'xterm'. You will not be able to see colors with ncurses.

Set TERM='linux' and you can now see the colors.

cc
Dette indlæg blev udgivet i Knowledge Base. Bogmærk permalinket.

Skriv et svar