Re: tty[1-6]: colors a negative accessibility/usability trend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 15, 2015 at 12:38:32PM -0500, Dale R. Worley wrote:
> Bruce Dubbs <bruce.dubbs@xxxxxxxxx> writes:
> > Why not use the LS_COLORS environment variable used by coreutils' dircolors? 
> > Does util-linux need to create something different?

because it's absolutely inelegant solution

 echo $LS_COLORS | wc --bytes
 1710

> The main deficiency of terminal-colors.d is that it's system-wide.  But
> I see this in a blog:
> 
>     $HOME/.config/terminal-colors.d overrides the global setting

it's already implemented.

 http://man7.org/linux/man-pages/man5/terminal-colors.d.5.html

> You also want to define an environment variable to override *that*,
> e.g., files in $UTIL_LINUX_TERMINAL_COLORS override the ones in
> $HOME/.config/terminal-colors.d -- that allows you to set up custom
> environments for particular trees of processes by creating a suitable
> colors directory and setting UTIL_LINUX_TERMINAL_COLORS.

for now it follows 

       $XDG_CONFIG_HOME/terminal-colors.d
       $HOME/.config/terminal-colors.d
       /etc/terminal-colors.d


 Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux