From: David Fries Date: Mon, 26 Dec 2011 22:54:40 +0000 (-0600) Subject: (disabled) ls dir now red not dark blue on black X-Git-Tag: 1.20.2power1~11 X-Git-Url: http://vcs.maemo.org/git/?p=busybox-power;a=commitdiff_plain;h=433f56091f6f9db4d1540d0d4c0b98bf57da466b (disabled) ls dir now red not dark blue on black Disabled to avoid changing the default and blue on white works. --- 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