<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:freedesktop-zgkao@q33.us" title="Rob Nagler <freedesktop-zgkao@q33.us>"> <span class="fn">Rob Nagler</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - RFE: add option to optionally turn of color output in systemd tools"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64737">bug 64737</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - RFE: add option to optionally turn of color output in systemd tools"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64737#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - RFE: add option to optionally turn of color output in systemd tools"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64737">bug 64737</a>
              from <span class="vcard"><a class="email" href="mailto:freedesktop-zgkao@q33.us" title="Rob Nagler <freedesktop-zgkao@q33.us>"> <span class="fn">Rob Nagler</span></a>
</span></b>
        <pre>Thank you for fixing this, but I do have a problem with the solution.

Today, I finally got fed up with systemctl saying "WARNING: terminal is not
fully functional" even though I already know that, having set $TERM to "dumb"
in my rc file. One could argue that error is the fault of less, but
systemctl/etc. also should respect $TERM, And, while it is handling the case of
no color, it shouldn't call less unless $PAGER or $SYSTEMD_PAGER is set
explicitly.

It is unreasonable for users to have to discover and to configure Yet Another
Environment Variable[1] when $TERM is set correctly to dumb, which has been a
de facto standard on Unix since 1978.

In my particular case, I use Emacs shells (not terminals) for system
interactions. There are, of course, plenty of other reasons programs should
respect $TERM. The primary one being: It's correct. :)

[1] <a href="http://www.joelonsoftware.com/uibook/chapters/fog0000000059.html">http://www.joelonsoftware.com/uibook/chapters/fog0000000059.html</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>