From owner-freebsd-current@FreeBSD.ORG Mon Sep 3 19:14:53 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B75D16A41A for ; Mon, 3 Sep 2007 19:14:53 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id C13F513C46A for ; Mon, 3 Sep 2007 19:14:52 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id k4so1227867nfd for ; Mon, 03 Sep 2007 12:14:51 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=Gh6VOWM0XSuXWSeSWgFYp9ZrVCTiYSrbtJHzU7h2CEP0dHrfYhAxBZQZL35wnbjBX16V12o8zpwzoFnVuDqzmbh8qgpF92tQ2Lqi6IV24+Ls0M8CZw9rO2Eppi/T/JtSFLozGp6Z3FcmuC6Nhl9r7FvRxI8fMhR/MOCiH9bFG5s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=S6nsg14eAsILZnwAZLwhpIOFXUopQ0VduQn6dg+J9ea3EhtuOmIr4H5vlgzLEg2Gy/zv4K9AiVJ6vOali/PEE27rR/lSoxsAzHgAFOWfO7tPZm0EPgKG5TOTx5bN7f8mnIXzZzK+tWaqGcH4TleYh6pEmXYKwM50X3jUS8cliW8= Received: by 10.86.80.5 with SMTP id d5mr3658431fgb.1188846891333; Mon, 03 Sep 2007 12:14:51 -0700 (PDT) Received: from roadrunner.spoerlein.net ( [85.180.187.67]) by mx.google.com with ESMTPS id 22sm6524691fkr.2007.09.03.12.14.49 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Sep 2007 12:14:49 -0700 (PDT) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.1/8.14.1) with ESMTP id l83JElMn004723 for ; Mon, 3 Sep 2007 21:14:47 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.spoerlein.net (8.14.1/8.14.1/Submit) id l83JEkuP004722 for current@freebsd.org; Mon, 3 Sep 2007 21:14:46 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Mon, 3 Sep 2007 21:14:46 +0200 From: Ulrich Spoerlein To: current@freebsd.org Message-ID: <20070903191446.GA2609@roadrunner.spoerlein.net> Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: ls(1) referring to xterm-color X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 19:14:53 -0000 Hi current, ls(1) contains the following passage under ENVIRONMENT about color output: CLICOLOR Use ANSI color sequences to distinguish file types. See LSCOLORS below. In addition to the file types mentioned in the -F option some extra attributes (setuid bit set, etc.) are also displayed. The colorization is dependent on a terminal type with the proper termcap(5) capabili- ties. The default ``cons25'' console has the proper capabilities, but to display the colors in an xterm(1), for example, the TERM variable must be set to ``xterm-color''. Other terminal types may require simi- lar adjustments. Colorization is silently disabled if the output is not directed to a terminal unless the CLICOLOR_FORCE variable is defined. But xterm grew color support some time ago, so the reference to 'xterm-color' should probably be removed or changed to 'xterm'. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.