GNU bug report logs - #12505
Unknown colorls variable `rs'

Previous Next

Package: coreutils;

Reported by: Rihan Haque <rihanphys <at> gmail.com>

Date: Mon, 24 Sep 2012 18:01:01 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12505 in the body.
You can then email your comments to 12505 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#12505; Package coreutils. (Mon, 24 Sep 2012 18:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rihan Haque <rihanphys <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 24 Sep 2012 18:01:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rihan Haque <rihanphys <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Unknown colorls variable `rs'
Date: Mon, 24 Sep 2012 23:16:58 +0530
[Message part 1 (text/plain, inline)]
Hi,

I am using a computing cluster to run my jobs which uses Unix system.
When I submit jobs (using *.csh script) I get following error:
Unknown colorls variable `rs'
in the out put log file.

Could you please suggest a remedy?


Thanks
-- 
    With regards
*
 Md. Rihan Haque,*
JRF, VECC, Kolkata,
          INDIA
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12505; Package coreutils. (Mon, 24 Sep 2012 18:45:01 GMT) Full text and rfc822 format available.

Message #8 received at 12505 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Rihan Haque <rihanphys <at> gmail.com>
Cc: 12505 <at> debbugs.gnu.org
Subject: Re: bug#12505: Unknown colorls variable `rs'
Date: Mon, 24 Sep 2012 19:42:11 +0100
tag 12505 + notabug
close 12505

On 09/24/2012 06:46 PM, Rihan Haque wrote:
> Hi,
>
> I am using a computing cluster to run my jobs which uses Unix system.
> When I submit jobs (using *.csh script) I get following error:
> Unknown colorls variable `rs'
> in the out put log file.
>
> Could you please suggest a remedy?

I think you may be setting LSCOLORS up with
coreutils specific colors syntax.

You want to restrict such syntax to the
LS_COLORS variable (note the _).

For a script that abstracts away from all
these differences on various platforms, see:
http://www.pixelbeat.org/scripts/l

cheers,
Pádraig.




Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Mon, 24 Sep 2012 18:45:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 12505 <at> debbugs.gnu.org and Rihan Haque <rihanphys <at> gmail.com> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Mon, 24 Sep 2012 18:45:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#12505; Package coreutils. (Mon, 24 Sep 2012 18:54:02 GMT) Full text and rfc822 format available.

Message #15 received at 12505-done <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: Rihan Haque <rihanphys <at> gmail.com>
Cc: 12505-done <at> debbugs.gnu.org
Subject: Re: bug#12505: Unknown colorls variable `rs'
Date: Mon, 24 Sep 2012 12:51:09 -0600
[Message part 1 (text/plain, inline)]
tag 12505 notabug
thanks

On 09/24/2012 11:46 AM, Rihan Haque wrote:
> Hi,
> 
> I am using a computing cluster to run my jobs which uses Unix system.
> When I submit jobs (using *.csh script) I get following error:
> Unknown colorls variable `rs'
> in the out put log file.

That message is coming from tcsh, not coreutils.

> 
> Could you please suggest a remedy?

Don't use .csh scripts?
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

Beyond that, all I can suggest is to either:
1) change whatever input file you feed to dircolors (several distros let
you customize things in ~/.dircolors), until you omit whatever part of
that file is making dircolors generate the 'rs' designation that tcsh
doesn't like
2) hand-edit $LS_COLORS in your environment to manually omit that portion
3) file a bug report against your distro's packaging of tcsh to get them
to shut up tcsh's stupid message.  It's a bit of a shame that tcsh's
built-in 'ls' understands only a subset of LS_COLORS that coreutils' ls
understands, yet verbally complains about what it doesn't recognize.

At any rate, since this is not a bug in coreutils, I'm closing the
associated bug report, although you should feel free to continue on this
thread if you have more questions or comments.

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Oct 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.