Ticket #3011: gpm-more-x-terms.patch
File gpm-more-x-terms.patch, 650 bytes (added by acobar, 11 years ago) |
---|
-
src/lib/liblow.c
old new 201 201 202 202 /*....................................... First of all, check xterm */ 203 203 204 if ((term=(char *)getenv("TERM")) && !strncmp(term,"xterm",5)) { 204 if ((term = (char *) getenv ("TERM")) != NULL && 205 (! strncmp (term, "xterm", 5) || ! strncmp (term, "rxvt", 4) || 206 (! strncmp (term, "screen", 6) && 207 (term = (char *) getenv ("DISPLAY")) != NULL && *term != '\0' 208 ) 209 ) 210 ) { 205 211 if(gpm_tried) return gpm_fd; /* no stack */ 206 212 gpm_fd=-2; 207 213 GPM_XTERM_ON;