Re: colored prompts in BASH

[ Available lists | Index of freebsd-questions | Month of May 1996 | Week of 13 May 1996 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Chuck Robey <chuckr@Glue.umd.edu>
Date
13 May 1996 14:42:23
Subject
Re: colored prompts in BASH
Message-ID
Pine.OSF.3.91.960513173955.13181E-100000@maryann.eng.umd.edu

In reply to

[ Hide this part ]
On Mon, 13 May 1996, David wrote:

>
>
> On Sun, 12 May 1996, Francisco Reyes wrote:
>
> > I tried posting this question in the comp.unix.shell, but my post
> > failed so here it goes..
> > ----------------
> > At work there is one Linux computer and the bash shell there
> > has color prompts for different types of files. I have FreeBSD
> > at home and I would like to have colored prompts.
> >
> > I have searched in the Bash FAQ and did not find anything
> > regarding colored prompts. I tried the man pages also.
> >
> > Is this a feature available to Linux only?
>
> I don't believe so. I'm almost positive what you are referring
> to is the color-ls package, which has been ported to FreeBSD already.
> It's available as a package on ftp.freebsd.org. colorls-2.1.tgz is the
> actual filename, which can be retrieved from /pub/FreeBSD/packages/All.

Keep in mind that, to use any application that uses such color under X11
windows (like the color-ls package) you have to be using a color-xterm.
The stock xterm that comes with x11 won't perform it. Look in
/usr/ports/x11/color-xterm for a good color-xterm.

>
> ..djw
>

==========================================================================
Chuck Robey chuckr@eng.umd.edu, I run FreeBSD-current on n3lxx + Journey2

Three Accounts for the Super-users in the sky,
Seven for the Operators in their halls of fame,
Nine for Ordinary Users doomed to crie,
One for the Illegal Cracker with his evil game
In the Domains of Internet where the data lie.
One Account to rule them all, One Account to watch them,
One Account to make them all and in the network bind them.




Elapsed time: 0.136 seconds