Date: Sun, 11 May 2003 14:51:23 -0700 From: Nicolas Galler <beanie@gryphonmud.com> To: questions@freebsd.org Subject: Re: Console Syntax Highlighting Message-ID: <20030511215123.GA38556@anoat.phoenix> In-Reply-To: <20030511183849.GB14936@users.munk.nu> References: <3EBE84DC.9080706@openadventures.org> <20030511183849.GB14936@users.munk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 11, 2003 at 07:38:49PM +0100, Jez Hancock wrote: > On Sun, May 11, 2003 at 10:14:04AM -0700, Tom Smith wrote: > > Is there a way to enable Linux-like syntax highlighting at the console? > If you want color in programs like vim etc, you'll also need: > > setenv TERM xterm-color > > in your .cshrc file (I believe you need this anyway for ls -G to work by > default). btw one of the problem I had when switching between freebsd, linux and sun is the terminfo file for cons25 from one of the other os landed in my .terminfo directory and it had some kind of default colorless info. So you might want to check on terminfo(5), see if you get colors if you do something like echo -e '\e[31mhello' see if echo $TERM gives cons25. Try ls -FG with root. see if you get colors in an xterm (you might need TERM=xterm-color as previous poster pointed out... seems to work as is for me though with ls -FG), also if you are telnetting from a linux box it's a bit special.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030511215123.GA38556>