From owner-freebsd-questions@FreeBSD.ORG Sun May 11 11:19:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1314937B401 for ; Sun, 11 May 2003 11:19:31 -0700 (PDT) Received: from fed1mtao08.cox.net (fed1mtao08.cox.net [68.6.19.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 797C543F85 for ; Sun, 11 May 2003 11:19:30 -0700 (PDT) (envelope-from tom@openadventures.org) Received: from openadventures.org ([68.2.175.193]) by fed1mtao08.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030511181928.YMMB17401.fed1mtao08.cox.net@openadventures.org> for ; Sun, 11 May 2003 14:19:28 -0400 Message-ID: <3EBE941B.8060803@openadventures.org> Date: Sun, 11 May 2003 11:19:07 -0700 From: Tom Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: 'freebsd-questions' References: <3EBE84DC.9080706@openadventures.org> <005d01c317e2$114b4860$0200000a@internal.lan> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Console Syntax Highlighting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 18:19:31 -0000 The problem is that _nothing_ is highlighted. That is, nothing on the console or in ViM. See below for additional comments... Craig Reyenga wrote: >Are you talking about a text editor? or the shell prompt? or other? > Well...both ;-). I use Bash 2.05b and ViM 6.1. Both do what I need in Linux. But when I try to configure them in FBSD they don't work. I know that I've got the ViM config correct but I'm less proficient with Bash. Thus, I'm deducing the problem's related to a Bash configuration issue. With Red Hat, the default global bashrc (/etc/bashrc) supports syntax highlighting (of files, directories, RPMs, etc). These same settings don't seem to work very well in FBSD. >Text editor: -> Install vim, or jed >Shell prompt: -> use my $PS1, or make your own. > >craig@{ ~ }> echo $PS1 >\[\033[0;33m\]\u\[\033[0m\]\[\033[1;34m\]@\[\033[0m\]\[\033[1;34m\]{ >\[\033[1;32m\]\w\[\033[0m\]\[\033[1;32m\] >\[\033[0m\]\[\033[1;34m\]}>\[\033[0m\] >craig@{ ~ }> > Is this config for the default /bin/sh shell? Will it work with Bash?