On 01/29/2015 05:56 AM, Moore, Thomas (FtWorth) wrote:

Hello,

In my image, I’ve included systemd. I’ve noticed that when running the systemctl command, the shell (/bin/sh) is not processing the color escape codes. Here’s an example of what it looks like:

[[1;39m82 loaded units listed.[[0m Pass –all to see loaded but inactive units, too.

Any suggestions on how I can either get the shell to process the escape codes or prevent systemctl from generating them?

Thanks,

*Thomas*




1. Install 'less'
2. append '--no-pager' to commands

There's related a bug on bugzilla.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5723

Regards,
Chen Qi
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to