From owner-freebsd-questions Fri Jul 25 08:50:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA09335 for questions-outgoing; Fri, 25 Jul 1997 08:50:11 -0700 (PDT) Received: from gateway2.platinum.com (firewall-user@gateway2.platinum.com [206.214.170.8]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id IAA09330 for ; Fri, 25 Jul 1997 08:50:09 -0700 (PDT) Received: by gateway2.platinum.com; id KAA18456; Fri, 25 Jul 1997 10:48:57 -0500 Received: from mailhub.platinum.com(172.17.26.25) by gateway2.platinum.com via smap (3.2) id xma018395; Fri, 25 Jul 97 10:48:32 -0500 Received: from kraken.ab.platinum.com by mailhub.platinum.com (8.8.5/) id KAA07434; Fri, 25 Jul 1997 10:48:33 -0500 (CDT) Received: from trilobite.ab.platinum.com (trilobite [198.88.245.22]) by kraken.ab.platinum.com (8.8.4/8.8.2) with ESMTP id LAA28673; Fri, 25 Jul 1997 11:48:30 -0400 (EDT) Received: (from clapper@localhost) by trilobite.ab.platinum.com (8.8.4/8.8.2) id LAA02187; Fri, 25 Jul 1997 11:48:31 -0400 (EDT) Date: Fri, 25 Jul 1997 11:48:31 -0400 (EDT) Message-Id: <199707251548.LAA02187@trilobite.ab.platinum.com> From: Brian Clapper MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Victor A. Sudakov" CC: freebsd-questions@freebsd.org Subject: Re: xterm is only black&white In-Reply-To: <33415090@toto.iv> X-Mailer: VM 6.22 under Emacs 19.34.1 Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Victor A. Sudakov wrote: > Sergei S. Laskavy wrote: > > > Mariusz> I just installed 2.2.1R on my computer and I can't find > > Mariusz> the reason that my xterm is only black and white. On > > > > The right termcap entry for X Term is somewhere in /usr/X11R6. > > You can just copy that file to $HOME/.termcap and X terminal will > > appear in colours :) > > Did not work for me. Any more ideas? > > I am using FreeBSD 2.1.6 If you just want to be able to change the foreground and background colors, read the xterm manual page and look for the `-fg' and `-bg' command line options or their corresponding X resource strings (e.g., `XTerm*foreground' and `XTerm*background'). If, on the other hand, you want an xterm that understands the ANSI color escape sequences (so that one of the colorized ls ports will work, for instance), make sure you've (a) installed the `color_xterm' port or package, and (b) you're firing up `color_xterm', not `xterm'. ---- Brian Clapper, clapper@platinum.com Throw out your gold teeth/And see how they roll. The answer they reveal:/Life is unreal.