Add new colorls variable

This commit is contained in:
vcrhonek 2009-08-26 15:06:48 +00:00
parent 45575d5e80
commit 4d81496279
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up tcsh-6.17.00/tw.color.c_old tcsh-6.17.00/tw.color.c
--- tcsh-6.17.00/tw.color.c_old 2009-08-26 13:29:05.000000000 +0200
+++ tcsh-6.17.00/tw.color.c 2009-08-26 13:52:51.000000000 +0200
@@ -88,6 +88,8 @@ static Variable variables[] = {
VAR(NOS, "rs", "0"), /* Reset to normal color */
VAR(NOS, "ca", ""), /* file with capability */
VAR(NOS, "hl", ""), /* Hardlink */
+ VAR(NOS, "mh", ""), /* MULTIHARDLINK */
+ VAR(NOS, "cl", ""), /* CLRTOEOL */
};
enum FileType {

View File

@ -3,7 +3,7 @@
Summary: An enhanced version of csh, the C shell Summary: An enhanced version of csh, the C shell
Name: tcsh Name: tcsh
Version: 6.17 Version: 6.17
Release: 2%{?dist} Release: 3%{?dist}
License: BSD License: BSD
Group: System Environment/Shells Group: System Environment/Shells
Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.00.tar.gz Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.00.tar.gz
@ -17,6 +17,7 @@ Patch8: tcsh-6.14.00-syntax.patch
Patch9: tcsh-6.13.00-memoryuse.patch Patch9: tcsh-6.13.00-memoryuse.patch
Patch11: tcsh-6.14.00-order.patch Patch11: tcsh-6.14.00-order.patch
Patch12: tcsh-6.15.00-rs-color.patch Patch12: tcsh-6.15.00-rs-color.patch
Patch13: tcsh-6.17.00-mh-color.patch
Provides: csh = %{version} Provides: csh = %{version}
Requires(post): grep Requires(post): grep
Requires(postun): coreutils, grep Requires(postun): coreutils, grep
@ -44,6 +45,7 @@ like syntax.
%patch9 -p1 -b .memoryuse %patch9 -p1 -b .memoryuse
%patch11 -p1 -b .order %patch11 -p1 -b .order
%patch12 -p1 -b .rs-color %patch12 -p1 -b .rs-color
%patch13 -p1 -b .mh-color
for i in Fixes WishList; do for i in Fixes WishList; do
iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \ iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \
@ -117,6 +119,10 @@ fi
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%changelog %changelog
* Wed Aug 26 2009 Vitezslav Crhonek <vcrhonek@redhat.com> - 6.17-3
- Add new colorls variable
Resolves: #518808
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.17-2 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.17-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild