[Bug 5546] less and systemctl are incompatible with each other

bugzilla at busybox.net bugzilla at busybox.net
Thu May 16 05:53:43 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=5546

--- Comment #2 from Jonathan Liu <net147 at gmail.com> 2013-05-16 05:53:05 UTC ---
This can be reproduced with:
systemctl --failed

Which outputs:
[[1;31m0 loaded units listed.[[0m Pass --all to see loaded but inactive units,
too.
To show all installed unit files use 'systemctl list-unit-files'.

The systemctl command invokes less with no arguments (unless you pass
--no-pager) and includes ANSI color escape sequences in its output to less. The
less command escapes character 27 in the escape sequences as it is
non-printable.

Similar behavior can be observed with: ls --color / | less

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list