<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemctl: Make default output monochrome. Add option --color like in GNU ls(1)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90464">90464</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemctl: Make default output monochrome. Add option --color like in GNU ls(1)
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jari.aalto@cante.net
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>The standard output of systemctl(1) is in color. This is problem with accessing
HOSTs from terminals and connections (like Phone sshd, etc.) that do not
support color.
It would be preferable to display output in plain monochrome without ANSI color
codes and have separate option --color to enable color in output. This would be
similar to what e.g. GNU ls(1) does:
Using color to distinguish file types is disabled both by default and
with --color=never. With --color=auto, ls emits color codes only when
standard output is connected to a terminal. The LS_COLORS environment
variable can change the settings.
The program could also read environment variable SYSTEMCTL_OPTIONS where users
culd add the "--color" option as needed.
Ref:
"systemctl(1) please add option / make nocolor the deafult output"
<a href="http://bugs.debian.org/785350">http://bugs.debian.org/785350</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>