FS#19365 - [tcsh] giving weird error...

Attached to Project: Arch Linux
Opened by ajk (ajk) - Wednesday, 05 May 2010, 10:49 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 09 June 2010, 18:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

tcsh can't be used as a shell, it gives the following error: Unknown colorls variable `mh'.

Additional info:
* tcsh-6.17.00-1
* default install

Steps to reproduce:
- just install from repo's
- run tcsh from other shell

Solution:
Edit tcsh-6.17.00-ls-colors-var.patch:


--- tw.color.c.orig 2009-07-27 01:45:38.000000000 -0400
+++ tw.color.c 2009-07-27 01:47:55.000000000 -0400
@@ -86,6 +86,10 @@
VAR(NOS, "ow", ""), /* Other writable dir (o+w) but not sticky */
VAR(NOS, "st", ""), /* Sticky dir (+t) but not other writable */
VAR(NOS, "rs", "0"), /* Reset to normal color */
+ VAR(NOS, "hl", ""), /* Regular file with more than one link */
+ VAR(NOS, "ca", ""), /* File with capability */
+ VAR(NOS, "mh", ""), /* MULTIHARDLINK */
+ VAR(NOS, "cl", ""), /* CLRTOEOL */
};

enum FileType {

This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 09 June 2010, 18:19 GMT
Reason for closing:  Won't implement
Comment by Andrea Scarpino (BaSh) - Wednesday, 09 June 2010, 16:14 GMT
works for me. Also neither gentoo, debian or others are using this patch. Where did you get it?
Comment by ajk (ajk) - Wednesday, 09 June 2010, 16:28 GMT
I found a similar problem and a patch for it, so I made that patch working for me :)

Is it in the official package already?
Comment by Andrea Scarpino (BaSh) - Wednesday, 09 June 2010, 16:32 GMT
no, it's not because I installed tcsh and run it, and I got none weird error
Comment by ajk (ajk) - Wednesday, 09 June 2010, 18:09 GMT
Well I did get a weird error, so I fixed it.. If you don't have the same problem don't use it.

Loading...