patch for xterm detection

Hello, I've added some more comparisions of the TERM environment variable to detect xterms and rxvt terminals.

Index: moc-2.4.4/interface_elements.c
===================================================================
--- moc-2.4.4.orig/interface_elements.c 2008-06-29 02:56:13.000000000 -0700
+++ moc-2.4.4/interface_elements.c 2010-02-02 10:26:45.000000000 -0800
@@ -2114,8 +2114,10 @@
char *term;

if ((((term = getenv("TERM")) && !strcmp(term, "xterm"))
- || !strcmp(term, "rxvt")
|| !strcmp(term, "xterm-color")
+ || !strcmp(term, "xterm-xfree86")
+ || !strcmp(term, "rxvt")
+ || !strcmp(term, "rxvt-color")
|| !strcmp(term, "rxvt-unicode")
|| !strcmp(term, "eterm")
|| !strcmp(term, "Eterm")))

<br /> Index: moc-2.4.4/interface_elements.c<br /> ===================================================================<br /> --- moc-2.4.4.orig/interface_elements.c 2008-06-29 02:56:13.000000000 -0700<br /> +++ moc-2.4.4/interface_elements.c 2010-02-02 10:26:45.000000000 -0800<br /> @@ -2114,8 +2114,10 @@<br /> char *term;</p> <p> if ((((term = getenv("TERM")) &amp;&amp; !strcmp(term, "xterm"))<br /> - || !strcmp(term, "rxvt")<br /> || !strcmp(term, "xterm-color")<br /> + || !strcmp(term, "xterm-xfree86")<br /> + || !strcmp(term, "rxvt")<br /> + || !strcmp(term, "rxvt-color")<br /> || !strcmp(term, "rxvt-unicode")<br /> || !strcmp(term, "eterm")<br /> || !strcmp(term, "Eterm")))<br />

Hi, you can also edit your post — the original then gets a new time stamp as if you deleted the whole topic and posted it again. Just a note :-)
Anyway, this patch looks good.