Subject: Re: color_xterm
To: Mark Andres <mark@giganet.net>
From: Rob Windsor <windsor@warthog.com>
List: port-mac68k
Date: 12/06/1997 22:17:05
Verily did Mark Andres write:

> On Sat, 6 Dec 1997, Armen Babikyan wrote:

>> Hi, I'm looking for color_xterm (source or NetBSD binaries). I looked on
>> sunsite for source code, but couldn't find anything except a patch for it.

>> I tried to compile rxvt, and succeeded, but the resulting program had a
>> few errors i didn't know how to fix; the delete key would send tilde (~)
>> characters, which i could not fix, even when i used stty erase <blah>, and
>> the program did not have support for bold characters. (I think there was a
>> bold option in the makefile...now that I think of it.)

>> Anyone have a compiled version of color_xterm i could get? or source code?
>> or can someone enlighten me on the dumb mistakes i'm making with rxvt?

> I am no X11 expert, but AFAIK there is no separate color-xterm program. 
> I believe that you just "colorize" the styandard xterm program by applying
> the patches.  I believe you set up an additional terminal description for
> xterm-color. Then, you set the TERM variable to xterm-color and it should
> work.  I don't use color-xterm, but I remember reading about it in the
> mutt FAQ.

Check the manpage that you have for xterm.  XFree86 3.something incorporated
the ansi color patches, and the NetBSD X is (typically) based off of that.

A simple test would be to fire up xterm with +cm.

Rxvt has a simple shell script that gives you a nice display of the ansi
colors (as rxvt/etc/color), if you have any doubt that `+cm' worked.

-- Rob
----------------------------------------
Internet: windsor@warthog.com
Life: Rob@Carrollton.Texas.USA.Earth

The weather is here, wish you were beautiful.