On Tue, Nov 26, 2002 at 03:51:43PM +0200, Özgür Özaslan 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 systems. > 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='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}/.Xdefaults somewhere near the top of your .xsession or .xinitrc file. Cheers, Matthew -- 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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message