Netdev List
 help / color / mirror / Atom feed
* [iproute PATCH 0/4] A bunch of fixes regarding colored output
@ 2018-08-15  9:06 Phil Sutter
  2018-08-15  9:06 ` [iproute PATCH 1/4] tc: Fix typo in check for " Phil Sutter
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Phil Sutter @ 2018-08-15  9:06 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Till Maas

This series contains fixes for conditionally colored output in patches 1
and 2. Patch 3 merges the common conditionals from ip, tc and bridge
tools. Patch 4 then adds a further restriction to colored output to
prevent garbled output when redirecting into a file.

Phil Sutter (4):
  tc: Fix typo in check for colored output
  bridge: Fix check for colored output
  Merge common code for conditionally colored output
  lib: Enable colored output only for TTYs

 bridge/bridge.c |  5 ++---
 include/color.h |  1 +
 ip/ip.c         |  3 +--
 lib/color.c     | 10 ++++++++++
 tc/tc.c         |  3 +--
 5 files changed, 15 insertions(+), 7 deletions(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [iproute PATCH v2 0/4] A bunch of fixes regarding colored output
@ 2018-08-15 16:21 Phil Sutter
  2018-08-15 16:21 ` [iproute PATCH 1/4] tc: Fix typo in check for " Phil Sutter
  0 siblings, 1 reply; 9+ messages in thread
From: Phil Sutter @ 2018-08-15 16:21 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Till Maas, David Ahern

This series contains fixes for conditionally colored output in patches 1
and 2. Patch 3 merges the common conditionals from ip, tc and bridge
tools. Patch 4 then adds a further restriction to colored output to
prevent garbled output when redirecting into a file.

Changes since v1:
- Adjusted last patch according to feedback. Details given in changelog
  of that patch.

Phil Sutter (4):
  tc: Fix typo in check for colored output
  bridge: Fix check for colored output
  Merge common code for conditionally colored output
  lib: Enable colored output only for TTYs

 bridge/bridge.c   |  5 ++---
 include/color.h   |  1 +
 ip/ip.c           |  3 +--
 lib/color.c       | 13 +++++++++++++
 man/man8/bridge.8 |  5 ++++-
 man/man8/ip.8     |  5 ++++-
 man/man8/tc.8     |  5 ++++-
 tc/tc.c           |  3 +--
 8 files changed, 30 insertions(+), 10 deletions(-)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-15 19:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-15  9:06 [iproute PATCH 0/4] A bunch of fixes regarding colored output Phil Sutter
2018-08-15  9:06 ` [iproute PATCH 1/4] tc: Fix typo in check for " Phil Sutter
2018-08-15  9:06 ` [iproute PATCH 2/4] bridge: Fix " Phil Sutter
2018-08-15  9:06 ` [iproute PATCH 3/4] Merge common code for conditionally " Phil Sutter
2018-08-15  9:06 ` [iproute PATCH 4/4] lib: Enable colored output only for TTYs Phil Sutter
2018-08-15 14:40   ` David Ahern
2018-08-15 15:04     ` Stephen Hemminger
2018-08-15 15:34       ` David Laight
  -- strict thread matches above, loose matches on Subject: below --
2018-08-15 16:21 [iproute PATCH v2 0/4] A bunch of fixes regarding colored output Phil Sutter
2018-08-15 16:21 ` [iproute PATCH 1/4] tc: Fix typo in check for " Phil Sutter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox