From owner-freebsd-questions Tue Nov 26 6: 7:52 2002 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 DB0DC37B401 for ; Tue, 26 Nov 2002 06:07:50 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A91443EB2 for ; Tue, 26 Nov 2002 06:07:49 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gAQE7dQf053918 for ; Tue, 26 Nov 2002 14:07:39 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gAQE7YTP053913 for freebsd-questions@FreeBSD.ORG; Tue, 26 Nov 2002 14:07:34 GMT Date: Tue, 26 Nov 2002 14:07:34 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: changing directory listing type Message-ID: <20021126140734.GA53644@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <005c01c294d2$977fe6e0$0302a8c0@mike> <021701c294d4$c3583270$1200a8c0@gsicomp.on.ca> <002301c29552$f4403260$0d0d4ba0@ozguro> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <002301c29552$f4403260$0d0d4ba0@ozguro> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.2 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_05_08, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 26, 2002 at 03:51:43PM +0200, =D6zg=FCr =D6zaslan wrote: > I'm a new FreeBSD user and using FreBSD 4.6.2. I wonder if it is possible= to > colour directories in blue or symbolic links to another like linux system= s. > Now all them are in the same white colour. Is this simple? Thanks... Simple enough. If you log into the console without using X-windows, all you need to do is: ls -G to see the pretty colours. To save typing, you can alias 'ls' to 'ls -G' in your shell configuration files: alias ls ls -G # .tcshrc, .cshrc or alias ls=3D'ls -G' # .shrc, .bashrc If you're using xterm(1) under X-Windows, you need to do the above, plus you need to tell xterm to use a terminal type that supports colours. For some reason hidden in the mists of time, the default 'xterm' terminal type under FreeBSD is better known elsewhere as 'xterm-mono', and you have to change to using 'xterm-color' to get the colourization you want --- this makes quite a difference to several programs like mutt, emacs, /stand/sysinstall which do full screen character based stuff. Simply put: xterm*termName: xterm-color into your ~/.Xdefaults file, and if necessary add: [ -f ${HOME}/.Xdefaults ] && /usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefau= lts somewhere near the top of your .xsession or .xinitrc file. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message