From 433f56091f6f9db4d1540d0d4c0b98bf57da466b Mon Sep 17 00:00:00 2001 From: David Fries Date: Mon, 26 Dec 2011 16:54:40 -0600 Subject: [PATCH] (disabled) ls dir now red not dark blue on black Disabled to avoid changing the default and blue on white works. --- debian/patches/ls_color_red.patch | 11 +++++++++++ debian/patches/series | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 debian/patches/ls_color_red.patch diff --git a/debian/patches/ls_color_red.patch b/debian/patches/ls_color_red.patch new file mode 100644 index 0000000..d5d4e68 --- /dev/null +++ b/debian/patches/ls_color_red.patch @@ -0,0 +1,11 @@ +--- busybox-1.19.3.orig/coreutils/ls.c ++++ busybox-1.19.3/coreutils/ls.c +@@ -395,7 +395,7 @@ + */ + #define COLOR(mode) ( \ + /*un fi chr - dir - blk - file - link - sock - - exe */ \ +- "\037\043\043\045\042\045\043\043\000\045\044\045\043\045\045\040" \ ++ "\037\043\043\045\037\045\043\043\000\045\044\045\043\045\045\040" \ + [TYPEINDEX(mode)]) + /* Select normal (0) [actually "reset all"] or bold (1) + * (other attributes are 2:dim 4:underline 5:blink 7:reverse, diff --git a/debian/patches/series b/debian/patches/series index 3a98367..e3823d0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -26,6 +26,11 @@ hotfixes/busybox-1.20.1-mke2fs.patch hotfixes/busybox-1.20.1-ps.patch hotfixes/busybox-1.20.1-tar.patch +# Dark blue on black is nearly impossible to read, use red. +# Leaving this commented out as dark blue on white is fine, and there isn't any +# way to know which case it is. +#ls_color_red.patch + #Patched pulled from busybox git patches-backports/0001-backport-vi-save-restore-screen-upon-invocation.patch -- 1.7.9.5