--- src/lib/liblow.c.orig	2005-03-01 23:37:58.455813320 +0900
+++ src/lib/liblow.c	2005-03-01 23:55:08.112281744 +0900
@@ -206,7 +206,9 @@
 
    /*....................................... First of all, check xterm */
 
-   if ((term=(char *)getenv("TERM")) && !strncmp(term,"xterm",5)) {
+   if ((term=(char *)getenv("TERM")) && (!strncmp(term,"xterm",5) ||
+    strncmp(term, "rxvt", 4) == 0 || strncmp(term, "kterm", 5) == 0 ||
+    strncmp(term, "konsole", 7) == 0 )) {
       if(gpm_tried) return gpm_fd; /* no stack */
       gpm_fd=-2;
       GPM_XTERM_ON;

