Moving on from net-tools
Moving on from net-tools
Posted Jan 6, 2017 11:29 UTC (Fri) by Yenya (subscriber, #52846)In reply to: Moving on from net-tools by xav
Parent article: Moving on from net-tools
How can I adjust the colors to terminals with black background? (I.e. something similar to what echo 'set bg=dark' >> ~/.vimrc does for vim).
Posted Jan 6, 2017 11:58 UTC (Fri)
by xav (guest, #18536)
[Link]
Posted Jan 10, 2017 16:53 UTC (Tue)
by nix (subscriber, #2304)
[Link]
Posted Mar 6, 2017 8:49 UTC (Mon)
by pevik (subscriber, #112535)
[Link]
Moving on from net-tools
Moving on from net-tools
See recently merged patch
https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=54eab4c79a6086f4d1e15ce228163514d2d2415b.
Try it:
Moving on from net-tools
COLORFGBG='15;0' ip -c a
Konsole, rxvt and rxvt-unicode set environment variable COLORFGBG
out of box. For others (gnome-terminal, xterm) you have to set it manually or with a help with xtermcontrol
.