--- rxvt-unicode/src/rxvt.h 2010/04/01 01:03:20 1.398 +++ rxvt-unicode/src/rxvt.h 2010/04/01 16:34:41 1.399 @@ -249,7 +249,11 @@ # define COLORTERMENVFULL COLORTERMENV #endif #ifndef TERMENV -# define TERMENV "rxvt-unicode" +# ifdef USE_256_COLORS +# define TERMENV "rxvt-unicode-256color" +# else +# define TERMENV "rxvt-unicode" +#endif #endif #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR)