From owner-freebsd-questions Wed May 15 05:43:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12070 for questions-outgoing; Wed, 15 May 1996 05:43:38 -0700 (PDT) Received: from adam.framatome.fr (adam.framatome.fr [192.44.46.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id FAA11989 for ; Wed, 15 May 1996 05:43:12 -0700 (PDT) Received: (from ubc@localhost) by adam.framatome.fr (8.6.11/1.3) id OAA10702; Wed, 15 May 1996 14:40:30 +0200 Date: Wed, 15 May 1996 14:40:30 +0200 (MET DST) From: Claude Buisson To: Charlie ROOT cc: Francisco Reyes , FreeBSD questions mailing list Subject: Re: colored prompts in BASH In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 15 May 1996, Charlie ROOT wrote: > On Sun, 12 May 1996, Francisco Reyes wrote: > > > I have searched in the Bash FAQ and did not find anything > > regarding colored prompts. I tried the man pages also. > > Try getting a program called colorls...its a port. Then all you have to > do is alias ls to colorls -G > > Andrew > I have a Linux Slackware like "colored ls" running on 2 FreeBSD machines: a FBSD-2.1R without X, and a FBSD-2.0.5R with X. I recompiled the GNU ls (fileutils-3.12) with the Linux color-ls patch without any problem, and installed it in /usr/local. This is the corresponding color-ls-3.12.0.2.patch.lsm file: Begin3 Title: color-ls-patch Version: 3.12.0.2 Entered-date: 19Dec94 Description: Patch against GNU fileutils 3.9: colorizes ls entries, allow the full ISO-8859 character set in filenames and unifies ls, dir and vdir to one binary. This version includes a "dircolors" program to parse a Slackware-style /etc/DIR_COLORS file, without the overhead of parsing that file on each invocation, and supports colorization by filename extension. Keywords: ls color dircolors fileutils Author: hpa@nwu.edu (Peter Anvin), dennisf@denix.elk.miles.com (Dennis Flaherty) Maintained-by: hpa@nwu.edu (Peter Anvin) Primary-site: eecs.nwu.edu /pub/linux/color-ls 20884 color-ls-3.12.0.1.patch.gz 99956 color-ls-3.12.0.2.bin.tar.gz Alternate-site: sunsite.unc.edu /pub/Linux/utils/file Original-site: prep.ai.mit.edu /pub/gnu 333928 fileutils-3.12.tar.gz Platform: Copying-policy: GPL End Under X, I use the Xterm3d-X11R6-ansi-sbright (I don't remember the exact name, but the scrollbar is on the right with a 3d look with Xaw3d) instead of color-xterm. It can be found in the sunsite Linux archive. Compiles without any problem. Claude BUISSON FRAMATOME