Re: Debian 1.2 release date?
In article <[EMAIL PROTECTED]>, Bob Bagwill <[EMAIL PROTECTED]> wrote: >Relationships tend to sap and impurify all of our precious bodily fluids, >which are essential to the generation of good code. Wonderful one-liner. I think you should make a sig out of this and copyright it quick... or *is* it your sig?? :-) Chris
Re: Debian Color-ls Command?
In article <[EMAIL PROTECTED]>, Syrus Nemat-Nasser <[EMAIL PROTECTED]> wrote: >On Sat, 31 Aug 1996, Chris Westwood wrote: > >[SNIP] >> *** Excerpt from .bash_profile *** >> [SNIP SNIP] >Hi. If the above works on your system, then you are running fileutils-3.12 >and my color-ls package which is obsolete as of fileutils-3.13. When you do >upgrade to fileutils-3.13, you will need to do something different along the >lines of my previous posting. > >Anyway, I'm glad you have it working. > >Syrus. > >-- >Syrus Nemat-Nasser <[EMAIL PROTECTED]>UCSD Physics Dept. > Hi Syrus, Yes, I just checked with dpkg and it reports fileutils 3.12-4, so that explains that. The latest version you mentioned (3.13) doesn't appear to be on the Debian ftp mirror I'm using, so I'll hang fire for a while. Right now everything's working great, so if it ain't broke... but I've filed your messages for when I do eventually upgrade. Many thanks for your help. Cheers, Chris
Re: Debian Color-ls Command?
>With the integration of color-ls directly into the fileutils >package, a few things have changed. dircolors no longer sets >up aliases or shell scripts to colorize ls, dir, and vdir. > >Here is an excerpt from a .bashrc which sets up aliases after >running dircolors: > > # set up color-ls > eval `dircolors /home/syrus/.dir_colors` > alias d='ls -F --color=auto' > alias v='ls -l --color=auto' > alias vdir='ls -l --color=auto' > alias dir='ls -F --color=auto' > > >Note that color=tty has been changed to color=auto. See the >documentation for other change information. > > >Cheers. Syrus. Hi Syrus, In fact the above didn't work for me either--dumped core the first time I used 'ls' after that! Had a hell of a time trying to figure it out.In fact the new way of doing things (at least in my case, and by new I mean Debian 1.1) isn't to rely on /etc/DIR_COLORS, as color-ls and dircolors don't seem to read it! What I had to do was run dircolors, monitor its output, then copy this into my profile (/home/cw/.bash_profile). This is what finally did the trick: *** Excerpt from .bash_profile *** # set up color-ls LS_COLORS='di=1;34:bd=40;33;1:ln=1;36:cd=40;33;1:ex=1;32:*.tar=1;31:*.tgz=1;31:*.gz=1;31:' export LS_COLORS; LS_OPTIONS='--8bit --color=tty -F'; export LS_OPTIONS; alias ls='/usr/bin/color-ls $LS_OPTIONS '; alias dir='/usr/bin/color-ls $LS_OPTIONS --format=vertical'; alias vdir='/usr/bin/color-ls $LS_OPTIONS --format=long'; alias d=dir; alias v=vdir; Of course, for all I know this could the *old* way of doing things, but it works! Now I'm happy. Many thanks to all who responded. Cheers, Chris
Debian Color-ls Command?
This may be one for the Debian FAQ--apologies in advance if you've been there before--but I haven't seen an answer to it yet. I switched from Slackware (2.3) to Debian just a couple of days ago, and can't seem to get color (that's *colour* here in the UK) listings by default. Simply typing "ls" gives me the standard white on black, but I'd really like to be able to distinguish at a glance between files and directories etc. Using the "color-ls -o" command is the only way I can achieve this, and even then the colors are ugly defaults, ignoring the settings in /etc/DIR_COLORS. (These dircolors settings are displayed verbosely on log in, by the way.) So far I've installed the base package, basic TCP/networking, GCC and so on, ane everything's gone without a hitch. Checking the package details in Dselect, it doesn't seem that color-ls is dependent on anything I haven't already installed. I may be overlooking something obvious, but are there any settings/files I need to edit to get what I want? Color's the only thing I'm missing since switching from Slackware. In everything else, I'm delighted. Thanks in advance for any help you can give. Cheers, Chris